From 6158dfeb95a42abddbeb6e124bf9aa1e153d4ebe Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Tue, 23 Mar 2021 14:08:29 -0700 Subject: [PATCH] Remove obsolete comment on PrebuiltPostDepsMutator Test: N/A Change-Id: If01139ed361dd16022b50c503349d1d05282052b --- android/prebuilt.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/android/prebuilt.go b/android/prebuilt.go index 04864a1d0..ebccaa765 100644 --- a/android/prebuilt.go +++ b/android/prebuilt.go @@ -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()