summaryrefslogtreecommitdiff
path: root/python/defaults.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/defaults.go')
-rw-r--r--python/defaults.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/python/defaults.go b/python/defaults.go
index dba23a729..c54e7d059 100644
--- a/python/defaults.go
+++ b/python/defaults.go
@@ -31,15 +31,12 @@ func (d *Defaults) GenerateAndroidBuildActions(ctx android.ModuleContext) {
}
func defaultsFactory() android.Module {
- return DefaultsFactory()
-}
-
-func DefaultsFactory(props ...interface{}) android.Module {
module := &Defaults{}
- module.AddProperties(props...)
module.AddProperties(
&BaseProperties{},
+ &android.ProtoProperties{},
+ &BinaryProperties{},
)
android.InitDefaultsModule(module)