Index: printing/printing.gyp |
diff --git a/printing/printing.gyp b/printing/printing.gyp |
index 8fc63dc35f4ac61659922df201ae5443712d5f74..3c43ce9837612fb5c7f104257391a36a19ac3b25 100644 |
--- a/printing/printing.gyp |
+++ b/printing/printing.gyp |
@@ -167,12 +167,19 @@ |
], |
}, |
}], |
+ ], |
+ 'defines': [ |
+ # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
+ # of the print backend and enables a custom implementation instead. |
+ 'PRINT_BACKEND_AVAILABLE', |
+ ], |
+ 'conditions': [ |
['chromeos==1', { |
'sources': [ |
'backend/cups_connection.cc', |
'backend/cups_connection.h', |
- 'backend/cups_deleter.cc', |
- 'backend/cups_deleter.h', |
+ 'backend/cups_deleters.cc', |
+ 'backend/cups_deleters.h', |
'backend/cups_ipp_util.cc', |
'backend/cups_ipp_util.h', |
'backend/cups_printer.cc', |
@@ -188,11 +195,6 @@ |
], |
}], |
], |
- 'defines': [ |
- # PRINT_BACKEND_AVAILABLE disables the default dummy implementation |
- # of the print backend and enables a custom implementation instead. |
- 'PRINT_BACKEND_AVAILABLE', |
- ], |
}], |
['OS=="linux" and chromeos==1', { |
'defines': [ |