mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Allow disabling RTTI/exceptions for android builds; disable by default on Android
Summary: For fbandroid builds only, disable RTTI and exceptions by default. Changelog: [Internal] Reviewed By: philIip Differential Revision: D31632757 fbshipit-source-id: cfe0e43486df19fcaacc2b5b818b9d00ec2d427f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e494e4beb6
commit
d291a7efdd
@@ -11,8 +11,8 @@ rn_xplat_cxx_library(
|
||||
],
|
||||
prefix = "react/fabric",
|
||||
),
|
||||
compiler_flags_enable_exceptions = True,
|
||||
compiler_flags_enable_rtti = True, # dynamic_cast used within Binding.cpp
|
||||
compiler_flags_enable_exceptions = False,
|
||||
compiler_flags_enable_rtti = False, # for YogaLayoutableShadowNode?
|
||||
fbandroid_allow_jni_merging = True,
|
||||
labels = ["supermodule:xplat/default/public.react_native.infra"],
|
||||
platforms = ANDROID,
|
||||
|
||||
Reference in New Issue
Block a user