From 30d48351be1fecf7c3a4b9a7fbc95198cd348169 Mon Sep 17 00:00:00 2001 From: Jingwen Chen Date: Mon, 29 May 2023 16:01:29 +0000 Subject: [PATCH] mk2rbc: temporarily bump matching paths limit to 155. It was 150, but an internal change bumped up the usage to 153. Temporarily increase it to fix build break. Bug: b/284854738 Change-Id: I23478f4c5333c5ef1ad344aadafe5803685c5d92 Test: abtd Test: treehugger --- mk2rbc/mk2rbc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk2rbc/mk2rbc.go b/mk2rbc/mk2rbc.go index 8225df60d..c0ae0c0fe 100644 --- a/mk2rbc/mk2rbc.go +++ b/mk2rbc/mk2rbc.go @@ -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)} }