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

Unified Diff: gears/SConscript.sqlite

Issue 232: Initial Gears SConscript file. Doesn't build yet. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « gears/SConscript.portaudio ('k') | gears/SConscript.zlib » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gears/SConscript.sqlite
===================================================================
--- gears/SConscript.sqlite (revision 0)
+++ gears/SConscript.sqlite (revision 0)
@@ -0,0 +1,124 @@
+# Copyright (c) 2008 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Ripped and modded from chrome.
+
+Import('env')
+
+env = env.Clone(
+)
+
+env.Replace(
+ SQLITE_DIR = '$THIRD_PARTY_DIR/sqlite_google',
+ CPPPATH = [
+# from Chrome
+# '$ICU38_DIR/public/common',
+# '$ICU38_DIR/public/i18n',
+
+ '$SQLITE_DIR/src',
+ '$SQLITE_DIR/preprocessed',
+ ],
+)
+
+env.Append(
+# from Chrome
+# CPPDEFINES = [
+# 'U_STATIC_IMPLEMENTATION',
+# 'SQLITE_ENABLE_FTS2',
+# 'SQLITE_ENABLE_BROKEN_FTS2',
+# 'SQLITE_ENABLE_ICU',
+# 'SQLITE_SECURE_DELETE',
+# 'THREADSAFE',
+# ['_HAS_EXCEPTIONS', '0'],
+# ],
+
+ CPPDEFINES = [
+ 'SQLITE_CORE',
+ 'SQLITE_ENABLE_FTS1',
+ 'SQLITE_ENABLE_BROKEN_FTS1',
+ 'SQLITE_ENABLE_FTS2',
+ 'SQLITE_ENABLE_BROKEN_FTS2',
+ 'THREADSAFE=1',
+ 'SQLITE_DEFAULT_FILE_PERMISSIONS=0600',
+ 'SQLITE_OMIT_ATTACH=1',
+ 'SQLITE_OMIT_LOAD_EXTENSION=1',
+ 'SQLITE_OMIT_VACUUM=1',
+ 'SQLITE_TRANSACTION_DEFAULT_IMMEDIATE=1',
+ ],
+)
+
+if env['PLATFORM'] == 'win32':
+ env.Append(
+ CPPFLAGS = [
+ # from Chrome
+ '/TC',
+ '/wd4800',
+ '/wd4244',
+
+ # from Gears
+ '/wd4018',
+ '/wd4146',
+ ],
+ )
+
+input_files = [
+ '$SQLITE_DIR/src/alter.c',
+ '$SQLITE_DIR/src/analyze.c',
+ '$SQLITE_DIR/src/attach.c',
+ '$SQLITE_DIR/src/auth.c',
+ '$SQLITE_DIR/src/btree.c',
+ '$SQLITE_DIR/src/build.c',
+ '$SQLITE_DIR/src/callback.c',
+ '$SQLITE_DIR/src/complete.c',
+ '$SQLITE_DIR/src/date.c',
+ '$SQLITE_DIR/src/delete.c',
+ '$SQLITE_DIR/src/expr.c',
+ '$SQLITE_DIR/ext/fts1/fts1.c',
+ '$SQLITE_DIR/ext/fts1/fts1_hash.c',
+# '$SQLITE_DIR/ext/fts1/fts1_icu.c',
+ '$SQLITE_DIR/ext/fts1/fts1_porter.c',
+# '$SQLITE_DIR/ext/fts1/fts1_tokenizer.c',
+ '$SQLITE_DIR/ext/fts1/fts1_tokenizer1.c',
+ '$SQLITE_DIR/ext/fts2/fts2.c',
+ '$SQLITE_DIR/ext/fts2/fts2_hash.c',
+# '$SQLITE_DIR/ext/fts2/fts2_icu.c',
+ '$SQLITE_DIR/ext/fts2/fts2_porter.c',
+# '$SQLITE_DIR/ext/fts2/fts2_tokenizer.c',
+ '$SQLITE_DIR/ext/fts2/fts2_tokenizer1.c',
+ '$SQLITE_DIR/src/func.c',
+ '$SQLITE_DIR/src/hash.c',
+ '$SQLITE_DIR/src/insert.c',
+ '$SQLITE_DIR/src/legacy.c',
+ '$SQLITE_DIR/src/loadext.c',
+ '$SQLITE_DIR/src/main.c',
+ '$SQLITE_DIR/src/malloc.c',
+ '$SQLITE_DIR/preprocessed/opcodes.c',
+ '$SQLITE_DIR/src/os.c',
+ '$SQLITE_DIR/src/os_win.c',
+ '$SQLITE_DIR/src/pager.c',
+ '$SQLITE_DIR/preprocessed/parse.c',
+ '$SQLITE_DIR/src/pragma.c',
+ '$SQLITE_DIR/src/prepare.c',
+ '$SQLITE_DIR/src/printf.c',
+ '$SQLITE_DIR/src/random.c',
+ '$SQLITE_DIR/src/select.c',
+# '$SQLITE_DIR/src/shell.c',
+ '$SQLITE_DIR/src/table.c',
+ '$SQLITE_DIR/src/tokenize.c',
+ '$SQLITE_DIR/src/trigger.c',
+ '$SQLITE_DIR/src/update.c',
+ '$SQLITE_DIR/src/utf.c',
+ '$SQLITE_DIR/src/util.c',
+ '$SQLITE_DIR/src/vacuum.c',
+ '$SQLITE_DIR/src/vdbe.c',
+ '$SQLITE_DIR/src/vdbeapi.c',
+ '$SQLITE_DIR/src/vdbeaux.c',
+ '$SQLITE_DIR/src/vdbeblob.c',
+ '$SQLITE_DIR/src/vdbefifo.c',
+ '$SQLITE_DIR/src/vdbemem.c',
+ '$SQLITE_DIR/src/vtab.c',
+ '$SQLITE_DIR/src/where.c',
+]
+
+env.ChromeStaticLibrary('sqlite-gears', input_files)
« no previous file with comments | « gears/SConscript.portaudio ('k') | gears/SConscript.zlib » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698