mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 05:34:15 +00:00
Define rn_xplat_cxx_library for OSS builds
Reviewed By: bestander Differential Revision: D5044673 fbshipit-source-id: 41c9fe4b2ae128eed6f299dd8ea9dbfc4ca75917
This commit is contained in:
parent
d334cdd590
commit
afbab66a44
@ -1,8 +1,15 @@
|
||||
# Set up common deps
|
||||
|
||||
# Building is not supported in OSS right now
|
||||
def rn_xplat_cxx_library(**kwargs):
|
||||
pass
|
||||
|
||||
GLOG_DEP = "//ReactAndroid/build/third-party-ndk/glog:glog"
|
||||
|
||||
INSPECTOR_FLAGS = []
|
||||
|
||||
JSC_DEPS = []
|
||||
JSC_INTERNAL_DEPS = []
|
||||
|
||||
THIS_IS_FBOBJC = False
|
||||
THIS_IS_FBANDROID = False
|
||||
|
@ -9,7 +9,7 @@ if THIS_IS_FBOBJC:
|
||||
inherited_buck_flags = STATIC_LIBRARY_IOS_FLAGS
|
||||
CXX_LIBRARY_COMPILER_FLAGS += inherited_buck_flags.get_flag_value('compiler_flags')
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "module",
|
||||
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS,
|
||||
exported_headers = [
|
||||
@ -29,7 +29,7 @@ fb_xplat_cxx_library(
|
||||
],
|
||||
)
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "jsbigstring",
|
||||
srcs = [
|
||||
"JSBigString.cpp",
|
||||
@ -53,7 +53,7 @@ fb_xplat_cxx_library(
|
||||
],
|
||||
)
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "samplemodule",
|
||||
srcs = ["SampleCxxModule.cpp"],
|
||||
compiler_flags = CXX_LIBRARY_COMPILER_FLAGS + [
|
||||
@ -93,7 +93,7 @@ CXXREACT_PUBLIC_HEADERS = [
|
||||
"SystraceSection.h",
|
||||
]
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "bridge",
|
||||
srcs = glob(
|
||||
["*.cpp"],
|
||||
|
@ -10,7 +10,7 @@ EXPORTED_HEADERS = [
|
||||
"Value.h",
|
||||
]
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "jscinternalhelpers",
|
||||
srcs = glob(
|
||||
["*.cpp"],
|
||||
@ -39,7 +39,7 @@ fb_xplat_cxx_library(
|
||||
],
|
||||
)
|
||||
|
||||
fb_xplat_cxx_library(
|
||||
rn_xplat_cxx_library(
|
||||
name = "jschelpers",
|
||||
srcs = [],
|
||||
compiler_flags = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user