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 # This target is only used in open source
if IS_OSS_BUILD: if IS_OSS_BUILD:
cxx_library( fb_xplat_cxx_library(
name = 'jni', name = 'jni',
soname = 'libfb.$(ext)', soname = 'libfb.$(ext)',
srcs = glob(['*.cpp', 'jni/*.cpp', 'lyra/*.cpp']), srcs = glob(['*.cpp', 'jni/*.cpp', 'lyra/*.cpp']),

View File

@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
include_defs("//ReactCommon/DEFS") include_defs("//ReactCommon/DEFS")
cxx_library( fb_xplat_cxx_library(
name = "fbgloginit", name = "fbgloginit",
srcs = [ srcs = [
"glog_init.cpp", "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 # 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. # of patent rights can be found in the PATENTS file in the same directory.
cxx_library( fb_xplat_cxx_library(
name = "jni-hack", name = "jni-hack",
header_namespace = "", header_namespace = "",
exported_headers = [ exported_headers = [

View File

@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
# This target is only used in open source # This target is only used in open source
if IS_OSS_BUILD: if IS_OSS_BUILD:
cxx_library( fb_xplat_cxx_library(
name = 'jni', name = 'jni',
soname = 'libyoga.$(ext)', soname = 'libyoga.$(ext)',
srcs = glob(['jni/*.cpp']), srcs = glob(['jni/*.cpp']),

View File

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

View File

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

View File

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

View File

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

View File

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