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

Side by Side Diff: printing/BUILD.gn

Issue 2117713002: Print directly to CUPS using the IPP APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ippRead
Patch Set: Skip compiling the chromeos context if we don't compile against cups Created 4 years, 5 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 | « no previous file | printing/metafile.h » ('j') | printing/metafile.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/test.gni") 8 import("//testing/test.gni")
9 if (is_mac) { 9 if (is_mac) {
10 import("//build/config/mac/mac_sdk.gni") 10 import("//build/config/mac/mac_sdk.gni")
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 "print_settings.cc", 51 "print_settings.cc",
52 "print_settings.h", 52 "print_settings.h",
53 "print_settings_conversion.cc", 53 "print_settings_conversion.cc",
54 "print_settings_conversion.h", 54 "print_settings_conversion.h",
55 "print_settings_initializer_mac.cc", 55 "print_settings_initializer_mac.cc",
56 "print_settings_initializer_mac.h", 56 "print_settings_initializer_mac.h",
57 "print_settings_initializer_win.cc", 57 "print_settings_initializer_win.cc",
58 "print_settings_initializer_win.h", 58 "print_settings_initializer_win.h",
59 "printed_document.cc", 59 "printed_document.cc",
60 "printed_document.h", 60 "printed_document.h",
61 "printed_document_linux.cc",
62 "printed_document_mac.cc", 61 "printed_document_mac.cc",
63 "printed_document_win.cc", 62 "printed_document_win.cc",
64 "printed_page.cc", 63 "printed_page.cc",
65 "printed_page.h", 64 "printed_page.h",
66 "printed_pages_source.h", 65 "printed_pages_source.h",
67 "printing_context.cc", 66 "printing_context.cc",
68 "printing_context.h", 67 "printing_context.h",
69 "printing_utils.cc", 68 "printing_utils.cc",
70 "printing_utils.h", 69 "printing_utils.h",
71 "units.cc", 70 "units.cc",
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 "backend/cups_connection.cc", 173 "backend/cups_connection.cc",
175 "backend/cups_connection.h", 174 "backend/cups_connection.h",
176 "backend/cups_deleters.cc", 175 "backend/cups_deleters.cc",
177 "backend/cups_deleters.h", 176 "backend/cups_deleters.h",
178 "backend/cups_ipp_util.cc", 177 "backend/cups_ipp_util.cc",
179 "backend/cups_ipp_util.h", 178 "backend/cups_ipp_util.h",
180 "backend/cups_printer.cc", 179 "backend/cups_printer.cc",
181 "backend/cups_printer.h", 180 "backend/cups_printer.h",
182 "backend/print_backend_cups_ipp.cc", 181 "backend/print_backend_cups_ipp.cc",
183 "backend/print_backend_cups_ipp.h", 182 "backend/print_backend_cups_ipp.h",
183 "printing_context_chromeos.cc",
184 "printing_context_chromeos.h",
184 ] 185 ]
185 } else { 186 } else {
186 sources += [ 187 sources += [
187 "backend/cups_helper.cc", 188 "backend/cups_helper.cc",
188 "backend/cups_helper.h", 189 "backend/cups_helper.h",
189 "backend/print_backend_cups.cc", 190 "backend/print_backend_cups.cc",
190 "backend/print_backend_cups.h", 191 "backend/print_backend_cups.h",
191 ] 192 ]
192 } 193 }
193 } 194 }
194 195
195 if (is_chromeos) { 196 if (is_chromeos) {
196 defines += [ "PRINT_BACKEND_AVAILABLE" ] 197 defines += [ "PRINT_BACKEND_AVAILABLE" ]
197 198
198 sources += [ 199 sources += [
199 "backend/print_backend_chromeos.cc", 200 "backend/print_backend_chromeos.cc",
201 "printed_document_chromeos.cc",
200 "printing_context_no_system_dialog.cc", 202 "printing_context_no_system_dialog.cc",
201 "printing_context_no_system_dialog.h", 203 "printing_context_no_system_dialog.h",
202 ] 204 ]
203 } else if (is_linux) { # Non-ChromeOS Linux. 205 } else if (is_linux) { # Non-ChromeOS Linux.
204 sources += [ 206 sources += [
207 "printed_document_linux.cc",
205 "printing_context_linux.cc", 208 "printing_context_linux.cc",
206 "printing_context_linux.h", 209 "printing_context_linux.h",
207 ] 210 ]
208 } 211 }
209 212
210 if (is_android) { 213 if (is_android) {
211 sources += [ 214 sources += [
212 "printing_context_android.cc", 215 "printing_context_android.cc",
213 "printing_context_android.h", 216 "printing_context_android.h",
214 ] 217 ]
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 "android/java/src/org/chromium/printing/PrintManagerDelegate.java", 305 "android/java/src/org/chromium/printing/PrintManagerDelegate.java",
303 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java", 306 "android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java",
304 "android/java/src/org/chromium/printing/Printable.java", 307 "android/java/src/org/chromium/printing/Printable.java",
305 "android/java/src/org/chromium/printing/PrintingContext.java", 308 "android/java/src/org/chromium/printing/PrintingContext.java",
306 "android/java/src/org/chromium/printing/PrintingContextInterface.java", 309 "android/java/src/org/chromium/printing/PrintingContextInterface.java",
307 "android/java/src/org/chromium/printing/PrintingController.java", 310 "android/java/src/org/chromium/printing/PrintingController.java",
308 "android/java/src/org/chromium/printing/PrintingControllerImpl.java", 311 "android/java/src/org/chromium/printing/PrintingControllerImpl.java",
309 ] 312 ]
310 } 313 }
311 } 314 }
OLDNEW
« no previous file with comments | « no previous file | printing/metafile.h » ('j') | printing/metafile.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698