mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
52d37aa403
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35064 Original commit changeset: 0fb0db845c04 Original Phabricator Diff: D40610875 (https://github.com/facebook/react-native/commit/d941940b4ce7ed9030be4f72980fb45d9b62365d) Open source is using BUCK 1 which does not seem to have the `oncall` directive. Backing it out because it is breaking the external CI. ## Changelog [internal] Reviewed By: cortinico Differential Revision: D40635873 fbshipit-source-id: 79ebd4db0972520fcca6ccb8c1725657a8ef7949
42 lines
1018 B
Python
42 lines
1018 B
Python
load("@fbsource//tools/build_defs:glob_defs.bzl", "subdir_glob")
|
|
load("@fbsource//tools/build_defs:platform_defs.bzl", "ANDROID", "APPLE", "CXX", "FBCODE", "WINDOWS")
|
|
load("//tools/build_defs/oss:rn_defs.bzl", "rn_xplat_cxx_library")
|
|
|
|
EXPORTED_HEADERS = [
|
|
"react_native_log.h",
|
|
]
|
|
|
|
rn_xplat_cxx_library(
|
|
name = "logger",
|
|
srcs = glob(
|
|
["*.cpp"],
|
|
),
|
|
headers = subdir_glob(
|
|
[
|
|
("", "*.h"),
|
|
],
|
|
exclude = EXPORTED_HEADERS,
|
|
prefix = "logger",
|
|
),
|
|
header_namespace = "",
|
|
exported_headers = subdir_glob(
|
|
[
|
|
("", header)
|
|
for header in EXPORTED_HEADERS
|
|
],
|
|
prefix = "logger",
|
|
),
|
|
compiler_flags_pedantic = True,
|
|
fbandroid_preferred_linkage = "shared",
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
],
|
|
platforms = (ANDROID, APPLE, CXX, FBCODE, WINDOWS),
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
"//third-party/glog:glog",
|
|
],
|
|
)
|