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

Unified Diff: third_party/sqlite/google_generate_amalgamation.sh

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code Created 6 years, 1 month 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/fts3_85522.patch ('k') | third_party/sqlite/icu-shell.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/google_generate_amalgamation.sh
diff --git a/third_party/sqlite/google_generate_amalgamation.sh b/third_party/sqlite/google_generate_amalgamation.sh
new file mode 100644
index 0000000000000000000000000000000000000000..3211580cc1f7c9dc0ae5599f4fcd51a27c13351c
--- /dev/null
+++ b/third_party/sqlite/google_generate_amalgamation.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# Copyright 2011 Google Inc. All Rights Reserved.
+# Author: shess@chromium.org (Scott Hess)
+# TODO(shess): This notice needs updating.
+
+cd src
+
+mkdir bld
+cd bld
+../configure
+FILES="sqlite3.h sqlite3.c"
+OPTS=""
+# These options should match those in sqlite.gyp.
+OPTS="$OPTS -DSQLITE_OMIT_LOAD_EXTENSION=1"
+make "OPTS=$OPTS" $FILES
+cp -f $FILES ../../amalgamation
+
+cd ..
+rm -rf bld
+
+# TODO(shess) I can't find config.h, which exists in the original
+# third_party/sqlite/ directory. I also haven't found a client of it,
+# yet, so maybe it's not a file we need.
« no previous file with comments | « third_party/sqlite/fts3_85522.patch ('k') | third_party/sqlite/icu-shell.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698