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

am: 66f363dbff

Change-Id: I5f14565e0ebd1393666199263894764db722617c
This commit is contained in:
Dan Willemsen 2019-03-21 20:28:37 -07:00 committed by android-build-merger
commit 2039c8ebfb
1 changed files with 1 additions and 0 deletions

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