diff options
Diffstat (limited to 'cc/androidmk.go')
-rw-r--r-- | cc/androidmk.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/androidmk.go b/cc/androidmk.go index 988ebd4e3..ff88091d5 100644 --- a/cc/androidmk.go +++ b/cc/androidmk.go @@ -284,6 +284,9 @@ func (benchmark *benchmarkDecorator) AndroidMk(ctx AndroidMkContext, ret *androi fmt.Fprintln(w, "LOCAL_FULL_TEST_CONFIG :=", benchmark.testConfig.String()) } fmt.Fprintln(w, "LOCAL_NATIVE_BENCHMARK := true") + if !BoolDefault(benchmark.Properties.Auto_gen_config, true) { + fmt.Fprintln(w, "LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG := true") + } }) androidMkWriteTestData(benchmark.data, ctx, ret) @@ -304,6 +307,9 @@ func (test *testBinary) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkDa if test.testConfig != nil { fmt.Fprintln(w, "LOCAL_FULL_TEST_CONFIG :=", test.testConfig.String()) } + if !BoolDefault(test.Properties.Auto_gen_config, true) { + fmt.Fprintln(w, "LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG := true") + } }) androidMkWriteTestData(test.data, ctx, ret) |