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

Unified Diff: printing/printing.gyp

Issue 2105463002: Create a new print backend for the updated CUPS APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. 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 side-by-side diff with in-line comments
Download patch
Index: printing/printing.gyp
diff --git a/printing/printing.gyp b/printing/printing.gyp
index be202cbfdb838df6337f342c91c59be37cda7058..a7a35c9034f1bd18f2c15e9c38dec8a6d00d096c 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -72,7 +72,6 @@
'print_settings_initializer_win.h',
'printed_document.cc',
'printed_document.h',
- 'printed_document_linux.cc',
'printed_document_mac.cc',
'printed_document_win.cc',
'printed_page.cc',
@@ -174,10 +173,28 @@
# of the print backend and enables a custom implementation instead.
'PRINT_BACKEND_AVAILABLE',
],
- 'sources': [
- 'backend/cups_helper.cc',
- 'backend/cups_helper.h',
- 'backend/print_backend_cups.cc',
+
+ 'conditions': [
+ ['chromeos==1', {
+ 'sources': [
+ 'backend/cups_connection.cc',
+ 'backend/cups_connection.h',
+ 'backend/cups_deleter.cc',
+ 'backend/cups_deleter.h',
+ 'backend/cups_ipp_util.cc',
+ 'backend/cups_ipp_util.h',
+ 'backend/cups_printer.cc',
+ 'backend/cups_printer.h',
+ 'backend/print_backend_cups_ipp.cc',
+ 'backend/print_backend_cups_ipp.h',
+ ],
+ }, { # chromeos==0
+ 'sources': [
+ 'backend/cups_helper.cc',
+ 'backend/cups_helper.h',
+ 'backend/print_backend_cups.cc',
+ ],
+ }],
],
}],
['OS=="linux" and chromeos==1', {
@@ -192,6 +209,7 @@
}],
['OS=="linux" and chromeos==0', {
'sources': [
+ 'printed_document_linux.cc',
'printing_context_linux.cc',
'printing_context_linux.h',
],
« printing/backend/cups_ipp_util.cc ('K') | « printing/backend/print_backend_cups_ipp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698