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

Side by Side Diff: third_party/sqlite/BUILD.gn

Issue 1636873003: Try for backport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzsql_import3_10_2_websql_backport
Patch Set: Created 4 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 | « no previous file | third_party/sqlite/amalgamation/sqlite3.00.c » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 declare_args() { 5 declare_args() {
6 # Controls whether the build should uses the version of sqlite3 library 6 # Controls whether the build should uses the version of sqlite3 library
7 # shipped with the system (currently only supported on iOS) or the one 7 # shipped with the system (currently only supported on iOS) or the one
8 # shipped with Chromium source. 8 # shipped with Chromium source.
9 use_system_sqlite = is_ios 9 use_system_sqlite = is_ios
10 } 10 }
(...skipping 19 matching lines...) Expand all
30 ] 30 ]
31 } 31 }
32 } 32 }
33 33
34 # "sqlite3" can cause conflicts with the system library. 34 # "sqlite3" can cause conflicts with the system library.
35 component("chromium_sqlite3") { 35 component("chromium_sqlite3") {
36 visibility = [ ":*" ] 36 visibility = [ ":*" ]
37 37
38 sources = [ 38 sources = [
39 "amalgamation/config.h", 39 "amalgamation/config.h",
40 "amalgamation/sqlite3.c", 40 "amalgamation/sqlite3.00.c",
41 "amalgamation/sqlite3.h", 41 "amalgamation/sqlite3.h",
42 ] 42 ]
43 43
44 cflags = [] 44 cflags = []
45 defines = [ 45 defines = [
46 "SQLITE_ENABLE_FTS3", 46 "SQLITE_ENABLE_FTS3",
47 47
48 # New unicode61 tokenizer with built-in tables. 48 # New unicode61 tokenizer with built-in tables.
49 "SQLITE_DISABLE_FTS3_UNICODE", 49 "SQLITE_DISABLE_FTS3_UNICODE",
50 50
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "//third_party/icu", 242 "//third_party/icu",
243 ] 243 ]
244 if (is_clang) { 244 if (is_clang) {
245 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about 245 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about
246 # conversion from string literal to bool. 246 # conversion from string literal to bool.
247 configs -= [ "//build/config/clang:extra_warnings" ] 247 configs -= [ "//build/config/clang:extra_warnings" ]
248 } 248 }
249 } 249 }
250 } 250 }
251 } 251 }
OLDNEW
« no previous file with comments | « no previous file | third_party/sqlite/amalgamation/sqlite3.00.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698