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

Unified Diff: printing/BUILD.gn

Issue 1934013002: Enable the cups backend when --enable-native-cups is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cupsFlag
Patch Set: Select the printing backends at runtime via --enable-native-cups Created 4 years, 6 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 | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | printing/backend/print_backend.h » ('j') | no next file with comments »
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 4046dc4f4b9385a6f76e84f0362e67cb471a42e4..fd966fea5ecf750e3fe79428483b811e69299e89 100644
--- a/printing/BUILD.gn
+++ b/printing/BUILD.gn
@@ -123,13 +123,6 @@ component("printing") {
]
}
- if (is_chromeos) {
- sources += [
- "printing_context_no_system_dialog.cc",
- "printing_context_no_system_dialog.h",
- ]
- }
-
if (use_cups) {
configs += [ ":cups" ]
@@ -177,15 +170,18 @@ component("printing") {
"backend/cups_helper.cc",
"backend/cups_helper.h",
"backend/print_backend_cups.cc",
+ "backend/print_backend_cups.h",
]
}
if (is_chromeos) {
- # PRINT_BACKEND_AVAILABLE disables the default dummy implementation
- # of the print backend and enables a custom implementation instead.
defines += [ "PRINT_BACKEND_AVAILABLE" ]
- sources += [ "backend/print_backend_chromeos.cc" ]
+ sources += [
+ "backend/print_backend_chromeos.cc",
+ "printing_context_no_system_dialog.cc",
+ "printing_context_no_system_dialog.h",
+ ]
} else if (is_linux) { # Non-ChromeOS Linux.
sources += [
"printing_context_linux.cc",
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | printing/backend/print_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698