| 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',
|
| ],
|
|
|