Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Commit 6e89656

Browse files
committed
move file
1 parent a5eddff commit 6e89656

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

VirtualApkPatch/builds_test/xcode/main.cpp renamed to VirtualApkPatch/builds_test/main.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,20 @@
55
// Created by sisong on 2019/09/12.
66
// Copyright © 2019 sisong. All rights reserved.
77
//
8-
#include "../../patch/virtual_apk_patch.h"
9-
#include "../../../ApkDiffPatch/HDiffPatch/_clock_for_demo.h"
8+
#include "../patch/virtual_apk_patch.h"
9+
#include "../../ApkDiffPatch/HDiffPatch/_clock_for_demo.h"
1010

1111
#include <iostream>
1212

1313
int main(int argc, const char * argv[]) {
1414
double time0=clock_s();
15-
if (argc!=1+9) return -1;
15+
if (argc!=1+9){
16+
printf(" virtual_apk_patch()\\virtual_apk_merge() is run on android;\n"
17+
" VirtualApkPatch for test them on PC;\n"
18+
"usage: VirtualApkPatch baseApk baseSoDir hotApk hotSoDir"
19+
" out_newApk out_newChangedSoDir zipDiffPath arch_abi threadNum\n");
20+
return -1;
21+
}
1622
int threadNum=atoi(argv[9]);
1723
const char* hotApk=argv[3];
1824
const char* newSoDir=argv[6];

VirtualApkPatch/builds_test/xcode/VirtualApkPatch.xcodeproj/project.pbxproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
/* Begin PBXBuildFile section */
1010
D65C69D423293AFA00A3C89C /* virtual_apk_patch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D65C69D123293AFA00A3C89C /* virtual_apk_patch.cpp */; };
11-
D65C69D7232A065600A3C89C /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D65C69D6232A065600A3C89C /* main.cpp */; };
1211
D65C69E6232A0EA100A3C89C /* OldStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D65C69DE232A0EA100A3C89C /* OldStream.cpp */; };
1312
D65C69E7232A0EA100A3C89C /* ZipDiffData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D65C69DF232A0EA100A3C89C /* ZipDiffData.cpp */; };
1413
D65C69E8232A0EA100A3C89C /* NewStream.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D65C69E0232A0EA100A3C89C /* NewStream.cpp */; };
@@ -20,6 +19,7 @@
2019
D65C6A0C232A0F8200A3C89C /* patch.c in Sources */ = {isa = PBXBuildFile; fileRef = D65C6A09232A0F8200A3C89C /* patch.c */; };
2120
D65C6A0E232A0FBB00A3C89C /* liblzma.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D65C69F0232A0EF400A3C89C /* liblzma.a */; };
2221
D65C6A0F232A0FBB00A3C89C /* libzlib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D65C69F6232A0EF400A3C89C /* libzlib.a */; };
22+
D698B4D0236AD0BB00FC04E9 /* main.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D698B4CF236AD0BB00FC04E9 /* main.cpp */; };
2323
/* End PBXBuildFile section */
2424

2525
/* Begin PBXContainerItemProxy section */
@@ -55,7 +55,6 @@
5555
D65C69C523293AB300A3C89C /* VirtualApkPatch */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = VirtualApkPatch; sourceTree = BUILT_PRODUCTS_DIR; };
5656
D65C69D123293AFA00A3C89C /* virtual_apk_patch.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = virtual_apk_patch.cpp; sourceTree = "<group>"; };
5757
D65C69D223293AFA00A3C89C /* virtual_apk_patch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = virtual_apk_patch.h; sourceTree = "<group>"; };
58-
D65C69D6232A065600A3C89C /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = main.cpp; sourceTree = "<group>"; };
5958
D65C69DB232A0EA100A3C89C /* Zipper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Zipper.h; sourceTree = "<group>"; };
6059
D65C69DC232A0EA100A3C89C /* Patcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Patcher.h; sourceTree = "<group>"; };
6160
D65C69DD232A0EA100A3C89C /* patch_types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = patch_types.h; sourceTree = "<group>"; };
@@ -83,6 +82,7 @@
8382
D65C6A0B232A0F8200A3C89C /* patch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = patch.h; sourceTree = "<group>"; };
8483
D65C6A11232A89BB00A3C89C /* VirtualZipIO.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VirtualZipIO.h; sourceTree = "<group>"; };
8584
D65C6A21232E5F0100A3C89C /* file_for_dirDiff.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = file_for_dirDiff.h; path = ../../../ApkDiffPatch/HDiffPatch/dirDiffPatch/dir_diff/file_for_dirDiff.h; sourceTree = "<group>"; };
85+
D698B4CF236AD0BB00FC04E9 /* main.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = main.cpp; path = ../main.cpp; sourceTree = "<group>"; };
8686
/* End PBXFileReference section */
8787

8888
/* Begin PBXFrameworksBuildPhase section */
@@ -101,9 +101,9 @@
101101
D65C69BC23293AB300A3C89C = {
102102
isa = PBXGroup;
103103
children = (
104+
D698B4CF236AD0BB00FC04E9 /* main.cpp */,
104105
D65C69D9232A0E5900A3C89C /* ApkDiffPatch */,
105106
D65C69D023293AFA00A3C89C /* patch */,
106-
D65C69D6232A065600A3C89C /* main.cpp */,
107107
D65C69C623293AB300A3C89C /* Products */,
108108
D65C6A0D232A0FBB00A3C89C /* Frameworks */,
109109
);
@@ -311,10 +311,10 @@
311311
buildActionMask = 2147483647;
312312
files = (
313313
D65C6A0C232A0F8200A3C89C /* patch.c in Sources */,
314-
D65C69D7232A065600A3C89C /* main.cpp in Sources */,
315314
D65C69E9232A0EA100A3C89C /* Zipper.cpp in Sources */,
316315
D65C6A02232A0F6900A3C89C /* parallel_channel.cpp in Sources */,
317316
D65C69D423293AFA00A3C89C /* virtual_apk_patch.cpp in Sources */,
317+
D698B4D0236AD0BB00FC04E9 /* main.cpp in Sources */,
318318
D65C69E7232A0EA100A3C89C /* ZipDiffData.cpp in Sources */,
319319
D65C69EA232A0EA100A3C89C /* Patcher.cpp in Sources */,
320320
D65C6A03232A0F6900A3C89C /* parallel_import.cpp in Sources */,

0 commit comments

Comments
 (0)