mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Replace native cxx_library with fb-specific macros.
Reviewed By: adamjernst Differential Revision: D6618153 fbshipit-source-id: 188e2ca3cc78efad6e71f0a22547e26abf2f62e1
This commit is contained in:
parent
4cdbb77c33
commit
ba31d29dc9
@ -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']),
|
||||
|
@ -2,7 +2,7 @@ include_defs("//ReactAndroid/DEFS")
|
||||
|
||||
include_defs("//ReactCommon/DEFS")
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_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.
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_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:
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = 'jni',
|
||||
soname = 'libyoga.$(ext)',
|
||||
srcs = glob(['jni/*.cpp']),
|
||||
|
@ -1,6 +1,6 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = "jni",
|
||||
srcs = glob(["*.cpp"]),
|
||||
headers = glob(
|
||||
|
@ -20,7 +20,7 @@ EXPORTED_HEADERS = [
|
||||
"WritableNativeMap.h",
|
||||
]
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = "jni",
|
||||
srcs = glob(["*.cpp"]),
|
||||
headers = glob(
|
||||
|
@ -1,6 +1,6 @@
|
||||
include_defs("//ReactAndroid/DEFS")
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = "perftests",
|
||||
srcs = ["OnLoad.cpp"],
|
||||
compiler_flags = [
|
||||
|
@ -1,6 +1,6 @@
|
||||
include_defs("//ReactCommon/DEFS")
|
||||
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = "microprofiler",
|
||||
srcs = [
|
||||
"MicroProfiler.cpp",
|
||||
|
@ -1,4 +1,4 @@
|
||||
cxx_library(
|
||||
fb_xplat_cxx_library(
|
||||
name = "yoga",
|
||||
srcs = glob(["yoga/*.cpp"]),
|
||||
header_namespace = "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user