Move bazel.Properties to a BazelModuleBase
This allows more direct access to the bazel label and whether the module is bp2build available. Test: go test * Change-Id: I23375835d20fa53d7d94127b2dc2d5bb20487bfb
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user