diff options
Diffstat (limited to 'python/defaults.go')
| -rw-r--r-- | python/defaults.go | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/python/defaults.go b/python/defaults.go index dba23a729..3dc5bc4d2 100644 --- a/python/defaults.go +++ b/python/defaults.go @@ -19,7 +19,7 @@ import ( ) func init() { - android.RegisterModuleType("python_defaults", defaultsFactory) + android.RegisterModuleType("python_defaults", DefaultsFactory) } type Defaults struct { @@ -30,16 +30,13 @@ type Defaults struct { func (d *Defaults) GenerateAndroidBuildActions(ctx android.ModuleContext) { } -func defaultsFactory() android.Module { - return DefaultsFactory() -} - -func DefaultsFactory(props ...interface{}) android.Module { +func DefaultsFactory() android.Module { module := &Defaults{} - module.AddProperties(props...) module.AddProperties( &BaseProperties{}, + &android.ProtoProperties{}, + &BinaryProperties{}, ) android.InitDefaultsModule(module) |