summaryrefslogtreecommitdiff
path: root/rust/androidmk.go
diff options
context:
space:
mode:
author Dan Shi <dshi@google.com> 2020-01-06 15:47:57 -0800
committer Dan Shi <dshi@google.com> 2020-01-06 16:21:10 -0800
commit2468d015fefb53337f39414e7ab5a951a57a0885 (patch)
tree1a57a80706f2543a621ab6e9d028125624aeabf0 /rust/androidmk.go
parente602918294cdfdb50dd2e9f246808adae932b5ce (diff)
Pass auto_gen_config setting in Android.bp to makefile
Bug: none Test: local test with fuzzy_fastboot Change-Id: I2c62f6fb58737538ef9e1e9fcbe63e03dfa7ee91
Diffstat (limited to 'rust/androidmk.go')
-rw-r--r--rust/androidmk.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/androidmk.go b/rust/androidmk.go
index 2636d97f5..0fba739a2 100644
--- a/rust/androidmk.go
+++ b/rust/androidmk.go
@@ -99,6 +99,9 @@ func (test *testDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidM
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")
+ }
})
// TODO(chh): add test data with androidMkWriteTestData(test.data, ctx, ret)
}