Skip to content

Commit

Permalink
Replace native cxx_library with fb-specific macros.
Browse files Browse the repository at this point in the history
Reviewed By: adamjernst

Differential Revision: D6618153

fbshipit-source-id: 188e2ca3cc78efad6e71f0a22547e26abf2f62e1
  • Loading branch information
ttsugriy authored and facebook-github-bot committed Dec 21, 2017
1 parent 4cdbb77 commit ba31d29
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/first-party/fb/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/first-party/fbgloginit/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")

include_defs("//ReactCommon/DEFS")

cxx_library(
fb_xplat_cxx_library(
name = "fbgloginit",
srcs = [
"glog_init.cpp",
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/first-party/jni-hack/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/first-party/yogajni/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/packagerconnection/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")

cxx_library(
fb_xplat_cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/react/jni/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ EXPORTED_HEADERS = [
"WritableNativeMap.h",
]

cxx_library(
fb_xplat_cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(
Expand Down
2 changes: 1 addition & 1 deletion ReactAndroid/src/main/jni/react/perftests/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")

cxx_library(
fb_xplat_cxx_library(
name = "perftests",
srcs = ["OnLoad.cpp"],
compiler_flags = [
Expand Down
2 changes: 1 addition & 1 deletion ReactCommon/microprofiler/BUCK
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include_defs("//ReactCommon/DEFS")

cxx_library(
fb_xplat_cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",
Expand Down
2 changes: 1 addition & 1 deletion ReactCommon/yoga/BUCK
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cxx_library(
fb_xplat_cxx_library(
name = "yoga",
srcs = glob(["yoga/*.cpp"]),
header_namespace = "",
Expand Down

0 comments on commit ba31d29

Please sign in to comment.