Merge "Tell make that sh_test is a NATIVE_TEST"

am: 7446606eeb

Change-Id: I1c041820479d0cc2bc090913e6ad7077d49fddae
This commit is contained in:
Dan Willemsen
2019-03-21 20:08:31 -07:00
committed by android-build-merger

View File

@@ -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, " "))