mk2rbc: temporarily bump matching paths limit to 155. am: 30d48351be am: 30cf4bc625 am: b03baed0fa am: 25456145e7 am: ee1984002d

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

Change-Id: I97d52c7e9a2a012718b0c8715be87593763b7831
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jingwen Chen
2023-05-30 05:48:19 +00:00
committed by Automerger Merge Worker

View File

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