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:
Joshua Gross
2021-02-19 20:52:51 -08:00
committed by Facebook GitHub Bot
parent 7f005e6077
commit b557ea6bb8
+5
View File
@@ -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 = {