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