OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 source_set("app") { | 48 source_set("app") { |
49 sources = [ | 49 sources = [ |
50 "app/blimp_browser_main_parts.cc", | 50 "app/blimp_browser_main_parts.cc", |
51 "app/blimp_browser_main_parts.h", | 51 "app/blimp_browser_main_parts.h", |
52 "app/blimp_content_browser_client.cc", | 52 "app/blimp_content_browser_client.cc", |
53 "app/blimp_content_browser_client.h", | 53 "app/blimp_content_browser_client.h", |
54 "app/blimp_content_main_delegate.cc", | 54 "app/blimp_content_main_delegate.cc", |
55 "app/blimp_content_main_delegate.h", | 55 "app/blimp_content_main_delegate.h", |
56 ] | 56 ] |
57 | 57 |
| 58 public_deps = [ |
| 59 ":app_metrics", |
| 60 ] |
| 61 |
58 deps = [ | 62 deps = [ |
59 ":app_config", | 63 ":app_config", |
60 ":app_net", | 64 ":app_net", |
61 ":app_permissions", | 65 ":app_permissions", |
62 ":app_settings", | 66 ":app_settings", |
63 ":app_switches", | 67 ":app_switches", |
64 ":app_ui", | 68 ":app_ui", |
65 ":blob_channel", | 69 ":blob_channel", |
66 ":common", | 70 ":common", |
67 ":renderer", | 71 ":renderer", |
68 ":session", | 72 ":session", |
69 "//base", | 73 "//base", |
70 "//blimp/common", | 74 "//blimp/common", |
71 "//blimp/common/proto", | 75 "//blimp/common/proto", |
72 "//blimp/engine:blob_channel_mojo_cpp_sources", | 76 "//blimp/engine:blob_channel_mojo_cpp_sources", |
73 "//blimp/net", | 77 "//blimp/net", |
| 78 "//components/metrics", |
| 79 "//components/metrics:gpu", |
| 80 "//components/metrics:net", |
| 81 "//components/metrics:profiler", |
| 82 "//components/metrics:ui", |
| 83 "//components/prefs", |
| 84 "//components/web_cache/renderer", |
| 85 "//content", |
74 "//content/public/app:both", | 86 "//content/public/app:both", |
75 "//content/public/browser", | 87 "//content/public/browser", |
76 "//content/public/common", | 88 "//content/public/common", |
77 "//content/public/renderer", | 89 "//content/public/renderer", |
78 "//content/public/utility", | 90 "//content/public/utility", |
79 "//net", | 91 "//net", |
80 ] | 92 ] |
81 } | 93 } |
82 | 94 |
83 source_set("app_config") { | 95 source_set("app_config") { |
84 sources = [ | 96 sources = [ |
85 "app/blimp_engine_config.cc", | 97 "app/blimp_engine_config.cc", |
86 "app/blimp_engine_config.h", | 98 "app/blimp_engine_config.h", |
87 ] | 99 ] |
88 deps = [ | 100 deps = [ |
89 ":app_switches", | 101 ":app_switches", |
90 "//base", | 102 "//base", |
91 ] | 103 ] |
92 } | 104 } |
93 | 105 |
| 106 source_set("app_metrics") { |
| 107 sources = [ |
| 108 "app/blimp_metrics_service_client.cc", |
| 109 "app/blimp_metrics_service_client.h", |
| 110 ] |
| 111 |
| 112 public_deps = [ |
| 113 "//components/metrics", |
| 114 "//content/public/browser", |
| 115 ] |
| 116 |
| 117 deps = [ |
| 118 "//base", |
| 119 "//base:i18n", |
| 120 "//components/metrics:gpu", |
| 121 "//components/metrics:net", |
| 122 "//components/metrics:profiler", |
| 123 "//components/metrics:ui", |
| 124 "//components/prefs", |
| 125 "//net", |
| 126 ] |
| 127 } |
| 128 |
94 source_set("app_net") { | 129 source_set("app_net") { |
95 sources = [ | 130 sources = [ |
96 "app/blimp_network_delegate.cc", | 131 "app/blimp_network_delegate.cc", |
97 "app/blimp_network_delegate.h", | 132 "app/blimp_network_delegate.h", |
98 "app/blimp_system_url_request_context_getter.cc", | 133 "app/blimp_system_url_request_context_getter.cc", |
99 "app/blimp_system_url_request_context_getter.h", | 134 "app/blimp_system_url_request_context_getter.h", |
100 "app/blimp_url_request_context_getter.cc", | 135 "app/blimp_url_request_context_getter.cc", |
101 "app/blimp_url_request_context_getter.h", | 136 "app/blimp_url_request_context_getter.h", |
102 ] | 137 ] |
103 deps = [ | 138 deps = [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 203 |
169 source_set("common") { | 204 source_set("common") { |
170 sources = [ | 205 sources = [ |
171 "common/blimp_browser_context.cc", | 206 "common/blimp_browser_context.cc", |
172 "common/blimp_browser_context.h", | 207 "common/blimp_browser_context.h", |
173 "common/blimp_content_client.cc", | 208 "common/blimp_content_client.cc", |
174 "common/blimp_content_client.h", | 209 "common/blimp_content_client.h", |
175 ] | 210 ] |
176 | 211 |
177 deps = [ | 212 deps = [ |
| 213 ":app_metrics", |
178 ":app_net", | 214 ":app_net", |
179 ":app_permissions", | 215 ":app_permissions", |
180 ":common_user_agent", | 216 ":common_user_agent", |
181 "//base", | 217 "//base", |
182 "//content/public/browser", | 218 "//components/metrics", |
| 219 "//components/pref_registry", |
| 220 "//components/prefs", |
| 221 "//components/version_info", |
183 "//content/public/common", | 222 "//content/public/common", |
184 "//net", | 223 "//net", |
185 "//ui/base", | 224 "//ui/base", |
186 ] | 225 ] |
187 } | 226 } |
188 | 227 |
189 source_set("common_user_agent") { | 228 source_set("common_user_agent") { |
190 sources = [ | 229 sources = [ |
191 "common/blimp_user_agent.cc", | 230 "common/blimp_user_agent.cc", |
192 "common/blimp_user_agent.h", | 231 "common/blimp_user_agent.h", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 sources = [ | 326 sources = [ |
288 "mojo/blob_channel.mojom", | 327 "mojo/blob_channel.mojom", |
289 ] | 328 ] |
290 } | 329 } |
291 | 330 |
292 source_set("app_unit_tests") { | 331 source_set("app_unit_tests") { |
293 testonly = true | 332 testonly = true |
294 | 333 |
295 sources = [ | 334 sources = [ |
296 "app/blimp_engine_config_unittest.cc", | 335 "app/blimp_engine_config_unittest.cc", |
| 336 "app/blimp_metrics_service_client_unittest.cc", |
297 "app/settings_manager_unittest.cc", | 337 "app/settings_manager_unittest.cc", |
298 "app/ui/blimp_screen_unittest.cc", | 338 "app/ui/blimp_screen_unittest.cc", |
299 ] | 339 ] |
300 | 340 |
301 deps = [ | 341 deps = [ |
302 ":app", | 342 ":app", |
303 ":app_config", | 343 ":app_config", |
| 344 ":app_metrics", |
304 ":app_settings", | 345 ":app_settings", |
305 ":app_switches", | 346 ":app_switches", |
306 "//base", | 347 "//base", |
307 "//base/test:run_all_unittests", | 348 "//base/test:run_all_unittests", |
308 "//base/test:test_support", | 349 "//base/test:test_support", |
309 "//blimp/engine:app_ui", | 350 "//blimp/engine:app_ui", |
| 351 "//components/pref_registry:pref_registry", |
| 352 "//components/prefs:prefs", |
| 353 "//net:test_support", |
310 "//testing/gmock", | 354 "//testing/gmock", |
311 "//testing/gtest", | 355 "//testing/gtest", |
312 "//ui/display", | 356 "//ui/display", |
313 "//ui/gfx:test_support", | 357 "//ui/gfx:test_support", |
314 ] | 358 ] |
315 } | 359 } |
316 | 360 |
317 source_set("feature_unit_tests") { | 361 source_set("feature_unit_tests") { |
318 testonly = true | 362 testonly = true |
319 | 363 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 _rebased_dockerfile, | 456 _rebased_dockerfile, |
413 "--startup-script", | 457 "--startup-script", |
414 _rebased_startup_script, | 458 _rebased_startup_script, |
415 "--manifest", | 459 "--manifest", |
416 _rebased_manifest, | 460 _rebased_manifest, |
417 "--output", | 461 "--output", |
418 rebase_path(_bundle), | 462 rebase_path(_bundle), |
419 ] | 463 ] |
420 } | 464 } |
421 } | 465 } |
OLD | NEW |