mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
daa105aba5
Summary: Now that the PFH node has been renamed this updates the pfh label. Produced via `xbgs -l -e '"pfh:ReactNative_CommonInfrastructurePlaceholde"' | xargs sed -i 's/"pfh:ReactNative_CommonInfrastructurePlaceholde"/"pfh:ReactNative_CommonInfrastructurePlaceholder"/'` Reviewed By: jkeljo Differential Revision: D35374087 fbshipit-source-id: 61590f69de5a69ec3b8a0478f6dd43409de3c70b
90 lines
2.1 KiB
Python
90 lines
2.1 KiB
Python
load("//tools/build_defs/oss:rn_defs.bzl", "APPLE", "IOS", "MACOSX", "react_native_xplat_dep", "rn_xplat_cxx_library")
|
|
|
|
rn_xplat_cxx_library(
|
|
name = "jsi",
|
|
srcs = [
|
|
"jsi/jsi.cpp",
|
|
],
|
|
header_namespace = "",
|
|
exported_headers = [
|
|
"jsi/instrumentation.h",
|
|
"jsi/jsi.h",
|
|
"jsi/jsi-inl.h",
|
|
"jsi/jsilib.h",
|
|
],
|
|
compiler_flags = [
|
|
"-O3",
|
|
"-Wextra",
|
|
"-Wcast-qual",
|
|
"-Wdelete-non-virtual-dtor",
|
|
"-Wwrite-strings",
|
|
],
|
|
cxx_compiler_flags = [
|
|
"-Wglobal-constructors",
|
|
"-Wmissing-prototypes",
|
|
],
|
|
fbobjc_compiler_flags = [
|
|
"-Wglobal-constructors",
|
|
"-Wmissing-prototypes",
|
|
],
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
"supermodule:xplat/default/public.react_native.infra",
|
|
],
|
|
visibility = ["PUBLIC"],
|
|
)
|
|
|
|
rn_xplat_cxx_library(
|
|
name = "JSIDynamic",
|
|
srcs = [
|
|
"jsi/JSIDynamic.cpp",
|
|
],
|
|
header_namespace = "",
|
|
exported_headers = [
|
|
"jsi/JSIDynamic.h",
|
|
],
|
|
fbobjc_force_static = True,
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
"supermodule:xplat/default/public.react_native.infra",
|
|
],
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
xcode_public_headers_symlinks = True,
|
|
deps = [
|
|
"//xplat/folly:molly",
|
|
react_native_xplat_dep("jsi:jsi"),
|
|
],
|
|
)
|
|
|
|
rn_xplat_cxx_library(
|
|
name = "JSCRuntime",
|
|
srcs = [
|
|
"JSCRuntime.cpp",
|
|
],
|
|
header_namespace = "jsi",
|
|
exported_headers = [
|
|
"JSCRuntime.h",
|
|
],
|
|
apple_sdks = (IOS, MACOSX),
|
|
fbobjc_compiler_flags = [
|
|
"-Os",
|
|
],
|
|
fbobjc_frameworks = [
|
|
"$SDKROOT/System/Library/Frameworks/JavaScriptCore.framework",
|
|
],
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
"supermodule:xplat/default/public.react_native.infra",
|
|
],
|
|
platforms = APPLE,
|
|
visibility = ["PUBLIC"],
|
|
xplat_mangled_args = {
|
|
"soname": "libjscjsi.$(ext)",
|
|
},
|
|
exported_deps = [
|
|
react_native_xplat_dep("jsi:jsi"),
|
|
],
|
|
)
|