Index: printing/BUILD.gn |
diff --git a/printing/BUILD.gn b/printing/BUILD.gn |
index fbbf79cde972628f74133d6bf2393cf4ebb0ac8c..8727eeb194ef093affbe78559b13f2be4eb1a41f 100644 |
--- a/printing/BUILD.gn |
+++ b/printing/BUILD.gn |
@@ -169,12 +169,25 @@ component("printing") { |
# of the print backend and enables a custom implementation instead. |
defines += [ "PRINT_BACKEND_AVAILABLE" ] |
- sources += [ |
- "backend/cups_helper.cc", |
- "backend/cups_helper.h", |
- "backend/print_backend_cups.cc", |
- "backend/print_backend_cups.h", |
- ] |
+ if (is_chromeos) { |
Lei Zhang
2016/07/08 01:19:50
How about GYP?
skau
2016/07/08 21:24:08
Sorry, I forgot. On the bright side, it looks lik
|
+ sources += [ |
+ "backend/cups_connection.cc", |
+ "backend/cups_connection.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", |
+ ] |
+ } else { |
+ sources += [ |
+ "backend/cups_helper.cc", |
+ "backend/cups_helper.h", |
+ "backend/print_backend_cups.cc", |
+ "backend/print_backend_cups.h", |
+ ] |
+ } |
} |
if (is_chromeos) { |