Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index be272badab0a5477b40b3694dc9e2b99be3aa84b..eef610e4f303a75a44fcb8682e38ea82d4ddf329 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -218,9 +218,9 @@ group("browser_dependencies") { |
] |
} |
- if (printing_mode != 0) { |
+ if (enable_basic_printing || enable_print_preview) { |
deps += [ "//printing" ] |
- if (printing_mode == 1) { |
+ if (enable_print_preview) { |
deps += [ "//chrome/service" ] |
} |
} |