Chromium Code Reviews| Index: printing/printing.gyp |
| diff --git a/printing/printing.gyp b/printing/printing.gyp |
| index 8490a03b3fcd89b6c64bf22c2554a84dbf04b816..3928e4c5739564ffc6f378ef7a6fcfdf754ddd8a 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 |
|
Lei Zhang
2013/04/15 23:00:47
Can you wrap at 80 lines? We try to when possible.
|
| + # for now as supported Linux and Mac OS'es are still using older |
| + # versions of CUPS. |
| + '-Wno-deprecated-declarations', |
| + ], |
| + }], |
| ], |
| 'defines': [ |
| # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |