aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-03-21 20:28:37 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-03-21 20:28:37 -0700
commit2039c8ebfbabe4228f5e284707362f8eec7eddaf (patch)
tree7fae3caa687b5e283455418c80b1bd603345f2fd /android
parent8338297f77f24dc7a7822143986856e8057289eb (diff)
parent66f363dbffbc399bf923a20854fe053487dbdd32 (diff)
downloadbuild_soong-2039c8ebfbabe4228f5e284707362f8eec7eddaf.tar.gz
build_soong-2039c8ebfbabe4228f5e284707362f8eec7eddaf.tar.bz2
build_soong-2039c8ebfbabe4228f5e284707362f8eec7eddaf.zip
Merge "Tell make that sh_test is a NATIVE_TEST" am: 7446606eeb am: 4204e66c4c
am: 66f363dbff Change-Id: I5f14565e0ebd1393666199263894764db722617c
Diffstat (limited to 'android')
-rw-r--r--android/sh_binary.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/sh_binary.go b/android/sh_binary.go
index bee61ef4..cf415c56 100644
--- a/android/sh_binary.go
+++ b/android/sh_binary.go
@@ -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, " "))