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

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1885673003: Create and integrate a metrics service client into Blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move newline and ASSERT as requested. Created 4 years, 7 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 | blimp/engine/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 "//components/version_info",
126 "//net",
127 ]
128 }
129
94 source_set("app_net") { 130 source_set("app_net") {
95 sources = [ 131 sources = [
96 "app/blimp_network_delegate.cc", 132 "app/blimp_network_delegate.cc",
97 "app/blimp_network_delegate.h", 133 "app/blimp_network_delegate.h",
98 "app/blimp_system_url_request_context_getter.cc", 134 "app/blimp_system_url_request_context_getter.cc",
99 "app/blimp_system_url_request_context_getter.h", 135 "app/blimp_system_url_request_context_getter.h",
100 "app/blimp_url_request_context_getter.cc", 136 "app/blimp_url_request_context_getter.cc",
101 "app/blimp_url_request_context_getter.h", 137 "app/blimp_url_request_context_getter.h",
102 ] 138 ]
103 deps = [ 139 deps = [
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 204
169 source_set("common") { 205 source_set("common") {
170 sources = [ 206 sources = [
171 "common/blimp_browser_context.cc", 207 "common/blimp_browser_context.cc",
172 "common/blimp_browser_context.h", 208 "common/blimp_browser_context.h",
173 "common/blimp_content_client.cc", 209 "common/blimp_content_client.cc",
174 "common/blimp_content_client.h", 210 "common/blimp_content_client.h",
175 ] 211 ]
176 212
177 deps = [ 213 deps = [
214 ":app_metrics",
178 ":app_net", 215 ":app_net",
179 ":app_permissions", 216 ":app_permissions",
180 ":common_user_agent", 217 ":common_user_agent",
181 "//base", 218 "//base",
182 "//content/public/browser", 219 "//components/metrics",
220 "//components/pref_registry",
221 "//components/prefs",
222 "//components/version_info",
183 "//content/public/common", 223 "//content/public/common",
184 "//net", 224 "//net",
185 "//ui/base", 225 "//ui/base",
186 ] 226 ]
187 } 227 }
188 228
189 source_set("common_user_agent") { 229 source_set("common_user_agent") {
190 sources = [ 230 sources = [
191 "common/blimp_user_agent.cc", 231 "common/blimp_user_agent.cc",
192 "common/blimp_user_agent.h", 232 "common/blimp_user_agent.h",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 sources = [ 327 sources = [
288 "mojo/blob_channel.mojom", 328 "mojo/blob_channel.mojom",
289 ] 329 ]
290 } 330 }
291 331
292 source_set("app_unit_tests") { 332 source_set("app_unit_tests") {
293 testonly = true 333 testonly = true
294 334
295 sources = [ 335 sources = [
296 "app/blimp_engine_config_unittest.cc", 336 "app/blimp_engine_config_unittest.cc",
337 "app/blimp_metrics_service_client_unittest.cc",
297 "app/settings_manager_unittest.cc", 338 "app/settings_manager_unittest.cc",
298 "app/ui/blimp_screen_unittest.cc", 339 "app/ui/blimp_screen_unittest.cc",
299 ] 340 ]
300 341
301 deps = [ 342 deps = [
302 ":app", 343 ":app",
303 ":app_config", 344 ":app_config",
345 ":app_metrics",
304 ":app_settings", 346 ":app_settings",
305 ":app_switches", 347 ":app_switches",
306 "//base", 348 "//base",
307 "//base/test:run_all_unittests", 349 "//base/test:run_all_unittests",
308 "//base/test:test_support", 350 "//base/test:test_support",
309 "//blimp/engine:app_ui", 351 "//blimp/engine:app_ui",
352 "//components/pref_registry:pref_registry",
353 "//components/prefs:prefs",
354 "//net:test_support",
310 "//testing/gmock", 355 "//testing/gmock",
311 "//testing/gtest", 356 "//testing/gtest",
312 "//ui/display", 357 "//ui/display",
313 "//ui/gfx:test_support", 358 "//ui/gfx:test_support",
314 ] 359 ]
315 } 360 }
316 361
317 source_set("feature_unit_tests") { 362 source_set("feature_unit_tests") {
318 testonly = true 363 testonly = true
319 364
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 _rebased_dockerfile, 457 _rebased_dockerfile,
413 "--startup-script", 458 "--startup-script",
414 _rebased_startup_script, 459 _rebased_startup_script,
415 "--manifest", 460 "--manifest",
416 _rebased_manifest, 461 _rebased_manifest,
417 "--output", 462 "--output",
418 rebase_path(_bundle), 463 rebase_path(_bundle),
419 ] 464 ]
420 } 465 }
421 } 466 }
OLDNEW
« no previous file with comments | « no previous file | blimp/engine/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698