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
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user