Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions packages/react-native/React/Base/RCTDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,16 @@

/**
* RCT_REMOTE_PROFILE: RCT_PROFILE + RCT_ENABLE_INSPECTOR + enable the
* connectivity functionality to control the profiler remotely, such as via Chrome DevTools or
* Flipper.
* connectivity functionality to control the profiler remotely, such as via Chrome DevTools.
* If Fusebox is enabled for release builds, enable the remote profile mode, fall back to RCT_DEV by default.
*/
#ifndef RCT_REMOTE_PROFILE
#ifdef REACT_NATIVE_ENABLE_FUSEBOX_RELEASE
#define RCT_REMOTE_PROFILE REACT_NATIVE_ENABLE_FUSEBOX_RELEASE
#else
#define RCT_REMOTE_PROFILE RCT_DEV
#endif
#endif

/**
* Enable the code to support making calls to the underlying sampling profiler mechanism.
Expand Down