Merge "Ignore license and similar dependencies of prebuilt_apex/apex_set" am: 49387d5468
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1748052 Change-Id: I0816a42b23e10b0acc99723706fc8af292c288a6
This commit is contained in:
@@ -376,6 +376,12 @@ func (p *prebuiltCommon) apexInfoMutator(mctx android.TopDownMutatorContext) {
|
||||
}
|
||||
}
|
||||
|
||||
// Ignore any modules that do not implement ApexModule as they cannot have an APEX specific
|
||||
// variant.
|
||||
if _, ok := child.(android.ApexModule); !ok {
|
||||
return false
|
||||
}
|
||||
|
||||
// Strip off the prebuilt_ prefix if present before storing content to ensure consistent
|
||||
// behavior whether there is a corresponding source module present or not.
|
||||
depName = android.RemoveOptionalPrebuiltPrefix(depName)
|
||||
|
Reference in New Issue
Block a user