diff --git a/ReactCommon/DEFS b/ReactCommon/DEFS index a1af94d5f..4ee6051f8 100644 --- a/ReactCommon/DEFS +++ b/ReactCommon/DEFS @@ -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 diff --git a/ReactCommon/cxxreact/BUCK b/ReactCommon/cxxreact/BUCK index e4991ff4c..a252df565 100644 --- a/ReactCommon/cxxreact/BUCK +++ b/ReactCommon/cxxreact/BUCK @@ -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"], diff --git a/ReactCommon/jschelpers/BUCK b/ReactCommon/jschelpers/BUCK index fb0e0a4a2..d613dd574 100644 --- a/ReactCommon/jschelpers/BUCK +++ b/ReactCommon/jschelpers/BUCK @@ -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 = [