diff --git a/ReactAndroid/src/main/jni/first-party/fb/BUCK b/ReactAndroid/src/main/jni/first-party/fb/BUCK index 4ffcf0c9cb2b7a..857551cc02da7f 100644 --- a/ReactAndroid/src/main/jni/first-party/fb/BUCK +++ b/ReactAndroid/src/main/jni/first-party/fb/BUCK @@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS") # This target is only used in open source if IS_OSS_BUILD: - cxx_library( + fb_xplat_cxx_library( name = 'jni', soname = 'libfb.$(ext)', srcs = glob(['*.cpp', 'jni/*.cpp', 'lyra/*.cpp']), diff --git a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK index 783e60f16b9dc5..0a8cc76675d343 100644 --- a/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK +++ b/ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK @@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS") include_defs("//ReactCommon/DEFS") -cxx_library( +fb_xplat_cxx_library( name = "fbgloginit", srcs = [ "glog_init.cpp", diff --git a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK index 467d19c9f4bf9b..269650e6529b94 100644 --- a/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK +++ b/ReactAndroid/src/main/jni/first-party/jni-hack/BUCK @@ -7,7 +7,7 @@ include_defs("//ReactAndroid/DEFS") # LICENSE file in the root directory of this source tree. An additional grant # of patent rights can be found in the PATENTS file in the same directory. -cxx_library( +fb_xplat_cxx_library( name = "jni-hack", header_namespace = "", exported_headers = [ diff --git a/ReactAndroid/src/main/jni/first-party/yogajni/BUCK b/ReactAndroid/src/main/jni/first-party/yogajni/BUCK index afbd386b6b1bf8..b7fbdb563cfa7a 100644 --- a/ReactAndroid/src/main/jni/first-party/yogajni/BUCK +++ b/ReactAndroid/src/main/jni/first-party/yogajni/BUCK @@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS") # This target is only used in open source if IS_OSS_BUILD: - cxx_library( + fb_xplat_cxx_library( name = 'jni', soname = 'libyoga.$(ext)', srcs = glob(['jni/*.cpp']), diff --git a/ReactAndroid/src/main/jni/packagerconnection/BUCK b/ReactAndroid/src/main/jni/packagerconnection/BUCK index c55fd14279cda8..b9df8816806c37 100644 --- a/ReactAndroid/src/main/jni/packagerconnection/BUCK +++ b/ReactAndroid/src/main/jni/packagerconnection/BUCK @@ -1,6 +1,6 @@ include_defs("//ReactAndroid/DEFS") -cxx_library( +fb_xplat_cxx_library( name = "jni", srcs = glob(["*.cpp"]), headers = glob( diff --git a/ReactAndroid/src/main/jni/react/jni/BUCK b/ReactAndroid/src/main/jni/react/jni/BUCK index 32878cae633d41..a9570b425761fa 100644 --- a/ReactAndroid/src/main/jni/react/jni/BUCK +++ b/ReactAndroid/src/main/jni/react/jni/BUCK @@ -20,7 +20,7 @@ EXPORTED_HEADERS = [ "WritableNativeMap.h", ] -cxx_library( +fb_xplat_cxx_library( name = "jni", srcs = glob(["*.cpp"]), headers = glob( diff --git a/ReactAndroid/src/main/jni/react/perftests/BUCK b/ReactAndroid/src/main/jni/react/perftests/BUCK index 347a578e4e86fb..55f21e6f9b761c 100644 --- a/ReactAndroid/src/main/jni/react/perftests/BUCK +++ b/ReactAndroid/src/main/jni/react/perftests/BUCK @@ -1,6 +1,6 @@ include_defs("//ReactAndroid/DEFS") -cxx_library( +fb_xplat_cxx_library( name = "perftests", srcs = ["OnLoad.cpp"], compiler_flags = [ diff --git a/ReactCommon/microprofiler/BUCK b/ReactCommon/microprofiler/BUCK index 8922e082af3087..b1c15c02a6c00b 100644 --- a/ReactCommon/microprofiler/BUCK +++ b/ReactCommon/microprofiler/BUCK @@ -1,6 +1,6 @@ include_defs("//ReactCommon/DEFS") -cxx_library( +fb_xplat_cxx_library( name = "microprofiler", srcs = [ "MicroProfiler.cpp", diff --git a/ReactCommon/yoga/BUCK b/ReactCommon/yoga/BUCK index 6e6f1b2e998a9d..65bfdf418530a4 100644 --- a/ReactCommon/yoga/BUCK +++ b/ReactCommon/yoga/BUCK @@ -1,4 +1,4 @@ -cxx_library( +fb_xplat_cxx_library( name = "yoga", srcs = glob(["yoga/*.cpp"]), header_namespace = "",