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

Side by Side Diff: third_party/sqlite/sqlite.gyp

Issue 6835006: Convert to SQLite amalgamation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/preprocessed/sqlite3.h ('k') | third_party/sqlite/sqlite3.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'use_system_sqlite%': 0, 7 'use_system_sqlite%': 0,
8 'required_sqlite_version': '3.6.1', 8 'required_sqlite_version': '3.6.1',
9 }, 9 },
10 'target_defaults': { 10 'target_defaults': {
11 'defines': [ 11 'defines': [
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ], 62 ],
63 'libraries': [ 63 'libraries': [
64 '<!@(pkg-config --libs-only-l sqlite3)', 64 '<!@(pkg-config --libs-only-l sqlite3)',
65 ], 65 ],
66 }, 66 },
67 }, { # else: OS != "linux" or ! use_system_sqlite 67 }, { # else: OS != "linux" or ! use_system_sqlite
68 'product_name': 'sqlite3', 68 'product_name': 'sqlite3',
69 'type': '<(library)', 69 'type': '<(library)',
70 'msvs_guid': '6EAD4A4B-2BBC-4974-8E45-BB5C16CC2AC9', 70 'msvs_guid': '6EAD4A4B-2BBC-4974-8E45-BB5C16CC2AC9',
71 'sources': [ 71 'sources': [
72 # This list contains all .h, .c, and .cc files in the directories 72 'amalgamation/sqlite3.h',
73 # ext, preprocessed, and src, with the exception of src/lempar.c, 73 'amalgamation/sqlite3.c',
74 # src/shell*, and src/test*. Exclusions are applied below in the 74 # fts2.c currently has a lot of conflicts when added to
75 # sources/ and sources! sections. 75 # the amalgamation. It is probably not worth fixing that.
76 'preprocessed/keywordhash.h',
77 'preprocessed/opcodes.c',
78 'preprocessed/opcodes.h',
79 'preprocessed/parse.c',
80 'preprocessed/parse.h',
81 'preprocessed/sqlite3.h',
82 'src/ext/async/sqlite3async.c',
83 'src/ext/async/sqlite3async.h',
84 'src/ext/fts1/ft_hash.c',
85 'src/ext/fts1/ft_hash.h',
86 'src/ext/fts1/fts1.c',
87 'src/ext/fts1/fts1.h',
88 'src/ext/fts1/fts1_hash.c',
89 'src/ext/fts1/fts1_hash.h',
90 'src/ext/fts1/fts1_porter.c',
91 'src/ext/fts1/fts1_tokenizer.h',
92 'src/ext/fts1/fts1_tokenizer1.c',
93 'src/ext/fts1/fulltext.c',
94 'src/ext/fts1/fulltext.h',
95 'src/ext/fts1/simple_tokenizer.c',
96 'src/ext/fts1/tokenizer.h',
97 'src/ext/fts2/fts2.c', 76 'src/ext/fts2/fts2.c',
98 'src/ext/fts2/fts2.h', 77 'src/ext/fts2/fts2.h',
99 'src/ext/fts2/fts2_hash.c', 78 'src/ext/fts2/fts2_hash.c',
100 'src/ext/fts2/fts2_hash.h', 79 'src/ext/fts2/fts2_hash.h',
101 'src/ext/fts2/fts2_icu.c', 80 'src/ext/fts2/fts2_icu.c',
102 'src/ext/fts2/fts2_porter.c', 81 'src/ext/fts2/fts2_porter.c',
103 'src/ext/fts2/fts2_tokenizer.c', 82 'src/ext/fts2/fts2_tokenizer.c',
104 'src/ext/fts2/fts2_tokenizer.h', 83 'src/ext/fts2/fts2_tokenizer.h',
105 'src/ext/fts2/fts2_tokenizer1.c', 84 'src/ext/fts2/fts2_tokenizer1.c',
106 'src/ext/fts3/fts3.c',
107 'src/ext/fts3/fts3.h',
108 'src/ext/fts3/fts3_expr.c',
109 'src/ext/fts3/fts3_expr.h',
110 'src/ext/fts3/fts3_hash.c',
111 'src/ext/fts3/fts3_hash.h',
112 'src/ext/fts3/fts3_icu.c',
113 'src/ext/fts3/fts3_porter.c',
114 'src/ext/fts3/fts3_tokenizer.c',
115 'src/ext/fts3/fts3_tokenizer.h',
116 'src/ext/fts3/fts3_tokenizer1.c',
117 'src/ext/icu/icu.c',
118 'src/ext/icu/sqliteicu.h',
119 'src/ext/rtree/rtree.c',
120 'src/ext/rtree/rtree.h',
121 'src/src/alter.c',
122 'src/src/analyze.c',
123 'src/src/attach.c',
124 'src/src/auth.c',
125 'src/src/backup.c',
126 'src/src/bitvec.c',
127 'src/src/btmutex.c',
128 'src/src/btree.c',
129 'src/src/btree.h',
130 'src/src/btreeInt.h',
131 'src/src/build.c',
132 'src/src/callback.c',
133 'src/src/complete.c',
134 'src/src/date.c',
135 'src/src/delete.c',
136 'src/src/expr.c',
137 'src/src/fault.c',
138 'src/src/func.c',
139 'src/src/global.c',
140 'src/src/hash.c',
141 'src/src/hash.h',
142 'src/src/hwtime.h',
143 'src/src/insert.c',
144 'src/src/journal.c',
145 'src/src/legacy.c',
146 'src/src/loadext.c',
147 'src/src/main.c',
148 'src/src/malloc.c',
149 'src/src/mem0.c',
150 'src/src/mem1.c',
151 'src/src/mem2.c',
152 'src/src/mem3.c',
153 'src/src/mem5.c',
154 'src/src/memjournal.c',
155 'src/src/mutex.c',
156 'src/src/mutex.h',
157 'src/src/mutex_noop.c',
158 'src/src/mutex_os2.c',
159 'src/src/mutex_unix.c',
160 'src/src/mutex_w32.c',
161 'src/src/notify.c',
162 'src/src/os.c',
163 'src/src/os.h',
164 'src/src/os_common.h',
165 'src/src/os_os2.c',
166 'src/src/os_symbian.cc',
167 'src/src/os_unix.c',
168 'src/src/os_win.c',
169 'src/src/pager.c',
170 'src/src/pager.h',
171 'src/src/pcache.c',
172 'src/src/pcache.h',
173 'src/src/pcache1.c',
174 'src/src/pragma.c',
175 'src/src/prepare.c',
176 'src/src/printf.c',
177 'src/src/random.c',
178 'src/src/resolve.c',
179 'src/src/rowset.c',
180 'src/src/select.c',
181 'src/src/sqlite3ext.h',
182 'src/src/sqliteInt.h',
183 'src/src/sqliteLimit.h',
184 'src/src/status.c',
185 'src/src/table.c',
186 'src/src/tclsqlite.c',
187 'src/src/tokenize.c',
188 'src/src/trigger.c',
189 'src/src/update.c',
190 'src/src/utf.c',
191 'src/src/util.c',
192 'src/src/vacuum.c',
193 'src/src/vdbe.c',
194 'src/src/vdbe.h',
195 'src/src/vdbeInt.h',
196 'src/src/vdbeapi.c',
197 'src/src/vdbeaux.c',
198 'src/src/vdbeblob.c',
199 'src/src/vdbemem.c',
200 'src/src/vtab.c',
201 'src/src/walker.c',
202 'src/src/where.c',
203 ], 85 ],
204 'sources/': [ 86
205 ['exclude', '^src/ext/(fts1|rtree)/'], 87 # TODO(shess): Previously fts1 and rtree files were
206 ['exclude', '(symbian|os2|noop)\\.cc?$'], 88 # explicitly excluded from the build. Make sure they are
207 ], 89 # logically still excluded.
208 'sources!': [ 90
209 'src/src/journal.c', 91 # TODO(shess): Should all of the sources be listed and then
210 'src/src/tclsqlite.c', 92 # excluded? For editing purposes?
211 ], 93
212 'include_dirs': [ 94 'include_dirs': [
213 'preprocessed', 95 'amalgamation',
214 'src/ext/icu', 96 # Needed for fts2 to build.
215 'src/src', 97 'src/src',
216 ], 98 ],
217 'dependencies': [ 99 'dependencies': [
218 '../icu/icu.gyp:icui18n', 100 '../icu/icu.gyp:icui18n',
219 '../icu/icu.gyp:icuuc', 101 '../icu/icu.gyp:icuuc',
220 ], 102 ],
221 'direct_dependent_settings': { 103 'direct_dependent_settings': {
222 'include_dirs': [ 104 'include_dirs': [
223 '.', 105 '.',
224 '../..', 106 '../..',
225 ], 107 ],
226 }, 108 },
227 'msvs_disabled_warnings': [ 109 'msvs_disabled_warnings': [
228 4018, 4244, 110 4018, 4244,
229 ], 111 ],
230 'conditions': [ 112 'conditions': [
231 ['OS=="win"', {
232 'sources/': [['exclude', '_unix\\.cc?$']],
233 }, { # else: OS!="win"
234 'sources/': [['exclude', '_(w32|win)\\.cc?$']],
235 }],
236 ['OS=="linux"', { 113 ['OS=="linux"', {
237 'cflags': [ 114 'cflags': [
238 # SQLite doesn't believe in compiler warnings, 115 # SQLite doesn't believe in compiler warnings,
239 # preferring testing. 116 # preferring testing.
240 # http://www.sqlite.org/faq.html#q17 117 # http://www.sqlite.org/faq.html#q17
241 '-Wno-int-to-pointer-cast', 118 '-Wno-int-to-pointer-cast',
242 '-Wno-pointer-to-int-cast', 119 '-Wno-pointer-to-int-cast',
243 ], 120 ],
244 }], 121 }],
245 ], 122 ],
(...skipping 22 matching lines...) Expand all
268 ], 145 ],
269 },] 146 },]
270 ], 147 ],
271 } 148 }
272 149
273 # Local Variables: 150 # Local Variables:
274 # tab-width:2 151 # tab-width:2
275 # indent-tabs-mode:nil 152 # indent-tabs-mode:nil
276 # End: 153 # End:
277 # vim: set expandtab tabstop=2 shiftwidth=2: 154 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/sqlite/preprocessed/sqlite3.h ('k') | third_party/sqlite/sqlite3.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698