summaryrefslogtreecommitdiff
path: root/android/base_module_context.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/base_module_context.go')
-rw-r--r--android/base_module_context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/base_module_context.go b/android/base_module_context.go
index 296352057..c5fe58578 100644
--- a/android/base_module_context.go
+++ b/android/base_module_context.go
@@ -325,7 +325,7 @@ func (b *baseModuleContext) validateAndroidModule(module blueprint.Module, tag b
return nil
}
- if !aModule.Enabled(b) {
+ if !aModule.Enabled() {
if t, ok := tag.(AllowDisabledModuleDependency); !ok || !t.AllowDisabledModuleDependency(aModule) {
if b.Config().AllowMissingDependencies() {
b.AddMissingDependencies([]string{b.OtherModuleName(aModule)})