Skip to content

Commit

Permalink
Revert D61966685: Update InspectorFlags to use NDEBUG flag
Browse files Browse the repository at this point in the history
Differential Revision:
D61966685

Original commit changeset: d30950172420

Original Phabricator Diff: D61966685

fbshipit-source-id: f6cd61d7260670e6438f78dfe6e1a32ef65fb0c1
  • Loading branch information
NickGerleman authored and facebook-github-bot committed Aug 31, 2024
1 parent f00e8ba commit 305b435
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ const InspectorFlags::Values& InspectorFlags::loadFlagsAndAssertUnchanged()
true,
#elif defined(REACT_NATIVE_FORCE_DISABLE_FUSEBOX)
false,
#elif !defined(NDEBUG) && defined(REACT_NATIVE_ENABLE_FUSEBOX_DEBUG)
#elif defined(HERMES_ENABLE_DEBUGGER) && \
defined(REACT_NATIVE_ENABLE_FUSEBOX_DEBUG)
true,
#elif !defined(NDEBUG)
#elif defined(HERMES_ENABLE_DEBUGGER)
ReactNativeFeatureFlags::fuseboxEnabledDebug(),
#else
ReactNativeFeatureFlags::fuseboxEnabledRelease(),
Expand Down

0 comments on commit 305b435

Please sign in to comment.