Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6158dfeb authored by Jaewoong Jung's avatar Jaewoong Jung
Browse files

Remove obsolete comment on PrebuiltPostDepsMutator

Test: N/A
Change-Id: If01139ed361dd16022b50c503349d1d05282052b
parent 4ca6752b
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -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()