mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Ensure that all Fabric modules are compiled with the same preprocessor flags
Summary: Define get_react_native_preprocessor_flags() as a stub for OSS. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D26561978 fbshipit-source-id: 9e5b1b25f52760f9bacc908639e2bab1cf85da1e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7f005e6077
commit
b557ea6bb8
@@ -67,6 +67,11 @@ def get_apple_inspector_flags():
|
||||
def get_android_inspector_flags():
|
||||
return []
|
||||
|
||||
def get_react_native_preprocessor_flags():
|
||||
# TODO: use this to define the compiler flag REACT_NATIVE_DEBUG in debug/dev mode builds only.
|
||||
# This is a replacement for NDEBUG since NDEBUG is always defined in Buck on all Android builds.
|
||||
return []
|
||||
|
||||
# Building is not supported in OSS right now
|
||||
def rn_xplat_cxx_library(name, **kwargs):
|
||||
new_kwargs = {
|
||||
|
||||
Reference in New Issue
Block a user