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 1d9ded2917e2adb37f67fdfce62426339fb183fe..8726927e57990e8f1a167a6fc2b775036a0bc862 100644 |
--- a/build/secondary/tools/grit/grit_rule.gni |
+++ b/build/secondary/tools/grit/grit_rule.gni |
@@ -159,9 +159,9 @@ 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) { |
+ if (enable_print_preview) { |
grit_defines += [ "-D", "enable_print_preview" ] |
} |
} |