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

Unified Diff: chrome/common/BUILD.gn

Issue 857053002: Generate the print messages in components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reorder imports Created 5 years, 11 months 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: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index d6a03e0fc327ee420e593cd2d16d697999e63115..8bb987531c822bf7d8269bbd71cdedc9d6ee3e71 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -59,7 +59,6 @@ static_library("common") {
"//components/json_schema",
"//components/metrics",
"//components/policy:policy_component_common",
- "//components/printing/common:printing_common",
"//components/translate/core/common",
"//components/variations",
"//content/public/common",
@@ -144,13 +143,11 @@ static_library("common") {
}
# Printing.
- if (!enable_basic_printing && !enable_print_preview) {
- sources -= [
- "print_messages.cc",
- "print_messages.h",
+ if (enable_basic_printing || enable_print_preview) {
+ deps += [
+ "//components/printing/common:printing_common",
+ "//printing",
]
- } else {
- deps += [ "//printing" ]
if (enable_print_preview) {
# Full printing support.
sources += rebase_path(gypi_values.chrome_common_service_process_sources,
« no previous file with comments | « no previous file | chrome/common/all_messages.h » ('j') | components/printing/common/printing_param_traits_macros.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698