| Index: printing/printing.gyp
|
| diff --git a/printing/printing.gyp b/printing/printing.gyp
|
| index 8490a03b3fcd89b6c64bf22c2554a84dbf04b816..be4d88356d6100948a6525112e6934ad92bd4d74 100644
|
| --- a/printing/printing.gyp
|
| +++ b/printing/printing.gyp
|
| @@ -162,12 +162,23 @@
|
| 'dependencies': [
|
| 'cups',
|
| ],
|
| + 'variables': {
|
| + 'cups_version': '<!(cups-config --api-version)',
|
| + },
|
| 'conditions': [
|
| ['OS!="mac"', {
|
| 'dependencies': [
|
| '../build/linux/system.gyp:libgcrypt',
|
| ],
|
| }],
|
| + ['cups_version=="1.6"', {
|
| + 'cflags': [
|
| + # CUPS 1.6 deprecated the PPD APIs, but we will stay with this
|
| + # API for now as supported Linux and Mac OS'es are still using
|
| + # older versions of CUPS. More info: crbug.com/226176
|
| + '-Wno-deprecated-declarations',
|
| + ],
|
| + }],
|
| ],
|
| 'defines': [
|
| # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
|
|
|