summaryrefslogtreecommitdiff
path: root/android/makevars.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/makevars.go')
-rw-r--r--android/makevars.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/makevars.go b/android/makevars.go
index 86f4b424b..003a9df32 100644
--- a/android/makevars.go
+++ b/android/makevars.go
@@ -234,7 +234,7 @@ func (s *makeVarsSingleton) GenerateBuildActions(ctx SingletonContext) {
}
ctx.VisitAllModules(func(m Module) {
- if provider, ok := m.(ModuleMakeVarsProvider); ok {
+ if provider, ok := m.(ModuleMakeVarsProvider); ok && m.Enabled() {
mctx := &makeVarsContext{
SingletonContext: ctx,
}