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

Side by Side Diff: printing/printing.gyp

Issue 14262006: Disable deprecation warnings for CUPS as the compile fails when using CUPS 1.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 | « no previous file | 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 ['chromeos==1 or use_aura==1',{ 155 ['chromeos==1 or use_aura==1',{
156 'sources': [ 156 'sources': [
157 'printing_context_no_system_dialog.cc', 157 'printing_context_no_system_dialog.cc',
158 'printing_context_no_system_dialog.h', 158 'printing_context_no_system_dialog.h',
159 ], 159 ],
160 }], 160 }],
161 ['use_cups==1', { 161 ['use_cups==1', {
162 'dependencies': [ 162 'dependencies': [
163 'cups', 163 'cups',
164 ], 164 ],
165 'variables': {
166 'cups_version': '<!(cups-config --api-version)',
167 },
165 'conditions': [ 168 'conditions': [
166 ['OS!="mac"', { 169 ['OS!="mac"', {
167 'dependencies': [ 170 'dependencies': [
168 '../build/linux/system.gyp:libgcrypt', 171 '../build/linux/system.gyp:libgcrypt',
169 ], 172 ],
170 }], 173 }],
174 ['cups_version=="1.6"', {
175 'cflags': [
176 # CUPS 1.6 deprecated the PPD APIs, but we will stay with this
177 # API for now as supported Linux and Mac OS'es are still using
178 # older versions of CUPS. More info: crbug.com/226176
179 '-Wno-deprecated-declarations',
180 ],
181 }],
171 ], 182 ],
172 'defines': [ 183 'defines': [
173 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 184 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
174 # of the print backend and enables a custom implementation instead. 185 # of the print backend and enables a custom implementation instead.
175 'PRINT_BACKEND_AVAILABLE', 186 'PRINT_BACKEND_AVAILABLE',
176 ], 187 ],
177 'sources': [ 188 'sources': [
178 'backend/cups_helper.cc', 189 'backend/cups_helper.cc',
179 'backend/cups_helper.h', 190 'backend/cups_helper.h',
180 'backend/print_backend_cups.cc', 191 'backend/print_backend_cups.cc',
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 '<!@(python cups_config_helper.py --cflags)', 299 '<!@(python cups_config_helper.py --cflags)',
289 ], 300 ],
290 }], 301 }],
291 ], 302 ],
292 }, 303 },
293 }], 304 }],
294 ], 305 ],
295 }, 306 },
296 ], 307 ],
297 } 308 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698