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

Side by Side 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: 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/all_messages.h » ('j') | chrome/common/all_messages.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 gypi_values = exec_script("//build/gypi_to_gn.py", 7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("../chrome_common.gypi") ], 8 [ rebase_path("../chrome_common.gypi") ],
9 "scope", 9 "scope",
10 [ "../chrome_common.gypi" ]) 10 [ "../chrome_common.gypi" ])
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 "//chrome/app/theme:theme_resources", 52 "//chrome/app/theme:theme_resources",
53 "//chrome/common:constants", 53 "//chrome/common:constants",
54 "//chrome/common/net", 54 "//chrome/common/net",
55 "//chrome/common/safe_browsing:proto", 55 "//chrome/common/safe_browsing:proto",
56 "//chrome/installer/util", 56 "//chrome/installer/util",
57 "//components/cloud_devices/common", 57 "//components/cloud_devices/common",
58 "//components/content_settings/core/common", 58 "//components/content_settings/core/common",
59 "//components/json_schema", 59 "//components/json_schema",
60 "//components/metrics", 60 "//components/metrics",
61 "//components/policy:policy_component_common", 61 "//components/policy:policy_component_common",
62 "//components/printing/common:printing_common",
63 "//components/translate/core/common", 62 "//components/translate/core/common",
64 "//components/variations", 63 "//components/variations",
65 "//content/public/common", 64 "//content/public/common",
66 "//crypto", 65 "//crypto",
67 "//extensions/common:common_constants", 66 "//extensions/common:common_constants",
68 "//net", 67 "//net",
69 "//skia", 68 "//skia",
70 "//third_party/icu", 69 "//third_party/icu",
71 "//third_party/libxml", 70 "//third_party/libxml",
72 "//third_party/sqlite", 71 "//third_party/sqlite",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") 128 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome")
130 } 129 }
131 130
132 if (enable_nacl) { 131 if (enable_nacl) {
133 deps += [ 132 deps += [
134 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) 133 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP)
135 ] 134 ]
136 } 135 }
137 136
138 # Printing. 137 # Printing.
139 if (!enable_basic_printing && !enable_print_preview) { 138 if (enable_basic_printing || enable_print_preview) {
140 sources -= [ 139 deps += [
141 "print_messages.cc", 140 "//components/printing/common:printing_common",
Vitaly Buka (NO REVIEWS) 2015/01/21 00:59:59 I guess printing_common should have printing in de
dgn 2015/01/22 00:14:29 But there are references to //printing directly, n
142 "print_messages.h", 141 "//printing" ,
143 ] 142 ]
144 } else {
145 deps += [ "//printing" ]
146 if (enable_print_preview) { 143 if (enable_print_preview) {
147 # Full printing support. 144 # Full printing support.
148 sources += rebase_path(gypi_values.chrome_common_service_process_sources, 145 sources += rebase_path(gypi_values.chrome_common_service_process_sources,
149 ".", 146 ".",
150 "//chrome") 147 "//chrome")
151 } 148 }
152 } 149 }
153 150
154 if (enable_service_discovery) { 151 if (enable_service_discovery) {
155 sources += [ 152 sources += [
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 ] 292 ]
296 } 293 }
297 294
298 if (enable_extensions) { 295 if (enable_extensions) {
299 sources += [ 296 sources += [
300 "extensions/extension_test_util.cc", 297 "extensions/extension_test_util.cc",
301 "extensions/extension_test_util.h", 298 "extensions/extension_test_util.h",
302 ] 299 ]
303 } 300 }
304 } 301 }
OLDNEW
« no previous file with comments | « no previous file | chrome/common/all_messages.h » ('j') | chrome/common/all_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698