Skip to content

Commit

Permalink
make JSCRuntime SystemJSCAPITestFactory build only on apple platforms
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: jbower-fb

Differential Revision: D19874225

fbshipit-source-id: ca730391ea4734bdc98f91d8307bd9d622f27772
  • Loading branch information
mhorowitz authored and facebook-github-bot committed Feb 25, 2020
1 parent 6aea625 commit afc77bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ReactCommon/jsi/BUCK
Original file line number Diff line number Diff line change
@@ -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(
Expand Down Expand Up @@ -70,6 +71,7 @@ rn_xplat_cxx_library(
exported_headers = [
"JSCRuntime.h",
],
apple_sdks = (IOS, MACOSX),
cxx_exported_platform_linker_flags = [
(
"macosx-x86_64",
Expand Down Expand Up @@ -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)",
Expand Down

0 comments on commit afc77bd

Please sign in to comment.