Remove obsolete comment on PrebuiltPostDepsMutator

Test: N/A
Change-Id: If01139ed361dd16022b50c503349d1d05282052b
This commit is contained in:
Jaewoong Jung 2021-03-23 14:08:29 -07:00
parent 4ca6752b21
commit 6158dfeb95
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 // PrebuiltPostDepsMutator replaces dependencies on the source module with dependencies on the
// source module with dependencies on the prebuilt when both modules exist and // prebuilt when both modules exist and the prebuilt should be used. When the prebuilt should not
// the prebuilt should be used. When the prebuilt should not be used, disable // be used, disable installing it.
// installing it. Secondly, it also adds a sourcegroup to any filegroups found
// in the prebuilt's 'Srcs' property.
func PrebuiltPostDepsMutator(ctx BottomUpMutatorContext) { func PrebuiltPostDepsMutator(ctx BottomUpMutatorContext) {
if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil { if m, ok := ctx.Module().(PrebuiltInterface); ok && m.Prebuilt() != nil {
p := m.Prebuilt() p := m.Prebuilt()