bp2build: convert paths/module refs to Bazel label
This currently expands all globs, still need to support converting glob syntax. Test: go build_conversion_test Test: GENERATE_BAZEL_FILES=true m nothing Test: m nothing Bug: 165114590 Change-Id: If7b26e8e663d17566fad9614ca87a8da1f095284
This commit is contained in:
@@ -436,7 +436,7 @@ func osMutator(bpctx blueprint.BottomUpMutatorContext) {
|
||||
// blueprint.BottomUpMutatorContext because android.BottomUpMutatorContext
|
||||
// filters out non-Soong modules. Now that we've handled them, create a
|
||||
// normal android.BottomUpMutatorContext.
|
||||
mctx := bottomUpMutatorContextFactory(bpctx, module, false)
|
||||
mctx := bottomUpMutatorContextFactory(bpctx, module, false, false)
|
||||
|
||||
base := module.base()
|
||||
|
||||
@@ -576,7 +576,7 @@ func archMutator(bpctx blueprint.BottomUpMutatorContext) {
|
||||
// blueprint.BottomUpMutatorContext because android.BottomUpMutatorContext
|
||||
// filters out non-Soong modules. Now that we've handled them, create a
|
||||
// normal android.BottomUpMutatorContext.
|
||||
mctx := bottomUpMutatorContextFactory(bpctx, module, false)
|
||||
mctx := bottomUpMutatorContextFactory(bpctx, module, false, false)
|
||||
|
||||
base := module.base()
|
||||
|
||||
|
Reference in New Issue
Block a user