Add support for python_defaults modules

Test: python_test.go
Change-Id: I2077414a5b06da5e660a1b48bfdb2eb926fb702f
This commit is contained in:
Nan Zhang
2017-07-20 17:43:37 -07:00
parent d4e641b6e9
commit a3fc4ba733
4 changed files with 89 additions and 5 deletions

View File

@@ -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
}