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

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

Issue 1269293003: Explicitly pass -Wno-unused-function to the targets that need it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnnnnnnnnnnn Created 5 years, 4 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 | « third_party/sqlite/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('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) 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 }, 110 },
111 }], 111 }],
112 ], 112 ],
113 }, { # !use_system_sqlite 113 }, { # !use_system_sqlite
114 'product_name': 'sqlite3', 114 'product_name': 'sqlite3',
115 'type': 'static_library', 115 'type': 'static_library',
116 'sources': [ 116 'sources': [
117 'amalgamation/sqlite3.h', 117 'amalgamation/sqlite3.h',
118 'amalgamation/sqlite3.c', 118 'amalgamation/sqlite3.c',
119 ], 119 ],
120 'variables': {
121 'clang_warning_flags': [
122 # sqlite contains a few functions that are unused, at least on
123 # Windows with Chromium's sqlite patches applied
124 # (interiorCursorEOF fts3EvalDeferredPhrase
125 # fts3EvalSelectDeferred sqlite3Fts3InitHashTable
126 # sqlite3Fts3InitTok).
127 '-Wno-unused-function',
128 ],
129 },
120 'include_dirs': [ 130 'include_dirs': [
121 'amalgamation', 131 'amalgamation',
122 ], 132 ],
123 'dependencies': [ 133 'dependencies': [
124 '../icu/icu.gyp:icui18n', 134 '../icu/icu.gyp:icui18n',
125 '../icu/icu.gyp:icuuc', 135 '../icu/icu.gyp:icuuc',
126 ], 136 ],
127 'direct_dependent_settings': { 137 'direct_dependent_settings': {
128 'include_dirs': [ 138 'include_dirs': [
129 '.', 139 '.',
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 'SQLITE_CORE', 219 'SQLITE_CORE',
210 ], 220 ],
211 'sources': [ 221 'sources': [
212 'src/ext/icu/icu.c', 222 'src/ext/icu/icu.c',
213 ], 223 ],
214 }, 224 },
215 ], 225 ],
216 }], 226 }],
217 ], 227 ],
218 } 228 }
OLDNEW
« no previous file with comments | « third_party/sqlite/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698