mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +08:00
add arm64 and x86_64
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@
|
|||||||
/react-native-pushy-cli/node_modules
|
/react-native-pushy-cli/node_modules
|
||||||
/react-native-pushy-cli/lib
|
/react-native-pushy-cli/lib
|
||||||
/android/build
|
/android/build
|
||||||
|
/android/obj
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
# OSX
|
# 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",
|
"name": "react-native-update",
|
||||||
"version": "5.1.6",
|
"version": "5.1.7",
|
||||||
"description": "react-native hot update",
|
"description": "react-native hot update",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"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"
|
"prepare": "node_modules/.bin/babel local-cli/src --out-dir local-cli/lib"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Reference in New Issue
Block a user