build/make: set LOCAL_NATIVE_BENCHMARK for Google Benchmark Test
Set LOCAL_NATIVE_BENCHMARK to true. Then, build system can use it to auto generate the related Test config file of Google Benchmark Test Bug:74844131 Test: Use mm to rebuild any module in cc_benchmark Change-Id: I6a8f1ff78f7aec3f4eb17e218845f0cdf3f57f32
This commit is contained in:
@@ -243,6 +243,7 @@ func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *androi
|
||||
fmt.Fprintln(w, "LOCAL_COMPATIBILITY_SUITE :=",
|
||||
strings.Join(benchmark.Properties.Test_suites, " "))
|
||||
}
|
||||
fmt.Fprintln(w, "LOCAL_NATIVE_BENCHMARK := true")
|
||||
})
|
||||
|
||||
androidMkWriteTestData(benchmark.data, ctx, ret)
|
||||
|
Reference in New Issue
Block a user