mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
9a43e53a06
Differential Revision: D40613108 (https://github.com/facebook/react-native/commit/5449148482271d60c87f6e5fa4483e69d4410320) Original commit changeset: f36c3b39a216 Original Phabricator Diff: D40613108 (https://github.com/facebook/react-native/commit/5449148482271d60c87f6e5fa4483e69d4410320) fbshipit-source-id: 079deac137610eeebd231bd97930efda6b284fff
31 lines
925 B
Python
31 lines
925 B
Python
load("//tools/build_defs/oss:rn_defs.bzl", "ANDROID", "APPLE", "CXX", "react_native_xplat_target", "rn_xplat_cxx_library")
|
|
|
|
# TODO: Expolre merging this module into venice so we don't to load this library seperately
|
|
rn_xplat_cxx_library(
|
|
name = "jserrorhandler",
|
|
srcs = glob(["*.cpp"]),
|
|
header_namespace = "",
|
|
exported_headers = {"JsErrorHandler/JsErrorHandler.h": "JsErrorHandler.h"},
|
|
compiler_flags = [
|
|
"-fexceptions",
|
|
"-frtti",
|
|
],
|
|
labels = [
|
|
"pfh:ReactNative_CommonInfrastructurePlaceholder",
|
|
],
|
|
platforms = (ANDROID, APPLE, CXX),
|
|
preprocessor_flags = [
|
|
"-DLOG_TAG=\"ReactNative\"",
|
|
"-DWITH_FBSYSTRACE=1",
|
|
],
|
|
visibility = [
|
|
"PUBLIC",
|
|
],
|
|
deps = [
|
|
"//xplat/folly:dynamic",
|
|
"//xplat/folly:json",
|
|
"//xplat/jsi:jsi",
|
|
react_native_xplat_target("react/renderer/mapbuffer:mapbuffer"),
|
|
],
|
|
)
|