Skip to content

Commit f1b4748

Browse files
christollidayfacebook-github-bot
authored andcommittedAug 12, 2021
Match native*.js and Native*.js srcs
Summary: Globbing is case sensitive only when eden is enabled. This causes Android cold builds to regress by 2 minutes because a large number of react native targets have to be built and fetched. This change causes srcs to match with and without eden. Changelog: [Internal] Reviewed By: cute-jumper Differential Revision: D30266076 fbshipit-source-id: 39ac2cbfa146fcdda1d8d3a6f40b0ec41bfb3c2f
1 parent 18132c1 commit f1b4748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/build_defs/oss/rn_codegen_defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def rn_codegen(
3939

4040
spec_srcs = native.glob(
4141
[
42-
src_prefix + "**/Native*.js",
42+
src_prefix + "**/[Nn]ative*.js",
4343
],
4444
exclude = [
4545
"**/__*__/**",

0 commit comments

Comments
 (0)
Please sign in to comment.