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

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

Issue 742783005: clang: Suppress a new warning in sqlite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/sqlite/sqlite.gyp » ('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 config("sqlite_config") { 5 config("sqlite_config") {
6 include_dirs = [ "." ] 6 include_dirs = [ "." ]
7 } 7 }
8 8
9 source_set("sqlite") { 9 source_set("sqlite") {
10 sources = [ 10 sources = [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "DSQLITE_DEFAULT_FILE_FORMAT=4", 76 "DSQLITE_DEFAULT_FILE_FORMAT=4",
77 ] 77 ]
78 } 78 }
79 79
80 if (is_clang) { 80 if (is_clang) {
81 cflags += [ 81 cflags += [
82 # sqlite does `if (*a++ && *b++);` in a non-buggy way. 82 # sqlite does `if (*a++ && *b++);` in a non-buggy way.
83 "-Wno-empty-body", 83 "-Wno-empty-body",
84 # sqlite has some `unsigned < 0` checks. 84 # sqlite has some `unsigned < 0` checks.
85 "-Wno-tautological-compare", 85 "-Wno-tautological-compare",
86 # Needed because we don't have this commit yet:
87 # https://github.com/mackyle/sqlite/commit/25df0fa050dcc9be7fb937b8e25be24 049b3fef0
88 "-Wno-pointer-bool-conversion",
86 ] 89 ]
87 } 90 }
88 91
89 public_configs = [ ":sqlite_config" ] 92 public_configs = [ ":sqlite_config" ]
90 93
91 deps = [ 94 deps = [
92 "//third_party/icu", 95 "//third_party/icu",
93 ] 96 ]
94 } 97 }
95 98
(...skipping 12 matching lines...) Expand all
108 ] 111 ]
109 } 112 }
110 } 113 }
111 114
112 if (is_ios) { 115 if (is_ios) {
113 source_set("sqlite_regexp") { 116 source_set("sqlite_regexp") {
114 sources = [ "src/ext/icu/icu.c" ] 117 sources = [ "src/ext/icu/icu.c" ]
115 deps = [ "//third_party/icu" ] 118 deps = [ "//third_party/icu" ]
116 } 119 }
117 } 120 }
OLDNEW
« no previous file with comments | « no previous file | third_party/sqlite/sqlite.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698