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

Side by Side Diff: printing/printing.gyp

Issue 1526033002: printing: Invoke cups-config from the sysroot if one is being used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
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