Merge "Remove obsolete comment on PrebuiltPostDepsMutator" am: d411f069ff am: 96d2fbe9d9 am: 3c334d1de8

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1650858

Change-Id: I9b0e38d7e178eff9ab4e1465e730b8a5fd3d6142
This commit is contained in:
Treehugger Robot 2021-03-25 21:40:48 +00:00 committed by Automerger Merge Worker
commit 7e7884b4d6
1 changed files with 3 additions and 5 deletions

View File

@ -272,11 +272,9 @@ func PrebuiltSelectModuleMutator(ctx TopDownMutatorContext) {
}
}
// PrebuiltPostDepsMutator does two operations. It replace dependencies on the
// source module with dependencies on the prebuilt when both modules exist and
// the prebuilt should be used. When the prebuilt should not be used, disable
// installing it. Secondly, it also adds a sourcegroup to any filegroups found
// in the prebuilt's 'Srcs' property.
// PrebuiltPostDepsMutator replaces dependencies on the source module with dependencies on the
// prebuilt when both modules exist and the prebuilt should be used. When the prebuilt should not
// be used, disable installing it.
func PrebuiltPostDepsMutator(ctx BottomUpMutatorContext) {
if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil {
p := m.Prebuilt()