From c5935049106b87fd6455b3fac2d7ef49d134abc3 Mon Sep 17 00:00:00 2001 From: Tadeu Zagallo Date: Fri, 4 Sep 2015 10:44:18 -0700 Subject: [PATCH] [ReactNative] Add RCTJSCProfiler to internal apps --- React/Executors/RCTContextExecutor.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/React/Executors/RCTContextExecutor.m b/React/Executors/RCTContextExecutor.m index 2dcf3d7b0..85854bf64 100644 --- a/React/Executors/RCTContextExecutor.m +++ b/React/Executors/RCTContextExecutor.m @@ -23,7 +23,7 @@ #import "RCTUtils.h" #ifndef RCT_JSC_PROFILER -#if RCT_DEV && RCT_DEBUG +#if RCT_DEV #define RCT_JSC_PROFILER 1 #else #define RCT_JSC_PROFILER 0 @@ -34,7 +34,7 @@ #include #ifndef RCT_JSC_PROFILER_DYLIB -#define RCT_JSC_PROFILER_DYLIB [[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"RCTJSCProfiler.ios%zd", [[[UIDevice currentDevice] systemVersion] integerValue]] ofType:@"dylib" inDirectory:@"Frameworks"] UTF8String] +#define RCT_JSC_PROFILER_DYLIB [[[NSBundle mainBundle] pathForResource:[NSString stringWithFormat:@"RCTJSCProfiler.ios%zd", [[[UIDevice currentDevice] systemVersion] integerValue]] ofType:@"dylib" inDirectory:@"RCTJSCProfiler"] UTF8String] #endif #endif