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

Unified Diff: build/secondary/tools/grit/grit_rule.gni

Issue 706203003: Update from https://crrev.com/303153 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « build/mac/tweak_info_plist.py ('k') | build/toolchain/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/tools/grit/grit_rule.gni
diff --git a/build/secondary/tools/grit/grit_rule.gni b/build/secondary/tools/grit/grit_rule.gni
index 572b11f22943b008a27f83ce9bcd2c22443938c2..8726927e57990e8f1a167a6fc2b775036a0bc862 100644
--- a/build/secondary/tools/grit/grit_rule.gni
+++ b/build/secondary/tools/grit/grit_rule.gni
@@ -159,10 +159,10 @@ if (enable_extensions) {
if (enable_plugins) {
grit_defines += [ "-D", "enable_plugins" ]
}
-if (printing_mode != 0) {
+if (enable_basic_printing || enable_print_preview) {
grit_defines += [ "-D", "enable_printing" ]
- if (printing_mode == 1) {
- grit_defines += [ "-D", "enable_full_printing" ]
+ if (enable_print_preview) {
+ grit_defines += [ "-D", "enable_print_preview" ]
}
}
if (enable_themes) {
« no previous file with comments | « build/mac/tweak_info_plist.py ('k') | build/toolchain/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698