diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index 5f84b3fd5a241b..6201e74cdf3b0d 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -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", diff --git a/ReactCommon/jschelpers/BUCK b/ReactCommon/jschelpers/BUCK index ac9ee706deb1a0..37dc1abb0df57d 100644 --- a/ReactCommon/jschelpers/BUCK +++ b/ReactCommon/jschelpers/BUCK @@ -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", ], @@ -64,6 +65,7 @@ rn_xplat_cxx_library( ], fbobjc_srcs = ["systemJSCWrapper.cpp"], force_static = True, + platforms = (ANDROID, APPLE), visibility = [ "PUBLIC", ],