summaryrefslogtreecommitdiff
path: root/python/androidmk.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/androidmk.go')
-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)
}