Merge "Make the enabled property configurable" into aosp-main-future

This commit is contained in:
Cole Faust
2024-05-01 19:33:59 +00:00
committed by Android (Google) Code Review
53 changed files with 189 additions and 131 deletions

View File

@@ -119,7 +119,7 @@ func isModuleSupported(ctx android.SingletonContext, module android.Module) (*Mo
if !ok {
return nil, false
}
if !rModule.Enabled() {
if !rModule.Enabled(ctx) {
return nil, false
}
return rModule, true