mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
make JSCRuntime SystemJSCAPITestFactory build only on apple platforms
Summary: Changelog: [Internal] Reviewed By: jbower-fb Differential Revision: D19874225 fbshipit-source-id: ca730391ea4734bdc98f91d8307bd9d622f27772
This commit is contained in:
committed by
Facebook Github Bot
parent
6aea6256a6
commit
afc77bd843
@@ -1,5 +1,6 @@
|
||||
# BUILD FILE SYNTAX: SKYLARK
|
||||
|
||||
load("@fbsource//tools/build_defs:default_platform_defs.bzl", "APPLE", "IOS", "MACOSX")
|
||||
load("//tools/build_defs/oss:rn_defs.bzl", "react_native_xplat_dep", "rn_xplat_cxx_library")
|
||||
|
||||
rn_xplat_cxx_library(
|
||||
@@ -70,6 +71,7 @@ rn_xplat_cxx_library(
|
||||
exported_headers = [
|
||||
"JSCRuntime.h",
|
||||
],
|
||||
apple_sdks = (IOS, MACOSX),
|
||||
cxx_exported_platform_linker_flags = [
|
||||
(
|
||||
"macosx-x86_64",
|
||||
@@ -104,6 +106,7 @@ rn_xplat_cxx_library(
|
||||
fbobjc_labels = ["supermodule:ios/default/private.react_native.infra"],
|
||||
# TODO (T55502220): Remove when iOS 9.0 deprecation is complete everywhere.
|
||||
fbobjc_target_sdk_version = "9.0",
|
||||
platforms = APPLE,
|
||||
visibility = ["PUBLIC"],
|
||||
xplat_mangled_args = {
|
||||
"soname": "libjscjsi.$(ext)",
|
||||
|
||||
Reference in New Issue
Block a user