mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
move some JS modules to debug only
Reviewed By: lexs Differential Revision: D3893217 fbshipit-source-id: d84aea3391fea435ea1de39f7ce8cf08586b373f
This commit is contained in:
parent
5c13eaccbd
commit
bdc47313e8
@ -168,13 +168,13 @@ import static com.facebook.react.bridge.ReactMarkerConstants.CREATE_UI_MANAGER_M
|
||||
RCTEventEmitter.class,
|
||||
RCTNativeAppEventEmitter.class,
|
||||
AppRegistry.class,
|
||||
com.facebook.react.bridge.Systrace.class,
|
||||
HMRClient.class,
|
||||
JSCSamplingProfiler.SamplingProfiler.class,
|
||||
DebugComponentOwnershipModule.RCTDebugComponentOwnership.class));
|
||||
com.facebook.react.bridge.Systrace.class));
|
||||
|
||||
if (ReactBuildConfig.DEBUG) {
|
||||
jsModules.add(DebugComponentOwnershipModule.RCTDebugComponentOwnership.class);
|
||||
jsModules.add(HMRClient.class);
|
||||
jsModules.add(JSCHeapCapture.HeapCapture.class);
|
||||
jsModules.add(JSCSamplingProfiler.SamplingProfiler.class);
|
||||
}
|
||||
|
||||
return jsModules;
|
||||
|
Loading…
x
Reference in New Issue
Block a user