diff options
author | 2024-05-01 20:02:36 +0000 | |
---|---|---|
committer | 2024-05-01 20:02:41 +0000 | |
commit | ed5276f0827915166e89b72bf26f7e65f68d2dd5 (patch) | |
tree | 87afdde2eda7687d2b50a801a0a93c7df194848a /java/bootclasspath.go | |
parent | 0e0d7490625c713bb71c254bd55129b0a30898a3 (diff) |
Revert "Make the enabled property configurable"
Revert submission 27162921-configurable_enabled_property
Reason for revert: Droid-monitor created revert due to Build breakage in b/338253720. Will be verifying through ABTD before submission.
Reverted changes: /q/submissionid:27162921-configurable_enabled_property
Change-Id: I2d144f9d297373a13a1190b173d10c966181ad84
Diffstat (limited to 'java/bootclasspath.go')
-rw-r--r-- | java/bootclasspath.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/bootclasspath.go b/java/bootclasspath.go index 77ddf5c05..c7dc3afae 100644 --- a/java/bootclasspath.go +++ b/java/bootclasspath.go @@ -127,10 +127,7 @@ func reportMissingVariationDependency(ctx android.BottomUpMutatorContext, variat // added by addDependencyOntoApexModulePair. func gatherApexModulePairDepsWithTag(ctx android.BaseModuleContext, tag blueprint.DependencyTag) []android.Module { var modules []android.Module - isActiveModulePred := func(module android.Module) bool { - return isActiveModule(ctx, module) - } - ctx.VisitDirectDepsIf(isActiveModulePred, func(module android.Module) { + ctx.VisitDirectDepsIf(isActiveModule, func(module android.Module) { t := ctx.OtherModuleDependencyTag(module) if t == tag { modules = append(modules, module) |