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

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

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 | « third_party/sqlite/BUILD.gn ('k') | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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': {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 }, 103 },
104 'msvs_disabled_warnings': [ 104 'msvs_disabled_warnings': [
105 4018, 4244, 4267, 105 4018, 4244, 4267,
106 ], 106 ],
107 'variables': { 107 'variables': {
108 'clang_warning_flags': [ 108 'clang_warning_flags': [
109 # sqlite does `if (*a++ && *b++);` in a non-buggy way. 109 # sqlite does `if (*a++ && *b++);` in a non-buggy way.
110 '-Wno-empty-body', 110 '-Wno-empty-body',
111 # sqlite has some `unsigned < 0` checks. 111 # sqlite has some `unsigned < 0` checks.
112 '-Wno-tautological-compare', 112 '-Wno-tautological-compare',
113 # Needed because we don't have this commit yet:
114 # https://github.com/mackyle/sqlite/commit/25df0fa050dcc9be7fb937b 8e25be24049b3fef0
115 '-Wno-pointer-bool-conversion',
113 ], 116 ],
114 }, 117 },
115 'conditions': [ 118 'conditions': [
116 ['OS=="linux"', { 119 ['OS=="linux"', {
117 'link_settings': { 120 'link_settings': {
118 'libraries': [ 121 'libraries': [
119 '-ldl', 122 '-ldl',
120 ], 123 ],
121 }, 124 },
122 }], 125 }],
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 '../icu/icu.gyp:icuuc', 216 '../icu/icu.gyp:icuuc',
214 ], 217 ],
215 'sources': [ 218 'sources': [
216 'src/ext/icu/icu.c', 219 'src/ext/icu/icu.c',
217 ], 220 ],
218 }, 221 },
219 ], 222 ],
220 }], 223 }],
221 ], 224 ],
222 } 225 }
OLDNEW
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698