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

Unified Diff: printing/features/BUILD.gn

Issue 2556023002: Added flags for PrintBrowser mode (Closed)
Patch Set: Replaced enable-print-browser feature flag with command line switch. Created 4 years 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
Index: printing/features/BUILD.gn
diff --git a/printing/features/BUILD.gn b/printing/features/BUILD.gn
index cdcfd794774c97648b2ce43f6eae4ec841b18d23..5b302575ff3cb685aeb7358f345dec2b89352843 100644
--- a/printing/features/BUILD.gn
+++ b/printing/features/BUILD.gn
@@ -13,11 +13,15 @@ buildflag_header("features") {
header = "features.h"
# Convenience define for ENABLE_BASIC_PRINTING || ENABLE_PRINT_PREVIEW.
+ if (enable_print_browser) {
+ enable_print_preview = true
+ }
enable_printing = enable_basic_printing || enable_print_preview
flags = [
"ENABLE_PRINTING=$enable_printing",
"ENABLE_BASIC_PRINTING=$enable_basic_printing",
"ENABLE_PRINT_PREVIEW=$enable_print_preview",
+ "ENABLE_PRINT_BROWSER=$enable_print_browser",
]
}

Powered by Google App Engine
This is Rietveld 408576698