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

Side by Side Diff: third_party/libxslt/libxslt.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/libxslt/BUILD.gn ('k') | third_party/snappy/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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 ['os_posix == 1 and OS != "mac"', { 8 ['os_posix == 1 and OS != "mac"', {
9 'os_include': 'linux' 9 'os_include': 'linux'
10 }], 10 }],
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ], 107 ],
108 }, 108 },
109 'msvs_disabled_warnings': [ 109 'msvs_disabled_warnings': [
110 # size_t to int conversion. 110 # size_t to int conversion.
111 4267, 111 4267,
112 ], 112 ],
113 'variables': { 113 'variables': {
114 'clang_warning_flags': [ 114 'clang_warning_flags': [
115 # libxslt stores a char[3] in a `const unsigned char*`. 115 # libxslt stores a char[3] in a `const unsigned char*`.
116 '-Wno-pointer-sign', 116 '-Wno-pointer-sign',
117 # xsltDefaultRegion and xsltCalibrateTimestamps are only
118 # used with certain preprocessor defines set.
119 '-Wno-unused-function',
117 ], 120 ],
118 }, 121 },
119 'conditions': [ 122 'conditions': [
120 ['OS!="win"', {'product_name': 'xslt'}], 123 ['OS!="win"', {'product_name': 'xslt'}],
121 ], 124 ],
122 }], 125 }],
123 ], 126 ],
124 }, 127 },
125 ], 128 ],
126 } 129 }
OLDNEW
« no previous file with comments | « third_party/libxslt/BUILD.gn ('k') | third_party/snappy/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698