Skip to content

Commit

Permalink
Move *Bundle.js exclude patterns into js_glob()
Browse files Browse the repository at this point in the history
Summary:
These changes are a side-effect of a Meta-internal Buck macro change. This does not affect how RNTester is built in open source.

Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D37648363

fbshipit-source-id: 6fd5d56a7a7a9ea71dc3d0df91e510fcd45a1e17
  • Loading branch information
huntie authored and facebook-github-bot committed Jul 7, 2022
1 parent c37f719 commit 64fe676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ReactAndroid/src/androidTest/js/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rn_library(
"**/*.command",
"**/*.md",
],
force_include_bundles = True,
),
labels = [
"pfh:ReactNative_CommonInfrastructurePlaceholder",
Expand Down
2 changes: 1 addition & 1 deletion tools/build_defs/js_glob.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ js_glob_exts = (
"png",
)

def js_glob(dirs, excludes = []):
def js_glob(dirs, excludes = [], force_include_bundles = False):
globs = []
for glob_dir in dirs:
if glob_dir == ".":
Expand Down

0 comments on commit 64fe676

Please sign in to comment.