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

Unified Diff: printing/BUILD.gn

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: typos 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
« no previous file with comments | « no previous file | printing/backend/cups_connection.h » ('j') | printing/backend/cups_connection.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | printing/backend/cups_connection.h » ('j') | printing/backend/cups_connection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698