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
28 lines
845 B
Python
28 lines
845 B
Python
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "CXX", "rn_xplat_cxx_library")
|
|
|
|
rn_xplat_cxx_library(
|
|
name = "reactperflogger",
|
|
srcs = glob(["**/*.cpp"]),
|
|
header_namespace = "",
|
|
exported_headers = {
|
|
"reactperflogger/BridgeNativeModulePerfLogger.h": "reactperflogger/BridgeNativeModulePerfLogger.h",
|
|
"reactperflogger/NativeModulePerfLogger.h": "reactperflogger/NativeModulePerfLogger.h",
|
|
},
|
|
compiler_flags = [
|
|
"-Wno-global-constructors",
|
|
],
|
|
compiler_flags_pedantic = True,
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
],
|
|
platforms = (ANDROID, APPLE, CXX),
|
|
preferred_linkage = "static",
|
|
preprocessor_flags = [
|
|
"-DLOG_TAG=\"ReactNative\"",
|
|
"-DWITH_FBSYSTRACE=1",
|
|
],
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
)
|