Define rn_xplat_cxx_library for OSS builds

Reviewed By: bestander

Differential Revision: D5044673

fbshipit-source-id: 41c9fe4b2ae128eed6f299dd8ea9dbfc4ca75917
This commit is contained in:
Pieter De Baets 2017-05-12 02:36:06 -07:00 committed by Facebook Github Bot
parent d334cdd590
commit afbab66a44
3 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -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"],

View File

@ -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 = [