mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-16 10:39:50 +08:00
fix static jsc build for ios
Reviewed By: dcaspi Differential Revision: D3693192 fbshipit-source-id: dca500262e698e02c27c840e74c421ec6bc006fe
This commit is contained in:
committed by
Facebook Github Bot 0
parent
6c4d3c39c6
commit
94ac3e4d08
@@ -40,7 +40,7 @@
|
||||
#include "JSCMemory.h"
|
||||
#endif
|
||||
|
||||
#ifdef WITH_FB_JSC_TUNING
|
||||
#if defined(WITH_FB_JSC_TUNING) && defined(__ANDROID__)
|
||||
#include <jsc_config_android.h>
|
||||
#endif
|
||||
|
||||
@@ -188,7 +188,7 @@ void JSCExecutor::destroy() {
|
||||
void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
SystraceSection s("JSCExecutor.initOnJSVMThread");
|
||||
|
||||
#if defined(WITH_FB_JSC_TUNING)
|
||||
#if defined(WITH_FB_JSC_TUNING) && defined(__ANDROID__)
|
||||
configureJSCForAndroid(m_jscConfig);
|
||||
#endif
|
||||
|
||||
@@ -237,7 +237,7 @@ void JSCExecutor::initOnJSVMThread() throw(JSException) {
|
||||
addJSCPerfStatsHooks(m_context);
|
||||
#endif
|
||||
|
||||
#if defined(WITH_FB_JSC_TUNING)
|
||||
#if defined(WITH_FB_JSC_TUNING) && defined(__ANDROID__)
|
||||
configureJSContextForAndroid(m_context, m_jscConfig, m_deviceCacheDir);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user