aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-01-17 13:25:49 -0800
committerDan Willemsen <dwillemsen@google.com>2017-01-17 13:25:49 -0800
commit0fe72537187d45600d26e2978b3efa5531f14b59 (patch)
treee87422f72fdcdeeaf5c0964eaaa2a1e8b2d697b7 /cc
parent1a01e83725cabcef13941d3cc2216a32bd9ce851 (diff)
downloadbuild_soong-0fe72537187d45600d26e2978b3efa5531f14b59.tar.gz
build_soong-0fe72537187d45600d26e2978b3efa5531f14b59.tar.bz2
build_soong-0fe72537187d45600d26e2978b3efa5531f14b59.zip
Export cc_test as Make class NATIVE_TESTS
So that make can tell the difference. Bug: 32177952 Test: Diff build-aosp_arm64.ninja before/after Change-Id: Icd98ea5f5b4127bf84197c6b651a72708eec57f1
Diffstat (limited to 'cc')
-rw-r--r--cc/androidmk.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/androidmk.go b/cc/androidmk.go
index 380babcb..c0be1114 100644
--- a/cc/androidmk.go
+++ b/cc/androidmk.go
@@ -155,6 +155,7 @@ func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *androi
func (test *testBinary) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
ctx.subAndroidMk(ret, test.binaryDecorator)
+ ret.Class = "NATIVE_TESTS"
if Bool(test.Properties.Test_per_src) {
ret.SubName = "_" + test.binaryDecorator.Properties.Stem
}