Merge "Revert "mk2rbc: temporarily bump matching paths limit to 155. "" am: 5950b039b3 am: 88d9189d1b am: a002179132

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2620713

Change-Id: I2df8c29843969d0d79d5dc1cae24196159952b59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-06-09 05:02:20 +00:00
committed by Automerger Merge Worker

View File

@@ -870,7 +870,7 @@ func (ctx *parseContext) handleSubConfig(
} }
// Safeguard against $(call inherit-product,$(PRODUCT_PATH)) // Safeguard against $(call inherit-product,$(PRODUCT_PATH))
const maxMatchingFiles = 155 // temporarily increased to 155 for b/284854738 const maxMatchingFiles = 150
if len(matchingPaths) > maxMatchingFiles { if len(matchingPaths) > maxMatchingFiles {
return []starlarkNode{ctx.newBadNode(v, "there are >%d files matching the pattern, please rewrite it", maxMatchingFiles)} return []starlarkNode{ctx.newBadNode(v, "there are >%d files matching the pattern, please rewrite it", maxMatchingFiles)}
} }