summaryrefslogtreecommitdiff
path: root/android/defaults.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/defaults.go')
-rw-r--r--android/defaults.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/defaults.go b/android/defaults.go
index d2b351d04..0953f9505 100644
--- a/android/defaults.go
+++ b/android/defaults.go
@@ -173,6 +173,10 @@ func (d *DefaultsModuleBase) productVariableProperties() interface{} {
func (d *DefaultsModuleBase) GenerateAndroidBuildActions(ctx ModuleContext) {
}
+// ConvertWithBp2build to fulfill Bazelable interface; however, at this time defaults module are
+// *NOT* converted with bp2build
+func (defaultable *DefaultsModuleBase) ConvertWithBp2build(ctx TopDownMutatorContext) {}
+
func InitDefaultsModule(module DefaultsModule) {
commonProperties := &commonProperties{}
@@ -208,7 +212,6 @@ func InitDefaultsModule(module DefaultsModule) {
// The applicable licenses property for defaults is 'licenses'.
setPrimaryLicensesProperty(module, "licenses", &commonProperties.Licenses)
- base.module = module
}
var _ Defaults = (*DefaultsModuleBase)(nil)