mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-22 19:28:33 +00:00
remove unneded dependencies
This commit is contained in:
parent
62017c1739
commit
c6e46b9856
@ -149,7 +149,7 @@ dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile 'com.github.KeepSafe:ReLinker:1.1'
|
||||
compile 'org.nanohttpd:nanohttpd:2.2.0'
|
||||
compile project (':react-native')// this is the locally patched version of Facebook React Native
|
||||
compile 'com.facebook.react:react-native:0.18.0'
|
||||
compile 'org.webkit:android-jsc:r174650'
|
||||
}
|
||||
|
||||
|
@ -8,8 +8,8 @@ include $(PREBUILT_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE:= jsc-$(TARGET_ARCH_ABI)
|
||||
LOCAL_SRC_FILES := react-native/ReactAndroid/build/third-party-ndk/jsc/jni/$(TARGET_ARCH_ABI)/libjsc.so
|
||||
LOCAL_EXPORT_C_INCLUDES := react-native/ReactAndroid/build/third-party-ndk/jsc
|
||||
LOCAL_SRC_FILES := jsc/jni/$(TARGET_ARCH_ABI)/libjsc.so
|
||||
LOCAL_EXPORT_C_INCLUDES := jsc
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
@ -43,9 +43,6 @@ LOCAL_C_INCLUDES += src/object-store
|
||||
LOCAL_C_INCLUDES += src/object-store/parser
|
||||
LOCAL_C_INCLUDES += vendor
|
||||
LOCAL_C_INCLUDES += vendor/PEGTL
|
||||
LOCAL_C_INCLUDES += react-native/ReactAndroid/src/main/jni/react
|
||||
LOCAL_C_INCLUDES += react-native/ReactAndroid/src/main/jni/first-party
|
||||
LOCAL_C_INCLUDES += react-native/ReactAndroid/src/main/jni/first-party/fb/include
|
||||
LOCAL_C_INCLUDES += $(JAVA_HOME)/include
|
||||
LOCAL_C_INCLUDES += $(JAVA_HOME)/include/darwin
|
||||
LOCAL_C_INCLUDES += core/include
|
||||
|
6
react-native/android/app/src/main/jni/jsc/Android.mk
Normal file
6
react-native/android/app/src/main/jni/jsc/Android.mk
Normal file
@ -0,0 +1,6 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE:= jsc
|
||||
LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libjsc.so
|
||||
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)
|
||||
include $(PREBUILT_SHARED_LIBRARY)
|
@ -1 +0,0 @@
|
||||
../../../../../../../react-native
|
@ -2,4 +2,3 @@ rootProject.name = 'ReactTests'
|
||||
|
||||
include ':app'
|
||||
include ':react-native'
|
||||
project(':react-native').projectDir = new File(rootProject.projectDir, '../../../react-native/ReactAndroid')
|
||||
|
@ -6,13 +6,18 @@
|
||||
#include <sstream>
|
||||
|
||||
#include "com_reacttests_RealmReactAndroid.h"
|
||||
#include "JSCExecutor.h"
|
||||
#include "js_init.h"
|
||||
#include "rpc.hpp"
|
||||
#include "platform.hpp"
|
||||
#include <unordered_map>
|
||||
#include <android/log.h>
|
||||
|
||||
namespace facebook {
|
||||
namespace react {
|
||||
class JSCExecutor;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Class: com_reacttests_RealmReactAndroid
|
||||
* Method: injectRealmJsContext
|
||||
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
cp ../../react-native/android/app/build/outputs/aar/app-debug.aar android/app/lib/
|
||||
rm -rf node_modules/realm node_modules/realm-tests
|
||||
npm install realm realm-tests
|
||||
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/
|
||||
|
Loading…
x
Reference in New Issue
Block a user