From ba31d29dc91b67a7f34dfd7c70db49e6699a86ec Mon Sep 17 00:00:00 2001 From: Taras Tsugrii Date: Thu, 21 Dec 2017 08:39:11 -0800 Subject: [PATCH] Replace native cxx_library with fb-specific macros. Reviewed By: adamjernst Differential Revision: D6618153 fbshipit-source-id: 188e2ca3cc78efad6e71f0a22547e26abf2f62e1 --- ReactAndroid/src/main/jni/first-party/fb/BUCK | 2 +- ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK | 2 +- ReactAndroid/src/main/jni/first-party/jni-hack/BUCK | 2 +- ReactAndroid/src/main/jni/first-party/yogajni/BUCK | 2 +- ReactAndroid/src/main/jni/packagerconnection/BUCK | 2 +- ReactAndroid/src/main/jni/react/jni/BUCK | 2 +- ReactAndroid/src/main/jni/react/perftests/BUCK | 2 +- ReactCommon/microprofiler/BUCK | 2 +- ReactCommon/yoga/BUCK | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ReactAndroid/src/main/jni/first-party/fb/BUCK b/ReactAndroid/src/main/jni/first-party/fb/BUCK index 4ffcf0c9c..857551cc0 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 783e60f16..0a8cc7667 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 467d19c9f..269650e65 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 afbd386b6..b7fbdb563 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 c55fd1427..b9df88168 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 32878cae6..a9570b425 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 347a578e4..55f21e6f9 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 8922e082a..b1c15c02a 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 6e6f1b2e9..65bfdf418 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 = "",