aboutsummaryrefslogtreecommitdiffstats
path: root/python/python.go
diff options
context:
space:
mode:
authorNan Zhang <nanzhang@google.com>2017-07-20 17:43:37 -0700
committerNan Zhang <nanzhang@google.com>2017-09-05 17:31:24 -0700
commita3fc4ba733f566074cab3aa0fc6d477c380759ae (patch)
tree6ce3b5285d8844c2fca0f04d69f9d22f9310a9a9 /python/python.go
parentd4e641b6e941d8aeeebdb17786037931184dc0a2 (diff)
downloadandroid_build_soong-a3fc4ba733f566074cab3aa0fc6d477c380759ae.tar.gz
android_build_soong-a3fc4ba733f566074cab3aa0fc6d477c380759ae.tar.bz2
android_build_soong-a3fc4ba733f566074cab3aa0fc6d477c380759ae.zip
Add support for python_defaults modules
Test: python_test.go Change-Id: I2077414a5b06da5e660a1b48bfdb2eb926fb702f
Diffstat (limited to 'python/python.go')
-rw-r--r--python/python.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/python.go b/python/python.go
index d462af12..e63c26c4 100644
--- a/python/python.go
+++ b/python/python.go
@@ -109,6 +109,7 @@ type pathMapping struct {
type Module struct {
android.ModuleBase
+ android.DefaultableModuleBase
properties BaseProperties
@@ -194,6 +195,7 @@ func (p *Module) Init() android.Module {
}
android.InitAndroidArchModule(p, p.hod, p.multilib)
+ android.InitDefaultableModule(p)
return p
}