Merge "Tell make that sh_test is a NATIVE_TEST" am: 7446606eeb

am: 4204e66c4c

Change-Id: I6430c61b005bafac6310461b9fc6bf8f04a3cfb6
This commit is contained in:
Dan Willemsen 2019-03-21 20:16:29 -07:00 committed by android-build-merger
commit 66f363dbff

View file

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