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

Side by Side Diff: third_party/sqlite/google_generate_amalgamation.sh

Issue 6835006: Convert to SQLite amalgamation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months 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/fts2.patch ('k') | third_party/sqlite/google_generate_preprocessed.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # Copyright 2007 Google Inc. All Rights Reserved. 3 # Copyright 2011 Google Inc. All Rights Reserved.
4 # Author: shess@google.com (Scott Hess) 4 # Author: shess@chromium.org (Scott Hess)
5 # TODO(shess): This notice needs updating.
5 6
6 cd src 7 cd src
7 8
8 mkdir bld 9 mkdir bld
9 cd bld 10 cd bld
10 ../configure 11 ../configure
11 FILES="keywordhash.h opcodes.c opcodes.h parse.c parse.h sqlite3.h" 12 FILES="sqlite3.h sqlite3.c"
12 OPTS="" 13 OPTS=""
13 # These options should match those in ../../tools/config.mk. 14 # These options should match those in sqlite.gyp.
14 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1" 15 OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1"
15 make "OPTS=$OPTS" $FILES 16 make "OPTS=$OPTS" $FILES
16 cp -f $FILES ../../preprocessed 17 cp -f $FILES ../../amalgamation
17 18
18 cd .. 19 cd ..
19 rm -rf bld 20 rm -rf bld
20 21
21 # TODO(shess) I can't find config.h, which exists in the original 22 # TODO(shess) I can't find config.h, which exists in the original
22 # third_party/sqlite/ directory. I also haven't found a client of it, 23 # third_party/sqlite/ directory. I also haven't found a client of it,
23 # yet, so maybe it's not a file we need. 24 # yet, so maybe it's not a file we need.
OLDNEW
« no previous file with comments | « third_party/sqlite/fts2.patch ('k') | third_party/sqlite/google_generate_preprocessed.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698