| OLD | NEW |
| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 'sources': [ | 132 'sources': [ |
| 133 'printing_context_no_system_dialog.cc', | 133 'printing_context_no_system_dialog.cc', |
| 134 'printing_context_no_system_dialog.h', | 134 'printing_context_no_system_dialog.h', |
| 135 ], | 135 ], |
| 136 }], | 136 }], |
| 137 ['use_cups==1', { | 137 ['use_cups==1', { |
| 138 'dependencies': [ | 138 'dependencies': [ |
| 139 'cups', | 139 'cups', |
| 140 ], | 140 ], |
| 141 'variables': { | 141 'variables': { |
| 142 'cups_version': '<!(cups-config --api-version)', | 142 'cups_version': '<!(python cups_config_helper.py --api-version <(sys
root))', |
| 143 }, | 143 }, |
| 144 'conditions': [ | 144 'conditions': [ |
| 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. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 '../build/isolate.gypi', | 337 '../build/isolate.gypi', |
| 338 ], | 338 ], |
| 339 'sources': [ | 339 'sources': [ |
| 340 'printing_unittests.isolate', | 340 'printing_unittests.isolate', |
| 341 ], | 341 ], |
| 342 }, | 342 }, |
| 343 ], | 343 ], |
| 344 }], | 344 }], |
| 345 ] | 345 ] |
| 346 } | 346 } |
| OLD | NEW |