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 ] |
| 115 |
| 116 deps = [ |
| 117 "//base", |
| 118 "//components/metrics:gpu", |
| 119 "//components/metrics:net", |
| 120 "//components/metrics:profiler", |
| 121 "//components/metrics:ui", |
| 122 "//components/prefs", |
| 123 ] |
| 124 } |
| 125 |
94 source_set("app_net") { | 126 source_set("app_net") { |
95 sources = [ | 127 sources = [ |
96 "app/blimp_network_delegate.cc", | 128 "app/blimp_network_delegate.cc", |
97 "app/blimp_network_delegate.h", | 129 "app/blimp_network_delegate.h", |
98 "app/blimp_system_url_request_context_getter.cc", | 130 "app/blimp_system_url_request_context_getter.cc", |
99 "app/blimp_system_url_request_context_getter.h", | 131 "app/blimp_system_url_request_context_getter.h", |
100 "app/blimp_url_request_context_getter.cc", | 132 "app/blimp_url_request_context_getter.cc", |
101 "app/blimp_url_request_context_getter.h", | 133 "app/blimp_url_request_context_getter.h", |
102 ] | 134 ] |
103 deps = [ | 135 deps = [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 | 200 |
169 source_set("common") { | 201 source_set("common") { |
170 sources = [ | 202 sources = [ |
171 "common/blimp_browser_context.cc", | 203 "common/blimp_browser_context.cc", |
172 "common/blimp_browser_context.h", | 204 "common/blimp_browser_context.h", |
173 "common/blimp_content_client.cc", | 205 "common/blimp_content_client.cc", |
174 "common/blimp_content_client.h", | 206 "common/blimp_content_client.h", |
175 ] | 207 ] |
176 | 208 |
177 deps = [ | 209 deps = [ |
| 210 ":app_metrics", |
178 ":app_net", | 211 ":app_net", |
179 ":app_permissions", | 212 ":app_permissions", |
180 ":common_user_agent", | 213 ":common_user_agent", |
181 "//base", | 214 "//base", |
182 "//content/public/browser", | 215 "//components/metrics", |
| 216 "//components/pref_registry", |
| 217 "//components/prefs", |
| 218 "//components/version_info", |
183 "//content/public/common", | 219 "//content/public/common", |
184 "//net", | 220 "//net", |
185 "//ui/base", | 221 "//ui/base", |
186 ] | 222 ] |
187 } | 223 } |
188 | 224 |
189 source_set("common_user_agent") { | 225 source_set("common_user_agent") { |
190 sources = [ | 226 sources = [ |
191 "common/blimp_user_agent.cc", | 227 "common/blimp_user_agent.cc", |
192 "common/blimp_user_agent.h", | 228 "common/blimp_user_agent.h", |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 sources = [ | 323 sources = [ |
288 "mojo/blob_channel.mojom", | 324 "mojo/blob_channel.mojom", |
289 ] | 325 ] |
290 } | 326 } |
291 | 327 |
292 source_set("app_unit_tests") { | 328 source_set("app_unit_tests") { |
293 testonly = true | 329 testonly = true |
294 | 330 |
295 sources = [ | 331 sources = [ |
296 "app/blimp_engine_config_unittest.cc", | 332 "app/blimp_engine_config_unittest.cc", |
| 333 "app/blimp_metrics_service_client_unittest.cc", |
297 "app/settings_manager_unittest.cc", | 334 "app/settings_manager_unittest.cc", |
298 "app/ui/blimp_screen_unittest.cc", | 335 "app/ui/blimp_screen_unittest.cc", |
299 ] | 336 ] |
300 | 337 |
301 deps = [ | 338 deps = [ |
302 ":app", | 339 ":app", |
303 ":app_config", | 340 ":app_config", |
| 341 ":app_metrics", |
304 ":app_settings", | 342 ":app_settings", |
305 ":app_switches", | 343 ":app_switches", |
306 "//base", | 344 "//base", |
307 "//base/test:run_all_unittests", | 345 "//base/test:run_all_unittests", |
308 "//base/test:test_support", | 346 "//base/test:test_support", |
309 "//blimp/engine:app_ui", | 347 "//blimp/engine:app_ui", |
| 348 "//net:test_support", |
310 "//testing/gmock", | 349 "//testing/gmock", |
311 "//testing/gtest", | 350 "//testing/gtest", |
312 "//ui/display", | 351 "//ui/display", |
313 "//ui/gfx:test_support", | 352 "//ui/gfx:test_support", |
314 ] | 353 ] |
315 } | 354 } |
316 | 355 |
317 source_set("feature_unit_tests") { | 356 source_set("feature_unit_tests") { |
318 testonly = true | 357 testonly = true |
319 | 358 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 _rebased_dockerfile, | 451 _rebased_dockerfile, |
413 "--startup-script", | 452 "--startup-script", |
414 _rebased_startup_script, | 453 _rebased_startup_script, |
415 "--manifest", | 454 "--manifest", |
416 _rebased_manifest, | 455 _rebased_manifest, |
417 "--output", | 456 "--output", |
418 rebase_path(_bundle), | 457 rebase_path(_bundle), |
419 ] | 458 ] |
420 } | 459 } |
421 } | 460 } |
OLD | NEW |