mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
71e89213aa
Summary: If you don't list `Cxx` as a supported platform, we will use Android builds, even when using `buck run` for local execution. Changelog: [Internal] Reviewed By: derolf Differential Revision: D37600464 fbshipit-source-id: 6ba8566cde4180524351c9d8c647ce1d4ac5279d
29 lines
675 B
Python
29 lines
675 B
Python
load(
|
|
"//tools/build_defs/oss:rn_defs.bzl",
|
|
"ANDROID",
|
|
"APPLE",
|
|
"CXX",
|
|
"fb_xplat_cxx_test",
|
|
"react_native_xplat_target",
|
|
)
|
|
|
|
fb_xplat_cxx_test(
|
|
name = "tests",
|
|
srcs = glob(["*.cpp"]),
|
|
compiler_flags = [
|
|
"-fexceptions",
|
|
"-frtti",
|
|
],
|
|
contacts = ["oncall+react_native@xmail.facebook.com"],
|
|
platforms = (ANDROID, APPLE, CXX),
|
|
visibility = [
|
|
react_native_xplat_target("cxxreact/..."),
|
|
],
|
|
deps = [
|
|
"//xplat/folly:init_init",
|
|
"//xplat/third-party/gmock:gtest",
|
|
react_native_xplat_target("cxxreact:bridge"),
|
|
react_native_xplat_target("cxxreact:jsbigstring"),
|
|
],
|
|
)
|