Skip to content

Commit

Permalink
Specify platforms for the a few targets
Browse files Browse the repository at this point in the history
Differential Revision: D7516968

fbshipit-source-id: db9d6df7c1b67dbdd998ea017229a976f78b2eb1
  • Loading branch information
mzlee authored and LukeDurrant committed Apr 11, 2018
1 parent 7d79d2d commit 83aa8fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ReactCommon/cxxreact/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ rn_xplat_cxx_library(
],
fbobjc_preprocessor_flags = get_debug_preprocessor_flags() + APPLE_INSPECTOR_FLAGS,
force_static = True,
platforms = (ANDROID, APPLE),
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
Expand Down
2 changes: 2 additions & 0 deletions ReactCommon/jschelpers/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ rn_xplat_cxx_library(
fbandroid_deps = ANDROID_JSC_INTERNAL_DEPS,
fbobjc_deps = APPLE_JSC_INTERNAL_DEPS,
force_static = True,
platforms = (ANDROID, APPLE),
visibility = [
"PUBLIC",
],
Expand All @@ -64,6 +65,7 @@ rn_xplat_cxx_library(
],
fbobjc_srcs = ["systemJSCWrapper.cpp"],
force_static = True,
platforms = (ANDROID, APPLE),
visibility = [
"PUBLIC",
],
Expand Down

0 comments on commit 83aa8fe

Please sign in to comment.