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

Side by Side Diff: third_party/libxml/libxml.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/libxml/BUILD.gn ('k') | third_party/libxslt/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 'conditions': [ 7 'conditions': [
8 # Define an "os_include" variable that points at the OS-specific generated 8 # Define an "os_include" variable that points at the OS-specific generated
9 # headers. These were generated by running the configure script offline. 9 # headers. These were generated by running the configure script offline.
10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 '-Wno-empty-body', 210 '-Wno-empty-body',
211 # debugXML.c compares array 'arg' to NULL. 211 # debugXML.c compares array 'arg' to NULL.
212 '-Wno-tautological-pointer-compare', 212 '-Wno-tautological-pointer-compare',
213 # See http://crbug.com/138571#c8 213 # See http://crbug.com/138571#c8
214 '-Wno-ignored-attributes', 214 '-Wno-ignored-attributes',
215 # libxml casts from int to long to void*. 215 # libxml casts from int to long to void*.
216 '-Wno-int-to-void-pointer-cast', 216 '-Wno-int-to-void-pointer-cast',
217 # libxml passes a volatile LPCRITICAL_SECTION* to a function 217 # libxml passes a volatile LPCRITICAL_SECTION* to a function
218 # expecting a void* volatile*. 218 # expecting a void* volatile*.
219 '-Wno-incompatible-pointer-types', 219 '-Wno-incompatible-pointer-types',
220 # trio_is_special_quantity and trio_is_negative are only
221 # used with certain preprocessor defines set.
222 '-Wno-unused-function',
220 ], 223 ],
221 }, 224 },
222 'include_dirs': [ 225 'include_dirs': [
223 '<(os_include)', 226 '<(os_include)',
224 '<(os_include)/include', 227 '<(os_include)/include',
225 'src/include', 228 'src/include',
226 ], 229 ],
227 'dependencies': [ 230 'dependencies': [
228 '../icu/icu.gyp:icuuc', 231 '../icu/icu.gyp:icuuc',
229 '../zlib/zlib.gyp:zlib', 232 '../zlib/zlib.gyp:zlib',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 }], 270 }],
268 ], 271 ],
269 }], 272 }],
270 ['OS == "ios"', { 273 ['OS == "ios"', {
271 'toolsets': ['host', 'target'], 274 'toolsets': ['host', 'target'],
272 }], 275 }],
273 ], 276 ],
274 }, 277 },
275 ], 278 ],
276 } 279 }
OLDNEW
« no previous file with comments | « third_party/libxml/BUILD.gn ('k') | third_party/libxslt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698