From c6c72ddad40c8e7f6b9231a9a01f80cf87af6857 Mon Sep 17 00:00:00 2001 From: Dan Caspi Date: Thu, 21 Apr 2016 18:59:48 -0700 Subject: [PATCH] Set RNFeed to use iOS 8's JSC. Working but missing features. Reviewed By: lexs Differential Revision: D3162414 fb-gh-sync-id: d7eb65969486eddd623501e5eaa07f957088a846 fbshipit-source-id: d7eb65969486eddd623501e5eaa07f957088a846 --- ReactAndroid/src/main/jni/react/BUCK | 18 ++---------------- ReactAndroid/src/main/jni/react/jni/BUCK | 9 --------- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/ReactAndroid/src/main/jni/react/BUCK b/ReactAndroid/src/main/jni/react/BUCK index e9e4aaa22..278c48ac4 100644 --- a/ReactAndroid/src/main/jni/react/BUCK +++ b/ReactAndroid/src/main/jni/react/BUCK @@ -14,6 +14,8 @@ PREPROCESSOR_FLAGS = [ '-DLOG_TAG="ReactNative"', '-DWITH_JSC_EXTRA_TRACING=1', '-DWITH_FBSYSTRACE=1', + # '-DWITH_JSC_MEMORY_PRESSURE=1', # Taken care of in D3162471 + # '-DWITH_JSC_INTERNAL=1', # Taken care of in D3163295 ] def react_library(**kwargs): @@ -27,22 +29,6 @@ def react_library(**kwargs): **kwargs ) - cxx_library( - name = 'react-internal', - visibility = [ - react_native_target('jni/react/jni:jni-internal'), - ], - deps = DEPS + JSC_INTERNAL_DEPS, - preprocessor_flags = PREPROCESSOR_FLAGS + [ - '-DWITH_FB_JSC_TUNING=1', - '-DWITH_JSC_MEMORY_PRESSURE=1', - '-DWITH_FBJSCEXTENSIONS=1', - '-DWITH_JSC_INTERNAL=1', - '-DWITH_FB_MEMORY_PROFILING=1', - ], - **kwargs - ) - react_library( soname = 'libreactnative.so', header_namespace = 'react', diff --git a/ReactAndroid/src/main/jni/react/jni/BUCK b/ReactAndroid/src/main/jni/react/jni/BUCK index cdd579b47..e61637847 100644 --- a/ReactAndroid/src/main/jni/react/jni/BUCK +++ b/ReactAndroid/src/main/jni/react/jni/BUCK @@ -22,15 +22,6 @@ def jni_library(**kwargs): **kwargs ) - cxx_library( - name='jni-internal', - visibility = [INTERNAL_APP], - deps = DEPS + JSC_INTERNAL_DEPS + [ - react_native_target('jni/react:react-internal'), - ], - **kwargs - ) - jni_library( soname = 'libreactnativejni.so', header_namespace = 'react/jni',