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

Side by Side Diff: third_party/sqlite/src/publish_osx.sh

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « third_party/sqlite/src/publish.sh ('k') | third_party/sqlite/src/sqlite3.1 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2 #
3 # This script is used to compile SQLite and package everything up
4 # so that it is ready to move to the SQLite website.
5 #
6
7 # Set srcdir to the name of the directory that contains the publish.sh
8 # script.
9 #
10 srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'`
11
12 # Get the makefile.
13 #
14 cp $srcdir/Makefile.linux-gcc ./Makefile
15 chmod +x $srcdir/install-sh
16
17 # Get the current version number - needed to help build filenames
18 #
19 VERS=`cat $srcdir/VERSION`
20 VERSW=`sed 's/\./_/g' $srcdir/VERSION`
21 echo "VERSIONS: $VERS $VERSW"
22
23 # Start by building an sqlite shell for linux.
24 #
25 make clean
26 make sqlite3.c
27 CFLAGS="-Os -DSQLITE_ENABLE_FTS3=1 -DSQLITE_THREADSAFE=0"
28 NAME=sqlite3-$VERS-osx-x86.bin
29 echo '***** '"COMPILING $NAME..."
30 gcc $CFLAGS -Itsrc sqlite3.c tsrc/shell.c -o $NAME -ldl
31 strip $NAME
32 chmod 644 $NAME
33 gzip $NAME
34 mkdir -p doc
35 mv $NAME.gz doc
OLDNEW
« no previous file with comments | « third_party/sqlite/src/publish.sh ('k') | third_party/sqlite/src/sqlite3.1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698