-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
133 lines (104 loc) · 6.93 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-sqlite-evmax-build-free"
version="0.0.10-dev">
<name>Cordova sqlite storage - free evmax common version branch with premium stability performance improvements including workaround for super-large INSERT transactions and SELECT results on Android (with external sqlite3 dependencies)</name>
<license>GPL-3.0 OR Commercial</license>
<keywords>sqlite</keywords>
<description>Native interface to SQLite for PhoneGap/Cordova. Allows you to use more storage and provides more flexibility than the standard Web SQL database (window.openDatabase).</description>
<author>Litehelpers/Various</author>
<!-- no before_plugin_install hook in this version branch -->
<js-module src="www/SQLitePlugin.js" name="SQLitePlugin">
<clobbers target="SQLitePlugin" />
</js-module>
<!-- android -->
<platform name="android">
<!-- Cordova >= 3.0.0 -->
<config-file target="res/xml/config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="android-package" value="io.sqlc.SQLitePlugin"/>
</feature>
</config-file>
<source-file src="src/android/io/sqlc/SQLitePlugin.java" target-dir="src/io/sqlc"/>
<source-file src="src/android/io/sqlc/SQLiteAndroidDatabase.java" target-dir="src/io/sqlc"/>
<!-- NOT USED in this plugin version branch:
<source-file src="src/android/io/sqlc/SQLiteConnectorDatabase.java" target-dir="src/io/sqlc"/>
-->
<!-- JAR with NDK libs & Java JNI class -->
<lib-file src="src/deps/android/sqlc-evmax-ndk-driver.jar" />
</platform>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="ios-package" value="SQLitePlugin" />
</feature>
</config-file>
<!-- Note: the iOS src is based off src/ios implicitly -->
<header-file src="src/ios/SQLitePlugin.h" />
<source-file src="src/ios/SQLitePlugin.m" />
<source-file src="src/ios/CustomPSPDFThreadSafeMutableDictionary.m"
compiler-flags="-w" />
<header-file src="src/deps/common/sqlite3-regexp-cached/sqlite3_regexp.h" />
<source-file src="src/deps/common/sqlite3-regexp-cached/sqlite3_regexp.c" />
<header-file src="src/deps/common/sqlite3-base64/sqlite3_base64.h" />
<source-file src="src/deps/common/sqlite3-base64/sqlite3_base64.c" />
<header-file src="src/deps/common/libb64-core/cencode.h" />
<source-file src="src/deps/common/libb64-core/cencode.c" />
<header-file src="src/deps/common/libb64-core/cdecode.h" />
<source-file src="src/deps/common/libb64-core/cdecode.c" />
<header-file src="src/deps/common/sqlite3.h" />
<source-file src="src/deps/common/sqlite3.c"
compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_SYNCHRONOUS=3 -DSQLITE_LOCKING_STYLE=1 -DHAVE_USLEEP=1 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MATH_FUNCTIONS -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_CACHE_SIZE=-2000" />
</platform>
<!-- macOS (osx) -->
<platform name="osx">
<config-file target="config.xml" parent="/*">
<feature name="SQLitePlugin">
<param name="osx-package" value="SQLitePlugin" />
</feature>
</config-file>
<!-- Note: the macOS (osx) src is based off src/ios implicitly -->
<header-file src="src/ios/SQLitePlugin.h" />
<source-file src="src/ios/SQLitePlugin.m" />
<!-- FUTURE TBD: more common directory name for Apple macOS/iOS versions -->
<source-file src="src/ios/CustomPSPDFThreadSafeMutableDictionary.m"
compiler-flags="-w" />
<header-file src="src/deps/common/sqlite3-regexp-cached/sqlite3_regexp.h" />
<source-file src="src/deps/common/sqlite3-regexp-cached/sqlite3_regexp.c" />
<header-file src="src/deps/common/sqlite3-base64/sqlite3_base64.h" />
<source-file src="src/deps/common/sqlite3-base64/sqlite3_base64.c" />
<header-file src="src/deps/common/libb64-core/cencode.h" />
<source-file src="src/deps/common/libb64-core/cencode.c" />
<header-file src="src/deps/common/libb64-core/cdecode.h" />
<source-file src="src/deps/common/libb64-core/cdecode.c" />
<header-file src="src/deps/common/sqlite3.h" />
<source-file src="src/deps/common/sqlite3.c"
compiler-flags="-w -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_SYNCHRONOUS=3 -DSQLITE_LOCKING_STYLE=1 -DHAVE_USLEEP=1 -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_OMIT_DECLTYPE -DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK -DSQLITE_OMIT_SHARED_CACHE -DSQLITE_TEMP_STORE=2 -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_JSON1 -DSQLITE_DEFAULT_PAGE_SIZE=4096 -DSQLITE_DEFAULT_CACHE_SIZE=-2000" />
</platform>
<!-- windows -->
<platform name="windows">
<js-module src="src/windows/sqlite-proxy.js" name="SQLiteProxy">
<runs />
</js-module>
<!-- SQLite3 JS module from SQLite3-WinRT/SQLite3JS: -->
<js-module src="src/windows/SQLite3-WinRT-sync/SQLite3JS/js/SQLite3.js" name="SQLite3">
<runs />
</js-module>
<!-- Thanks to AllJoyn-Cordova / cordova-plugin-alljoyn for guidance: -->
<!-- uncomment next line to rebuild WinMD & DLL artifacts - Release build is required:
<framework src="src/windows/SQLite3-WinRT-sync/SQLite3/SQLite3.UWP.vcxproj" custom="true" type="projectReference" versions="10.*" />
-->
<!-- remove these when rebuilding WinMD & DLL artifacts -->
<!-- sources:
- https://www.dynamsoft.com/codepool/cordova-plugin-barcode-winrt.html
- https://github.com/yushulx/cordova-windows-barcode
- -->
<framework src="src/windows/libs/dummy/BarcodeComponent.winmd" target-dir="x86" arch="x86" custom="true"/>
<framework src="src/windows/libs/x86/SQLite3.winmd" target-dir="x86" arch="x86" custom="true" implementation="src/windows/libs/x86/SQLite3.UWP.dll"/>
<framework src="src/windows/libs/dummy/BarcodeComponent.winmd" target-dir="x64" arch="x64" custom="true"/>
<framework src="src/windows/libs/x86/SQLite3.winmd" target-dir="x64" arch="x64" custom="true" implementation="src/windows/libs/x64/SQLite3.UWP.dll"/>
</platform>
</plugin>
<!-- vim: set expandtab : -->