Merge "rust: rust-project.json: Skip disabled modules" into main

This commit is contained in:
Treehugger Robot
2023-11-27 21:12:11 +00:00
committed by Gerrit Code Review

View File

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