Only glob src folder of codegen for buck compilation

Summary:
RN codegen generates `lib/` folder in OSS which invalidates caches for macOS build. By only globbing `src/` folder we can avoid these issues.

Changelog:
[Internal] Exclude codegen files built in OSS to fix internal build.

Reviewed By: cortinico, motiz88

Differential Revision: D30959522

fbshipit-source-id: 6371beb3997bc15ed155a7f7871fb80c199367a3
This commit is contained in:
Andrei Shikov
2021-09-15 18:29:16 -07:00
committed by Facebook GitHub Bot
parent 2f8cb57406
commit e6fcbc5076
+1 -1
View File
@@ -102,7 +102,7 @@ rn_xplat_cxx_library(
yarn_workspace(
name = "yarn-workspace",
srcs = glob(
["**/*.js"],
["src/**/*.js"],
exclude = [
"**/__fixtures__/**",
"**/__flowtests__/**",