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

Side by Side Diff: third_party/sqlite/src/mkextw.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/mkextu.sh ('k') | third_party/sqlite/src/mkopcodec.awk » ('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 extensions into DLLs.
4 #
5 make fts2amal.c
6 PATH=$PATH:/opt/mingw/bin
7 OPTS='-DTHREADSAFE=1 -DBUILD_sqlite=1 -DSQLITE_OS_WIN=1'
8 CC="i386-mingw32msvc-gcc -O2 $OPTS -Itsrc"
9 NM="i386-mingw32msvc-nm"
10 CMD="$CC -c fts2amal.c"
11 echo $CMD
12 $CMD
13 echo 'EXPORTS' >fts2.def
14 echo 'sqlite3_extension_init' >>fts2.def
15 i386-mingw32msvc-dllwrap \
16 --def fts2.def -v --export-all \
17 --driver-name i386-mingw32msvc-gcc \
18 --dlltool-name i386-mingw32msvc-dlltool \
19 --as i386-mingw32msvc-as \
20 --target i386-mingw32 \
21 -dllname fts2.dll -lmsvcrt fts2amal.o
22 zip fts2dll.zip fts2.dll fts2.def
OLDNEW
« no previous file with comments | « third_party/sqlite/src/mkextu.sh ('k') | third_party/sqlite/src/mkopcodec.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698