Export cc_benchmark as NATIVE_TESTS to Make
This fixes some warnings on internal master where the compatibility suite logic didn't look at EXECUTABLES (it was checking for LOCAL_MODULE_CLASS == NATIVE_BENCHMARK, which doesn't exist). Test: Compare out/soong/Android-aosp_arm64.mk Test: Compare out/build-aosp_arm64.ninja Change-Id: Ibe3c40e81e26f4c4cb9fd5bea1619b94181764fb
This commit is contained in:
parent
d7cbea9990
commit
58a5c8b206
|
@ -203,6 +203,7 @@ func (binary *binaryDecorator) AndroidMk(ctx AndroidMkContext, ret *android.Andr
|
|||
|
||||
func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkData) {
|
||||
ctx.subAndroidMk(ret, benchmark.binaryDecorator)
|
||||
ret.Class = "NATIVE_TESTS"
|
||||
ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error {
|
||||
if len(benchmark.Properties.Test_suites) > 0 {
|
||||
fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
|
||||
|
|
Loading…
Reference in New Issue