forked from jonhargett/cordova-plugin-zip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
142 lines (132 loc) · 6.11 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="UTF-8" ?>
<plugin xmlns="http://phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-zip"
version="3.2.10">
<engines>
<engine name="cordova" version=">=3.3.0"/>
<engine name="cordova-electron" version=">=3.0.0"/>
</engines>
<dependency id="cordova-plugin-file" version=">=2.0.0"/>
<name>cordova-plugin-zip</name>
<description>Unzips zip files</description>
<js-module src="www/zip.js" name="Zip">
<clobbers target="zip"/>
</js-module>
<platform name="android">
<source-file src="src/android/Zip.java" target-dir="src/org/apache/cordova"/>
<config-file target="res/xml/config.xml" parent="/widget">
<feature name="Zip">
<param name="android-package" value="org.apache.cordova.Zip"/>
</feature>
</config-file>
</platform>
<platform name="ios">
<source-file src="src/ios/ZipPlugin.m"/>
<header-file src="src/ios/ZipPlugin.h"/>
<header-file src="src/ios/Common.h"/>
<header-file src="src/ios/aes/aes.h" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/aes_via_ace.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/aescrypt.c" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/aeskey.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/aesopt.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/aestab.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/aestab.h" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/brg_endian.h" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/brg_types.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/entropy.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/entropy.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/fileenc.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/fileenc.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/hmac.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/hmac.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/prng.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/prng.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/pwd2key.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/pwd2key.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/aes/sha1.c" target-dir="Plugins/aes"/>
<header-file src="src/ios/aes/sha1.h" target-dir="Plugins/aes"/>
<source-file src="src/ios/SSZipArchive.m" target-dir="Plugins/minizip"/>
<header-file src="src/ios/SSZipArchive.h" target-dir="Plugins/minizip"/>
<source-file src="src/ios/minizip/zip.c" target-dir="Plugins/minizip"/>
<header-file src="src/ios/minizip/zip.h" target-dir="Plugins/minizip"/>
<source-file src="src/ios/minizip/unzip.c" target-dir="Plugins/minizip"/>
<header-file src="src/ios/minizip/unzip.h" target-dir="Plugins/minizip"/>
<source-file src="src/ios/minizip/mztools.c" target-dir="Plugins/minizip"/>
<header-file src="src/ios/minizip/mztools.h" target-dir="Plugins/minizip"/>
<source-file src="src/ios/minizip/ioapi.c" target-dir="Plugins/minizip"/>
<header-file src="src/ios/minizip/ioapi.h" target-dir="Plugins/minizip"/>
<header-file src="src/ios/minizip/crypt.h" target-dir="Plugins/minizip"/>
<config-file target="config.xml" parent="/widget">
<feature name="Zip">
<param name="ios-package" value="ZipPlugin"/>
</feature>
</config-file>
<framework src="libz.dylib"/>
</platform>
<platform name="windows">
<js-module src="src/windows/ZipProxy.js" name="ZipProxy">
<merges target=""/>
</js-module>
<js-module src="src/jszip.min.js" name="JsZip">
<merges target=""/>
</js-module>
<framework
src="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_x86_Release/ZipComponentUWP.winmd"
implementation="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_x86_Release/ZipComponentUWP.dll"
device-target="all"
target-dir="x86"
arch="x86"
custom="true"
embed="true" />
<framework
src="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_x64_Release/ZipComponentUWP.winmd"
implementation="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_x64_Release/ZipComponentUWP.dll"
device-target="all"
target-dir="x64"
arch="x64"
custom="true"
embed="true" />
<framework
src="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_ARM_Release/ZipComponentUWP.winmd"
implementation="src/windows/ZipComponentUWP/Bin/ZipComponentUWP_ARM_Release/ZipComponentUWP.dll"
device-target="all"
target-dir="ARM"
arch="ARM"
custom="true"
embed="true" />
<!-- The following empty component is required to force Cordova to properly load our UWP components -->
<framework
src="src/windows/ZipComponentUWP/Libraries/EmptyDotNetComponentUWP/Bin/EmptyDotNetComponentUWP_x86_Release/EmptyDotNetComponentUWP.winmd"
device-target="all"
target-dir="x86"
arch="x86"
custom="true"
embed="true" />
<framework
src="src/windows/ZipComponentUWP/Libraries/EmptyDotNetComponentUWP/Bin/EmptyDotNetComponentUWP_x64_Release/EmptyDotNetComponentUWP.winmd"
device-target="all"
target-dir="x64"
arch="x64"
custom="true"
embed="true" />
<framework
src="src/windows/ZipComponentUWP/Libraries/EmptyDotNetComponentUWP/Bin/EmptyDotNetComponentUWP_ARM_Release/EmptyDotNetComponentUWP.winmd"
device-target="all"
target-dir="ARM"
arch="ARM"
custom="true"
embed="true" />
</platform>
<platform name="browser">
<js-module src="src/browser/ZipProxy.js" name="ZipProxy">
<merges target=""/>
</js-module>
<js-module src="src/jszip.min.js" name="JsZip">
<merges target=""/>
</js-module>
</platform>
<platform name="electron">
<framework src="src/electron"/>
</platform>
</plugin>