summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDan Shi <dshi@google.com>2020-01-06 15:47:57 -0800
committerDan Shi <dshi@google.com>2020-01-06 16:21:10 -0800
commit2468d015fefb53337f39414e7ab5a951a57a0885 (patch)
tree1a57a80706f2543a621ab6e9d028125624aeabf0 /python
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 'python')
-rw-r--r--python/androidmk.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/androidmk.go b/python/androidmk.go
index aae7cedc9..8e8e8efbf 100644
--- a/python/androidmk.go
+++ b/python/androidmk.go
@@ -76,6 +76,10 @@ func (p *testDecorator) AndroidMk(base *Module, ret *android.AndroidMkData) {
p.testConfig.String())
}
}
+
+ if !BoolDefault(p.binaryProperties.Auto_gen_config, true) {
+ fmt.Fprintln(w, "LOCAL_DISABLE_AUTO_GENERATE_TEST_CONFIG := true")
+ }
})
base.subAndroidMk(ret, p.binaryDecorator.pythonInstaller)
}