Skip to content

Commit 1b4c039

Browse files
committed
fix harmony build
1 parent d458371 commit 1b4c039

File tree

5 files changed

+4
-183
lines changed

5 files changed

+4
-183
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ harmony/package
5858
**/oh_modules
5959
harmony/pushy/.preview
6060
Example/harmony_use_pushy/harmony/entry/src/main/resources/rawfile/meta.json
61+
**/.hvigor

harmony/pushy/src/main/cpp/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set(HDIFFPATCH_DIR ${ANDROID_JNI_DIR}/HDiffPatch)
77
set(LZMA_DIR ${ANDROID_JNI_DIR}/lzma)
88
set(HDP_SOURCES
99
${CMAKE_CURRENT_SOURCE_DIR}/pushy.c
10-
${CMAKE_CURRENT_SOURCE_DIR}/hpatch.c
10+
${ANDROID_JNI_DIR}/hpatch.c
1111
${HDIFFPATCH_DIR}/libHDiffPatch/HPatch/patch.c
1212
${HDIFFPATCH_DIR}/file_for_patch.c
1313
${LZMA_DIR}/C/LzmaDec.c
@@ -22,6 +22,7 @@ add_library(rnupdate SHARED
2222

2323
target_include_directories(rnupdate PRIVATE
2424
${CMAKE_CURRENT_SOURCE_DIR}
25+
${ANDROID_JNI_DIR}
2526
${HDIFFPATCH_DIR}
2627
${HDIFFPATCH_DIR}/libHDiffPatch/HPatch
2728
${LZMA_DIR}/C

harmony/pushy/src/main/cpp/hpatch.c

Lines changed: 0 additions & 137 deletions
This file was deleted.

harmony/pushy/src/main/cpp/hpatch.h

Lines changed: 0 additions & 44 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update",
3-
"version": "10.34.8",
3+
"version": "10.34.9",
44
"description": "react-native hot update",
55
"main": "src/index",
66
"scripts": {

0 commit comments

Comments
 (0)