Replace Folly with MapBuffer for passing js error data

Summary:
As title, replace json serialization/deserialization and folly with MapBuffer for js error handling in Android.

Changelog:
[Android][Changed] Replace Folly with MapBuffer for passing js error data

(Note: this ignores all push blocking failures!)

Reviewed By: RSNara

Differential Revision: D38460202

fbshipit-source-id: e13a47722964baa9e0a16bb138456a19350f809e
This commit is contained in:
Lulu Wu
2022-08-18 13:03:30 -07:00
committed by Facebook GitHub Bot
parent 776046b89b
commit e874e5facb
+4 -2
View File
@@ -1,6 +1,8 @@
load(
"//tools/build_defs/oss:rn_defs.bzl",
"ANDROID",
"APPLE",
"CXX",
"fb_xplat_cxx_test",
"get_apple_compiler_flags",
"get_apple_inspector_flags",
@@ -38,7 +40,7 @@ rn_xplat_cxx_library(
"supermodule:xplat/default/public.react_native.infra",
],
macosx_tests_override = [],
platforms = ANDROID,
platforms = (ANDROID, APPLE, CXX),
preprocessor_flags = [
"-DLOG_TAG=\"ReactNative\"",
"-DWITH_FBSYSTRACE=1",
@@ -63,7 +65,7 @@ fb_xplat_cxx_test(
"-Wall",
],
contacts = ["oncall+react_native@xmail.facebook.com"],
platforms = ANDROID,
platforms = (ANDROID, APPLE, CXX),
deps = [
"//xplat/third-party/gmock:gtest",
react_native_xplat_target("react/debug:debug"),