Skip to content

Commit

Permalink
undo more inspector flag stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Jul 8, 2024
1 parent 74c11d4 commit 115c512
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,19 @@ const InspectorFlags::Values& InspectorFlags::loadFlagsAndAssertUnchanged()
const {
InspectorFlags::Values newValues = {
.fuseboxEnabled =
#if defined(REACT_NATIVE_FORCE_ENABLE_FUSEBOX)
true,
#elif defined(REACT_NATIVE_FORCE_DISABLE_FUSEBOX)
false,
#elif defined(HERMES_ENABLE_DEBUGGER) && \
defined(REACT_NATIVE_ENABLE_FUSEBOX_DEBUG)
true,
#elif defined(HERMES_ENABLE_DEBUGGER)
ReactNativeFeatureFlags::fuseboxEnabledDebug(),
#else
ReactNativeFeatureFlags::fuseboxEnabledRelease(),
#endif
//#if defined(REACT_NATIVE_FORCE_ENABLE_FUSEBOX)
// true,
//#elif defined(REACT_NATIVE_FORCE_DISABLE_FUSEBOX)
// false,
//#elif defined(HERMES_ENABLE_DEBUGGER) && \
// defined(REACT_NATIVE_ENABLE_FUSEBOX_DEBUG)
// true,
//#elif defined(HERMES_ENABLE_DEBUGGER)
// ReactNativeFeatureFlags::fuseboxEnabledDebug(),
//#else
// ReactNativeFeatureFlags::fuseboxEnabledRelease(),
//#endif
true
};

if (cachedValues_.has_value() && !inconsistentFlagsStateLogged_) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Pod::Spec.new do |s|

s.dependency "glog"
s.dependency "RCT-Folly", folly_version
s.dependency "React-featureflags"
# s.dependency "React-featureflags"
s.dependency "DoubleConversion"
s.dependency "React-runtimeexecutor", version
s.dependency "React-jsi"
Expand Down

0 comments on commit 115c512

Please sign in to comment.