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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 "//base:prefs", | 48 "//base:prefs", |
49 "//base:base_static", | 49 "//base:base_static", |
50 "//chrome:resources", | 50 "//chrome:resources", |
51 "//chrome:strings", | 51 "//chrome:strings", |
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/component_updater", |
58 "//components/content_settings/core/common", | 59 "//components/content_settings/core/common", |
59 "//components/favicon_base", | 60 "//components/favicon_base", |
60 "//components/json_schema", | 61 "//components/json_schema", |
61 "//components/metrics", | 62 "//components/metrics", |
62 "//components/policy:policy_component_common", | 63 "//components/policy:policy_component_common", |
63 "//components/translate/core/common", | 64 "//components/translate/core/common", |
64 "//components/variations", | 65 "//components/variations", |
65 "//content/public/common", | 66 "//content/public/common", |
66 "//crypto", | 67 "//crypto", |
67 "//extensions/common:common_constants", | 68 "//extensions/common:common_constants", |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 # Non-Android. | 185 # Non-Android. |
185 sources += | 186 sources += |
186 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") | 187 rebase_path(gypi_values.chrome_common_importer_sources, ".", "//chrome") |
187 } | 188 } |
188 | 189 |
189 if (is_chromeos) { | 190 if (is_chromeos) { |
190 sources -= [ "chrome_version_info_posix.cc" ] | 191 sources -= [ "chrome_version_info_posix.cc" ] |
191 } | 192 } |
192 | 193 |
193 if (is_win) { | 194 if (is_win) { |
194 deps += [ "//third_party/wtl" ] | 195 deps += [ |
| 196 "//components/dom_distiller/core", # Needed by chrome_content_client.cc. |
| 197 "//third_party/wtl", |
| 198 ] |
195 } | 199 } |
196 | 200 |
197 if (enable_mdns) { | 201 if (enable_mdns) { |
198 sources += [ "local_discovery/local_discovery_messages.h" ] | 202 sources += [ "local_discovery/local_discovery_messages.h" ] |
199 } | 203 } |
200 | 204 |
201 if (is_mac) { | 205 if (is_mac) { |
202 sources -= [ "chrome_version_info_posix.cc" ] | 206 sources -= [ "chrome_version_info_posix.cc" ] |
203 deps += [ | 207 deps += [ |
204 "//third_party/mach_override", | 208 "//third_party/mach_override", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 "mac/app_mode_chrome_locator.mm", | 333 "mac/app_mode_chrome_locator.mm", |
330 "mac/app_mode_common.h", | 334 "mac/app_mode_common.h", |
331 "mac/app_mode_common.mm", | 335 "mac/app_mode_common.mm", |
332 ] | 336 ] |
333 | 337 |
334 deps = [ | 338 deps = [ |
335 ":constants", | 339 ":constants", |
336 "//base", | 340 "//base", |
337 ] | 341 ] |
338 } | 342 } |
OLD | NEW |