add arm64 and x86_64
This commit is contained in:
parent
453a861302
commit
f6ad543854
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
/react-native-pushy-cli/node_modules
|
||||
/react-native-pushy-cli/lib
|
||||
/android/build
|
||||
/android/obj
|
||||
*.iml
|
||||
|
||||
# OSX
|
||||
|
17
android/jni/Android.mk
Normal file
17
android/jni/Android.mk
Normal file
@ -0,0 +1,17 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := rnupdate
|
||||
LOCAL_SRC_FILES := \
|
||||
DownloadTask.c \
|
||||
blocksort.c \
|
||||
bspatch.c \
|
||||
bzlib.c \
|
||||
crctable.c \
|
||||
compress.c \
|
||||
decompress.c \
|
||||
huffman.c \
|
||||
randtable.c
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
BIN
android/lib/arm64-v8a/librnupdate.so
Executable file
BIN
android/lib/arm64-v8a/librnupdate.so
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
android/lib/x86_64/librnupdate.so
Executable file
BIN
android/lib/x86_64/librnupdate.so
Executable file
Binary file not shown.
@ -1,10 +1,11 @@
|
||||
{
|
||||
"name": "react-native-update",
|
||||
"version": "5.1.6",
|
||||
"version": "5.1.7",
|
||||
"description": "react-native hot update",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build-lib": "$ANDROID_HOME/ndk-bundle/ndk-build NDK_PROJECT_PATH=android APP_BUILD_SCRIPT=android/jni/Android.mk NDK_LIBS_OUT=android/lib",
|
||||
"prepare": "node_modules/.bin/babel local-cli/src --out-dir local-cli/lib"
|
||||
},
|
||||
"repository": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user