Merge "Move bazel.Properties to a BazelModuleBase"

This commit is contained in:
Treehugger Robot
2021-02-24 05:53:25 +00:00
committed by Gerrit Code Review
9 changed files with 76 additions and 23 deletions

View File

@@ -118,7 +118,7 @@ func BazelObjectFactory() android.Module {
// Bazel equivalent target, plus any necessary include deps for the cc_object.
func ObjectBp2Build(ctx android.TopDownMutatorContext) {
m, ok := ctx.Module().(*Module)
if !ok || !m.Properties.Bazel_module.Bp2build_available {
if !ok || !m.ConvertWithBp2build() {
return
}