Revert "Replace native cxx_library with fb-specific macros."

This reverts commit ba31d29dc9.
This commit is contained in:
Mike Grabowski
2018-01-10 15:02:37 +01:00
parent ab972708a8
commit aebb34a294
9 changed files with 9 additions and 9 deletions
@@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
# This target is only used in open source
if IS_OSS_BUILD:
fb_xplat_cxx_library(
cxx_library(
name = 'jni',
soname = 'libfb.$(ext)',
srcs = glob(['*.cpp', 'jni/*.cpp', 'lyra/*.cpp']),
@@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
include_defs("//ReactCommon/DEFS")
fb_xplat_cxx_library(
cxx_library(
name = "fbgloginit",
srcs = [
"glog_init.cpp",
@@ -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.
fb_xplat_cxx_library(
cxx_library(
name = "jni-hack",
header_namespace = "",
exported_headers = [
@@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
# This target is only used in open source
if IS_OSS_BUILD:
fb_xplat_cxx_library(
cxx_library(
name = 'jni',
soname = 'libyoga.$(ext)',
srcs = glob(['jni/*.cpp']),
@@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")
fb_xplat_cxx_library(
cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(
+1 -1
View File
@@ -20,7 +20,7 @@ EXPORTED_HEADERS = [
"WritableNativeMap.h",
]
fb_xplat_cxx_library(
cxx_library(
name = "jni",
srcs = glob(["*.cpp"]),
headers = glob(
@@ -1,6 +1,6 @@
include_defs("//ReactAndroid/DEFS")
fb_xplat_cxx_library(
cxx_library(
name = "perftests",
srcs = ["OnLoad.cpp"],
compiler_flags = [
+1 -1
View File
@@ -1,6 +1,6 @@
include_defs("//ReactCommon/DEFS")
fb_xplat_cxx_library(
cxx_library(
name = "microprofiler",
srcs = [
"MicroProfiler.cpp",
+1 -1
View File
@@ -1,4 +1,4 @@
fb_xplat_cxx_library(
cxx_library(
name = "yoga",
srcs = glob(["yoga/*.cpp"]),
header_namespace = "",