Update docs for ReplaceDependencies[If] am: 86771326fe
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3070705 Change-Id: I89b7a338eb20eff2034d3b4acc698bbbb21aa299 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -293,15 +293,14 @@ type BottomUpMutatorContext interface {
|
|||||||
// WalkDeps, etc.
|
// WalkDeps, etc.
|
||||||
AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module)
|
AddInterVariantDependency(tag blueprint.DependencyTag, from, to blueprint.Module)
|
||||||
|
|
||||||
// ReplaceDependencies replaces all dependencies on the identical variant of the module with the
|
// ReplaceDependencies finds all the variants of the module with the specified name, then
|
||||||
// specified name with the current variant of this module. Replacements don't take effect until
|
// replaces all dependencies onto those variants with the current variant of this module.
|
||||||
// after the mutator pass is finished.
|
// Replacements don't take effect until after the mutator pass is finished.
|
||||||
ReplaceDependencies(string)
|
ReplaceDependencies(string)
|
||||||
|
|
||||||
// ReplaceDependencies replaces all dependencies on the identical variant of the module with the
|
// ReplaceDependenciesIf finds all the variants of the module with the specified name, then
|
||||||
// specified name with the current variant of this module as long as the supplied predicate returns
|
// replaces all dependencies onto those variants with the current variant of this module
|
||||||
// true.
|
// as long as the supplied predicate returns true.
|
||||||
//
|
|
||||||
// Replacements don't take effect until after the mutator pass is finished.
|
// Replacements don't take effect until after the mutator pass is finished.
|
||||||
ReplaceDependenciesIf(string, blueprint.ReplaceDependencyPredicate)
|
ReplaceDependenciesIf(string, blueprint.ReplaceDependencyPredicate)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user