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

Unified Diff: chrome/common/features.gni

Issue 2458833005: Move printing defines to buildflag system. (Closed)
Patch Set: Merge Created 4 years, 1 month 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/common/common_message_generator.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/features.gni
diff --git a/chrome/common/features.gni b/chrome/common/features.gni
index 50ce0c265c53d1f5e2bf4cd7a9bd5289da0a2038..6f90abe33fc95081a3d41c6b506383504b3c4487 100644
--- a/chrome/common/features.gni
+++ b/chrome/common/features.gni
@@ -7,6 +7,7 @@ import("//build/config/chromecast_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/features.gni")
import("//net/features.gni")
+import("//printing/features/features.gni")
# Please keep features in alphabetical order.
declare_args() {
@@ -74,12 +75,16 @@ declare_args() {
use_vulcanize = true
}
+_enable_printing = enable_basic_printing || enable_print_preview
+
chrome_grit_defines = [
"enable_app_list=$enable_app_list",
"enable_background=$enable_background",
"enable_google_now=$enable_google_now",
"enable_hangout_services_extension=$enable_hangout_services_extension",
"enable_hotwording=$enable_hotwording",
+ "enable_print_preview=$enable_print_preview",
+ "enable_printing=$_enable_printing",
"enable_service_discovery=$enable_service_discovery",
"enable_vr_shell=$enable_vr_shell",
"enable_webvr=$enable_webvr",
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/url_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698