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

Unified Diff: third_party/sqlite/src/tool/build-shell.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/tool/build-all-msvc.bat ('k') | third_party/sqlite/src/tool/checkSpacing.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/tool/build-shell.sh
diff --git a/third_party/sqlite/src/tool/build-shell.sh b/third_party/sqlite/src/tool/build-shell.sh
new file mode 100644
index 0000000000000000000000000000000000000000..6a48299d73b5121e854bc69d4bce532051a3cd3e
--- /dev/null
+++ b/third_party/sqlite/src/tool/build-shell.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# This script demonstrates how to do a full-featured build of the sqlite3
+# command-line shell on Linux.
+#
+# SQLite source code should be in a sibling directory named "sqlite". For
+# example, put SQLite sources in ~/sqlite/sqlite and run this script from
+# ~/sqlite/bld. There should be an appropriate Makefile in the current
+# directory as well.
+#
+make sqlite3.c
+gcc -o sqlite3 -g -Os -I. \
+ -DSQLITE_THREADSAFE=0 \
+ -DSQLITE_ENABLE_VFSTRACE \
+ -DSQLITE_ENABLE_STAT3 \
+ -DSQLITE_ENABLE_FTS4 \
+ -DSQLITE_ENABLE_RTREE \
+ -DHAVE_READLINE \
+ -DHAVE_USLEEP=1 \
+ ../sqlite/src/shell.c \
+ ../sqlite/src/test_vfstrace.c \
+ sqlite3.c -ldl -lreadline -lncurses
« no previous file with comments | « third_party/sqlite/src/tool/build-all-msvc.bat ('k') | third_party/sqlite/src/tool/checkSpacing.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698