Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: third_party/sqlite/src/tool/mksqlite3c.tcl

Issue 5626002: Update sqlite to 3.7.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/third_party/sqlite/src
Patch Set: Remove misc change. Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/src/tool/mkopts.tcl ('k') | third_party/sqlite/src/tool/mksqlite3h.tcl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/tclsh 1 #!/usr/bin/tclsh
2 # 2 #
3 # To build a single huge source file holding all of SQLite (or at 3 # To build a single huge source file holding all of SQLite (or at
4 # least the core components - the test harness, shell, and TCL 4 # least the core components - the test harness, shell, and TCL
5 # interface are omitted.) first do 5 # interface are omitted.) first do
6 # 6 #
7 # make target_source 7 # make target_source
8 # 8 #
9 # The make target above moves all of the source code files into 9 # The make target above moves all of the source code files into
10 # a subdirectory named "tsrc". (This script expects to find the files 10 # a subdirectory named "tsrc". (This script expects to find the files
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 ** 59 **
60 ** This file is all you need to compile SQLite. To use SQLite in other 60 ** This file is all you need to compile SQLite. To use SQLite in other
61 ** programs, you need this file and the "sqlite3.h" header file that defines 61 ** programs, you need this file and the "sqlite3.h" header file that defines
62 ** the programming interface to the SQLite library. (If you do not have 62 ** the programming interface to the SQLite library. (If you do not have
63 ** the "sqlite3.h" header file at hand, you will find a copy embedded within 63 ** the "sqlite3.h" header file at hand, you will find a copy embedded within
64 ** the text of this file. Search for "Begin file sqlite3.h" to find the start 64 ** the text of this file. Search for "Begin file sqlite3.h" to find the start
65 ** of the embedded sqlite3.h header file.) Additional code files may be needed 65 ** of the embedded sqlite3.h header file.) Additional code files may be needed
66 ** if you want a wrapper to interface SQLite with your choice of programming 66 ** if you want a wrapper to interface SQLite with your choice of programming
67 ** language. The code for the "sqlite3" command-line shell is also in a 67 ** language. The code for the "sqlite3" command-line shell is also in a
68 ** separate file. This file contains only code for the core SQLite library. 68 ** separate file. This file contains only code for the core SQLite library.
69 **
70 ** This amalgamation was generated on $today.
71 */ 69 */
72 #define SQLITE_CORE 1 70 #define SQLITE_CORE 1
73 #define SQLITE_AMALGAMATION 1}] 71 #define SQLITE_AMALGAMATION 1}]
74 if {$addstatic} { 72 if {$addstatic} {
75 puts $out \ 73 puts $out \
76 {#ifndef SQLITE_PRIVATE 74 {#ifndef SQLITE_PRIVATE
77 # define SQLITE_PRIVATE static 75 # define SQLITE_PRIVATE static
78 #endif 76 #endif
79 #ifndef SQLITE_API 77 #ifndef SQLITE_API
80 # define SQLITE_API 78 # define SQLITE_API
81 #endif} 79 #endif}
82 } 80 }
83 81
84 # These are the header files used by SQLite. The first time any of these 82 # These are the header files used by SQLite. The first time any of these
85 # files are seen in a #include statement in the C code, include the complete 83 # files are seen in a #include statement in the C code, include the complete
86 # text of the file in-line. The file only needs to be included once. 84 # text of the file in-line. The file only needs to be included once.
87 # 85 #
88 foreach hdr { 86 foreach hdr {
89 btree.h 87 btree.h
90 btreeInt.h 88 btreeInt.h
91 fts3.h 89 fts3.h
92 fts3_expr.h 90 fts3Int.h
93 fts3_hash.h 91 fts3_hash.h
94 fts3_tokenizer.h 92 fts3_tokenizer.h
95 hash.h 93 hash.h
96 hwtime.h 94 hwtime.h
97 keywordhash.h 95 keywordhash.h
98 mutex.h 96 mutex.h
99 opcodes.h 97 opcodes.h
100 os_common.h 98 os_common.h
101 os.h 99 os.h
102 os_os2.h 100 os_os2.h
103 pager.h 101 pager.h
104 parse.h 102 parse.h
105 pcache.h 103 pcache.h
106 rtree.h 104 rtree.h
107 sqlite3ext.h 105 sqlite3ext.h
108 sqlite3.h 106 sqlite3.h
109 sqliteicu.h 107 sqliteicu.h
110 sqliteInt.h 108 sqliteInt.h
111 sqliteLimit.h 109 sqliteLimit.h
112 vdbe.h 110 vdbe.h
113 vdbeInt.h 111 vdbeInt.h
112 wal.h
114 } { 113 } {
115 set available_hdr($hdr) 1 114 set available_hdr($hdr) 1
116 } 115 }
117 set available_hdr(sqliteInt.h) 0 116 set available_hdr(sqliteInt.h) 0
118 117
119 # 78 stars used for comment formatting. 118 # 78 stars used for comment formatting.
120 set s78 \ 119 set s78 \
121 {*****************************************************************************} 120 {*****************************************************************************}
122 121
123 # Insert a comment into the code 122 # Insert a comment into the code
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 205
207 206
208 # Process the source files. Process files containing commonly 207 # Process the source files. Process files containing commonly
209 # used subroutines first in order to help the compiler find 208 # used subroutines first in order to help the compiler find
210 # inlining opportunities. 209 # inlining opportunities.
211 # 210 #
212 foreach file { 211 foreach file {
213 sqliteInt.h 212 sqliteInt.h
214 213
215 global.c 214 global.c
215 ctime.c
216 status.c 216 status.c
217 date.c 217 date.c
218 os.c 218 os.c
219 219
220 fault.c 220 fault.c
221 mem0.c 221 mem0.c
222 mem1.c 222 mem1.c
223 mem2.c 223 mem2.c
224 mem3.c 224 mem3.c
225 mem5.c 225 mem5.c
(...skipping 12 matching lines...) Expand all
238 238
239 os_os2.c 239 os_os2.c
240 os_unix.c 240 os_unix.c
241 os_win.c 241 os_win.c
242 242
243 bitvec.c 243 bitvec.c
244 pcache.c 244 pcache.c
245 pcache1.c 245 pcache1.c
246 rowset.c 246 rowset.c
247 pager.c 247 pager.c
248 wal.c
248 249
249 btmutex.c 250 btmutex.c
250 btree.c 251 btree.c
251 backup.c 252 backup.c
252 253
253 vdbemem.c 254 vdbemem.c
254 vdbeaux.c 255 vdbeaux.c
255 vdbeapi.c 256 vdbeapi.c
257 vdbetrace.c
256 vdbe.c 258 vdbe.c
257 vdbeblob.c 259 vdbeblob.c
258 journal.c 260 journal.c
259 memjournal.c 261 memjournal.c
260 262
261 walker.c 263 walker.c
262 resolve.c 264 resolve.c
263 expr.c 265 expr.c
264 alter.c 266 alter.c
265 analyze.c 267 analyze.c
266 attach.c 268 attach.c
267 auth.c 269 auth.c
268 build.c 270 build.c
269 callback.c 271 callback.c
270 delete.c 272 delete.c
271 func.c 273 func.c
274 fkey.c
272 insert.c 275 insert.c
273 legacy.c 276 legacy.c
274 loadext.c 277 loadext.c
275 pragma.c 278 pragma.c
276 prepare.c 279 prepare.c
277 select.c 280 select.c
278 table.c 281 table.c
279 trigger.c 282 trigger.c
280 update.c 283 update.c
281 vacuum.c 284 vacuum.c
282 vtab.c 285 vtab.c
283 where.c 286 where.c
284 287
285 parse.c 288 parse.c
286 289
287 tokenize.c 290 tokenize.c
288 complete.c 291 complete.c
289 292
290 main.c 293 main.c
291 notify.c 294 notify.c
292 295
293 fts3.c 296 fts3.c
294 fts3_expr.c 297 fts3_expr.c
295 fts3_hash.c 298 fts3_hash.c
296 fts3_porter.c 299 fts3_porter.c
297 fts3_tokenizer.c 300 fts3_tokenizer.c
298 fts3_tokenizer1.c 301 fts3_tokenizer1.c
302 fts3_write.c
303 fts3_snippet.c
299 304
300 rtree.c 305 rtree.c
301 icu.c 306 icu.c
302 fts3_icu.c 307 fts3_icu.c
303 } { 308 } {
304 copy_file tsrc/$file 309 copy_file tsrc/$file
305 } 310 }
306 311
307 close $out 312 close $out
OLDNEW
« no previous file with comments | « third_party/sqlite/src/tool/mkopts.tcl ('k') | third_party/sqlite/src/tool/mksqlite3h.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698