OLD | NEW |
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 Loading... |
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") | 136 rebase_path(gypi_values.chrome_common_mac_sources, ".", "//chrome") |
138 } | 137 } |
139 | 138 |
140 if (enable_nacl) { | 139 if (enable_nacl) { |
141 deps += [ | 140 deps += [ |
142 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) | 141 #'<(DEPTH)/components/nacl.gyp:nacl_common', TODO(GYP) |
143 ] | 142 ] |
144 } | 143 } |
145 | 144 |
146 # Printing. | 145 # Printing. |
147 if (!enable_basic_printing && !enable_print_preview) { | 146 if (enable_basic_printing || enable_print_preview) { |
148 sources -= [ | 147 deps += [ |
149 "print_messages.cc", | 148 "//components/printing/common:printing_common", |
150 "print_messages.h", | 149 "//printing", |
151 ] | 150 ] |
152 } else { | |
153 deps += [ "//printing" ] | |
154 if (enable_print_preview) { | 151 if (enable_print_preview) { |
155 # Full printing support. | 152 # Full printing support. |
156 sources += rebase_path(gypi_values.chrome_common_service_process_sources, | 153 sources += rebase_path(gypi_values.chrome_common_service_process_sources, |
157 ".", | 154 ".", |
158 "//chrome") | 155 "//chrome") |
159 } | 156 } |
160 } | 157 } |
161 | 158 |
162 if (enable_service_discovery) { | 159 if (enable_service_discovery) { |
163 sources += [ | 160 sources += [ |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 ] | 300 ] |
304 } | 301 } |
305 | 302 |
306 if (enable_extensions) { | 303 if (enable_extensions) { |
307 sources += [ | 304 sources += [ |
308 "extensions/extension_test_util.cc", | 305 "extensions/extension_test_util.cc", |
309 "extensions/extension_test_util.h", | 306 "extensions/extension_test_util.h", |
310 ] | 307 ] |
311 } | 308 } |
312 } | 309 } |
OLD | NEW |