Replace native cxx_library with fb-specific macros.

Reviewed By: adamjernst

Differential Revision: D6618153

fbshipit-source-id: 188e2ca3cc78efad6e71f0a22547e26abf2f62e1
This commit is contained in:
Taras Tsugrii 2017-12-21 08:39:11 -08:00 committed by Facebook Github Bot
parent 4cdbb77c33
commit ba31d29dc9
9 changed files with 9 additions and 9 deletions

View File

@ -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']),

View File

@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
include_defs("//ReactCommon/DEFS")
cxx_library(
fb_xplat_cxx_library(
name = "fbgloginit",
srcs = [
"glog_init.cpp",

View File

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

View File

@ -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']),

View File

@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")
cxx_library(
fb_xplat_cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(

View File

@ -20,7 +20,7 @@ EXPORTED_HEADERS = [
"WritableNativeMap.h",
]
cxx_library(
fb_xplat_cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(

View File

@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")
cxx_library(
fb_xplat_cxx_library(
name = "perftests",
srcs = ["OnLoad.cpp"],
compiler_flags = [

View File

@ -1,6 +1,6 @@
include_defs("//ReactCommon/DEFS")
cxx_library(
fb_xplat_cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",

View File

@ -1,4 +1,4 @@
cxx_library(
fb_xplat_cxx_library(
name = "yoga",
srcs = glob(["yoga/*.cpp"]),
header_namespace = "",