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

Side by Side Diff: printing/printing.gyp

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: format and merge Created 4 years, 4 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 | « printing/printed_document_linux.cc ('k') | printing/printing_context_chromeos.h » ('j') | 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 # of the print backend and enables a custom implementation instead. 122 # of the print backend and enables a custom implementation instead.
123 'PRINT_BACKEND_AVAILABLE', 123 'PRINT_BACKEND_AVAILABLE',
124 ], 124 ],
125 'sources': [ 125 'sources': [
126 'backend/win_helper.cc', 126 'backend/win_helper.cc',
127 'backend/win_helper.h', 127 'backend/win_helper.h',
128 ], 128 ],
129 }], 129 }],
130 ['chromeos==1',{ 130 ['chromeos==1',{
131 'sources': [ 131 'sources': [
132 'printed_document_chromeos.cc',
132 'printing_context_no_system_dialog.cc', 133 'printing_context_no_system_dialog.cc',
133 'printing_context_no_system_dialog.h', 134 'printing_context_no_system_dialog.h',
134 ], 135 ],
135 }], 136 }],
136 ['use_cups==1', { 137 ['use_cups==1', {
137 'dependencies': [ 138 'dependencies': [
138 'cups', 139 'cups',
139 ], 140 ],
140 'variables': { 141 'variables': {
141 'cups_version': '<!(python cups_config_helper.py --api-version <(sys root))', 142 'cups_version': '<!(python cups_config_helper.py --api-version <(sys root))',
(...skipping 30 matching lines...) Expand all
172 'backend/cups_connection.cc', 173 'backend/cups_connection.cc',
173 'backend/cups_connection.h', 174 'backend/cups_connection.h',
174 'backend/cups_deleters.cc', 175 'backend/cups_deleters.cc',
175 'backend/cups_deleters.h', 176 'backend/cups_deleters.h',
176 'backend/cups_ipp_util.cc', 177 'backend/cups_ipp_util.cc',
177 'backend/cups_ipp_util.h', 178 'backend/cups_ipp_util.h',
178 'backend/cups_printer.cc', 179 'backend/cups_printer.cc',
179 'backend/cups_printer.h', 180 'backend/cups_printer.h',
180 'backend/print_backend_cups_ipp.cc', 181 'backend/print_backend_cups_ipp.cc',
181 'backend/print_backend_cups_ipp.h', 182 'backend/print_backend_cups_ipp.h',
183 'printing_context_chromeos.cc',
184 'printing_context_chromeos.h',
182 ], 185 ],
183 }, { # chromeos==0 186 }, { # chromeos==0
184 'sources': [ 187 'sources': [
185 'backend/cups_helper.cc', 188 'backend/cups_helper.cc',
186 'backend/cups_helper.h', 189 'backend/cups_helper.h',
187 'backend/print_backend_cups.cc', 190 'backend/print_backend_cups.cc',
188 ], 191 ],
189 }], 192 }],
190 ], 193 ],
191 'defines': [ 194 'defines': [
192 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 195 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
193 # of the print backend and enables a custom implementation instead. 196 # of the print backend and enables a custom implementation instead.
194 'PRINT_BACKEND_AVAILABLE', 197 'PRINT_BACKEND_AVAILABLE',
195 ], 198 ],
196 }], 199 }],
197 ['OS=="linux" and chromeos==1', { 200 ['OS=="linux" and chromeos==1', {
198 'defines': [ 201 'defines': [
199 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation 202 # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
200 # of the print backend and enables a custom implementation instead. 203 # of the print backend and enables a custom implementation instead.
201 'PRINT_BACKEND_AVAILABLE', 204 'PRINT_BACKEND_AVAILABLE',
202 ], 205 ],
203 'sources': [ 206 'sources': [
204 'backend/print_backend_chromeos.cc', 207 'backend/print_backend_chromeos.cc',
208 'printed_document_chromeos.cc',
205 ], 209 ],
206 }], 210 }],
207 ['OS=="linux" and chromeos==0', { 211 ['OS=="linux" and chromeos==0', {
208 'sources': [ 212 'sources': [
209 'printed_document_linux.cc', 213 'printed_document_linux.cc',
210 'printing_context_linux.cc', 214 'printing_context_linux.cc',
211 'printing_context_linux.h', 215 'printing_context_linux.h',
212 ], 216 ],
213 }], 217 }],
214 ['OS=="android"', { 218 ['OS=="android"', {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 '../build/isolate.gypi', 354 '../build/isolate.gypi',
351 ], 355 ],
352 'sources': [ 356 'sources': [
353 'printing_unittests.isolate', 357 'printing_unittests.isolate',
354 ], 358 ],
355 }, 359 },
356 ], 360 ],
357 }], 361 }],
358 ] 362 ]
359 } 363 }
OLDNEW
« no previous file with comments | « printing/printed_document_linux.cc ('k') | printing/printing_context_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698