Load and use fb_xplat_cxx_test
Reviewed By: mzlee Differential Revision: D7854278 fbshipit-source-id: 2a4c4fc27fc665a192fc04a8c8fae19f7f221566
This commit is contained in:
parent
b63015d34e
commit
255b97ddd1
|
@ -11,7 +11,7 @@ TEST_SRCS = [
|
|||
]
|
||||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "cxx_test")
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
load("@xplat//configurations/buck/android:jni_instrumentation_test", "jni_instrumentation_test_lib")
|
||||
load("@xplat//configurations/buck:default_platform_defs.bzl", "APPLE")
|
||||
jni_instrumentation_test_lib(
|
||||
|
@ -34,7 +34,7 @@ if not IS_OSS_BUILD:
|
|||
],
|
||||
)
|
||||
|
||||
cxx_test(
|
||||
fb_xplat_cxx_test(
|
||||
name = 'tests',
|
||||
srcs = TEST_SRCS,
|
||||
compiler_flags = [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("//configurations/buck/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags", "APPLE")
|
||||
|
||||
APPLE_COMPILER_FLAGS = []
|
||||
|
||||
|
@ -58,9 +58,9 @@ rn_xplat_cxx_library(
|
|||
)
|
||||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//configurations/buck:default_platform_defs.bzl", "APPLE")
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
|
||||
cxx_test(
|
||||
fb_xplat_cxx_test(
|
||||
name = "tests",
|
||||
srcs = glob(["tests/**/*.cpp"]),
|
||||
headers = glob(["tests/**/*.h"]),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@xplat//configurations/buck/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags", "APPLE")
|
||||
|
||||
APPLE_COMPILER_FLAGS = []
|
||||
|
||||
|
@ -49,9 +49,9 @@ rn_xplat_cxx_library(
|
|||
)
|
||||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//configurations/buck:default_platform_defs.bzl", "APPLE")
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
|
||||
cxx_test(
|
||||
fb_xplat_cxx_test(
|
||||
name = "tests",
|
||||
srcs = glob(["tests/**/*.cpp"]),
|
||||
headers = glob(["tests/**/*.h"]),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("//configurations/buck/apple:flag_defs.bzl", "get_debug_preprocessor_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags")
|
||||
load("//ReactNative:DEFS.bzl", "IS_OSS_BUILD", "react_native_xplat_target", "rn_xplat_cxx_library", "get_apple_inspector_flags", "APPLE")
|
||||
|
||||
APPLE_COMPILER_FLAGS = []
|
||||
|
||||
|
@ -53,9 +53,9 @@ rn_xplat_cxx_library(
|
|||
)
|
||||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//configurations/buck:default_platform_defs.bzl", "APPLE")
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
|
||||
cxx_test(
|
||||
fb_xplat_cxx_test(
|
||||
name = "tests",
|
||||
srcs = glob(["tests/**/*.cpp"]),
|
||||
headers = glob(["tests/**/*.h"]),
|
||||
|
|
|
@ -58,6 +58,7 @@ rn_xplat_cxx_library(
|
|||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
|
||||
fb_xplat_cxx_test(
|
||||
name = "tests",
|
||||
srcs = glob(["tests/**/*.cpp"]),
|
||||
|
|
|
@ -61,6 +61,7 @@ rn_xplat_cxx_library(
|
|||
|
||||
if not IS_OSS_BUILD:
|
||||
load("@xplat//build_defs:fb_xplat_cxx_test.bzl", "fb_xplat_cxx_test")
|
||||
|
||||
fb_xplat_cxx_test(
|
||||
name = "tests",
|
||||
srcs = glob(["tests/**/*.cpp"]),
|
||||
|
|
Loading…
Reference in New Issue