Merge "bp2build: convert paths/module refs to Bazel label" am: b7eab01167
am: 6d5454d0f9
am: 595abf120a
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1564272 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I51fd926cdae810906a75ed132dc70fa2f2c74240
This commit is contained in:
@@ -249,12 +249,17 @@ func prebuiltApexExportedModuleName(ctx android.BottomUpMutatorContext, name str
|
||||
return name
|
||||
}
|
||||
|
||||
func (p *Prebuilt) DepsMutator(ctx android.BottomUpMutatorContext) {
|
||||
if err := p.properties.selectSource(ctx); err != nil {
|
||||
ctx.ModuleErrorf("%s", err)
|
||||
func prebuiltSelectSourceMutator(ctx android.BottomUpMutatorContext) {
|
||||
p, ok := ctx.Module().(*Prebuilt)
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
if err := p.properties.selectSource(ctx); err != nil {
|
||||
ctx.ModuleErrorf("%s", err)
|
||||
}
|
||||
}
|
||||
|
||||
func (p *Prebuilt) DepsMutator(ctx android.BottomUpMutatorContext) {
|
||||
// Add dependencies onto the java modules that represent the java libraries that are provided by
|
||||
// and exported from this prebuilt apex.
|
||||
for _, lib := range p.properties.Exported_java_libs {
|
||||
|
Reference in New Issue
Block a user