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

Side by Side Diff: printing/printing.gyp

Issue 2117903002: printing: Adjust deprecation warning flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « printing/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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ['cups_version in ["1.6", "1.7"]', { 145 ['cups_version in ["1.6", "1.7"]', {
146 'cflags': [ 146 'cflags': [
147 # CUPS 1.6 deprecated the PPD APIs, but we will stay with this 147 # CUPS 1.6 deprecated the PPD APIs, but we will stay with this
148 # API for now as supported Linux and Mac OS'es are still using 148 # API for now as supported Linux and Mac OS'es are still using
149 # older versions of CUPS. More info: crbug.com/226176 149 # older versions of CUPS. More info: crbug.com/226176
150 '-Wno-deprecated-declarations', 150 '-Wno-deprecated-declarations',
151 # CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section 151 # CUPS 1.7 deprecates httpConnectEncrypt(), see the mac section
152 # below. 152 # below.
153 ], 153 ],
154 }], 154 }],
155 ['OS=="mac" and mac_sdk=="10.9"', { 155 ['OS=="mac"', {
156 # The 10.9 SDK includes cups 1.7, which deprecates 156 # The 10.9 SDK includes cups 1.7, which deprecates
157 # httpConnectEncrypt() in favor of httpConnect2(). hhttpConnect2() 157 # httpConnectEncrypt() in favor of httpConnect2(). hhttpConnect2()
158 # is new in 1.7, so it doesn't exist on OS X 10.6-10.8 and we 158 # is new in 1.7, so it doesn't exist on OS X 10.6-10.8 and we
159 # can't use it until 10.9 is our minimum system version. 159 # can't use it until 10.9 is our minimum system version.
160 # (cups_version isn't reliable on OS X, so key the check off of 160 # (cups_version isn't reliable on OS X, so key the check off of
161 # mac_sdk). 161 # mac_sdk).
162 # With a 10.8 deployment target, several other APIs are
163 # deprecated. We're still on CUPS 1.4 until Linux no longer
164 # needs to support it, see comment above.
162 'xcode_settings': { 165 'xcode_settings': {
163 'WARNING_CFLAGS': [ 166 'WARNING_CFLAGS': [
164 '-Wno-deprecated-declarations', 167 '-Wno-deprecated-declarations',
165 ], 168 ],
166 }, 169 },
167 }], 170 }],
168 ], 171 ],
169 'defines': [ 172 'defines': [
170 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 173 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
171 # of the print backend and enables a custom implementation instead. 174 # of the print backend and enables a custom implementation instead.
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 '../build/isolate.gypi', 331 '../build/isolate.gypi',
329 ], 332 ],
330 'sources': [ 333 'sources': [
331 'printing_unittests.isolate', 334 'printing_unittests.isolate',
332 ], 335 ],
333 }, 336 },
334 ], 337 ],
335 }], 338 }],
336 ] 339 ]
337 } 340 }
OLDNEW
« no previous file with comments | « printing/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698