Merge "Tell make that sh_test is a NATIVE_TEST"
am: 7446606eeb
Change-Id: I1c041820479d0cc2bc090913e6ad7077d49fddae
This commit is contained in:
@@ -139,6 +139,7 @@ func (s *ShBinary) AndroidMk() AndroidMkData {
|
|||||||
|
|
||||||
func (s *ShTest) AndroidMk() AndroidMkData {
|
func (s *ShTest) AndroidMk() AndroidMkData {
|
||||||
data := s.ShBinary.AndroidMk()
|
data := s.ShBinary.AndroidMk()
|
||||||
|
data.Class = "NATIVE_TESTS"
|
||||||
data.Extra = append(data.Extra, func(w io.Writer, outputFile Path) {
|
data.Extra = append(data.Extra, func(w io.Writer, outputFile Path) {
|
||||||
fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
|
fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
|
||||||
strings.Join(s.testProperties.Test_suites, " "))
|
strings.Join(s.testProperties.Test_suites, " "))
|
||||||
|
Reference in New Issue
Block a user