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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 static_library("metrics") { | 7 static_library("metrics") { |
8 sources = [ | 8 sources = [ |
9 "call_stack_profile_metrics_provider.cc", | 9 "call_stack_profile_metrics_provider.cc", |
10 "call_stack_profile_metrics_provider.h", | 10 "call_stack_profile_metrics_provider.h", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 "stability_metrics_provider.cc", | 84 "stability_metrics_provider.cc", |
85 "stability_metrics_provider.h", | 85 "stability_metrics_provider.h", |
86 "system_memory_stats_recorder.h", | 86 "system_memory_stats_recorder.h", |
87 "system_memory_stats_recorder_linux.cc", | 87 "system_memory_stats_recorder_linux.cc", |
88 "system_memory_stats_recorder_win.cc", | 88 "system_memory_stats_recorder_win.cc", |
89 "url_constants.cc", | 89 "url_constants.cc", |
90 "url_constants.h", | 90 "url_constants.h", |
91 ] | 91 ] |
92 | 92 |
93 public_deps = [ | 93 public_deps = [ |
94 ":single_sample_metrics", | |
95 "//components/metrics/proto", | 94 "//components/metrics/proto", |
96 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings"
, | |
97 ] | 95 ] |
98 | |
99 deps = [ | 96 deps = [ |
100 ":call_stack_profile_params", | 97 ":call_stack_profile_params", |
101 "//base", | 98 "//base", |
102 "//base:base_static", | 99 "//base:base_static", |
103 "//components/browser_watcher:stability", | 100 "//components/browser_watcher:stability", |
104 "//components/browser_watcher:stability_data", | 101 "//components/browser_watcher:stability_data", |
105 "//components/prefs", | 102 "//components/prefs", |
106 "//components/variations", | 103 "//components/variations", |
107 "//third_party/zlib:compression_utils", | 104 "//third_party/zlib:compression_utils", |
108 ] | 105 ] |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 241 |
245 public_deps = [ | 242 public_deps = [ |
246 ":profiler", | 243 ":profiler", |
247 ] | 244 ] |
248 deps = [ | 245 deps = [ |
249 "//base", | 246 "//base", |
250 ] | 247 ] |
251 } | 248 } |
252 } | 249 } |
253 | 250 |
254 source_set("single_sample_metrics") { | |
255 sources = [ | |
256 "single_sample_metrics.cc", | |
257 "single_sample_metrics.h", | |
258 "single_sample_metrics_factory_impl.cc", | |
259 "single_sample_metrics_factory_impl.h", | |
260 ] | |
261 | |
262 deps = [ | |
263 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings"
, | |
264 "//mojo/public/cpp/bindings", | |
265 "//services/service_manager/public/cpp", | |
266 "//services/service_manager/public/interfaces", | |
267 ] | |
268 } | |
269 | |
270 source_set("call_stack_profile_params") { | 251 source_set("call_stack_profile_params") { |
271 sources = [ | 252 sources = [ |
272 "call_stack_profile_params.cc", | 253 "call_stack_profile_params.cc", |
273 "call_stack_profile_params.h", | 254 "call_stack_profile_params.h", |
274 ] | 255 ] |
275 } | 256 } |
276 | 257 |
277 source_set("call_stacks") { | 258 source_set("call_stacks") { |
278 sources = [ | 259 sources = [ |
279 "call_stack_profile_collector.cc", | 260 "call_stack_profile_collector.cc", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 "metrics_log_manager_unittest.cc", | 328 "metrics_log_manager_unittest.cc", |
348 "metrics_log_store_unittest.cc", | 329 "metrics_log_store_unittest.cc", |
349 "metrics_log_unittest.cc", | 330 "metrics_log_unittest.cc", |
350 "metrics_service_unittest.cc", | 331 "metrics_service_unittest.cc", |
351 "metrics_state_manager_unittest.cc", | 332 "metrics_state_manager_unittest.cc", |
352 "net/net_metrics_log_uploader_unittest.cc", | 333 "net/net_metrics_log_uploader_unittest.cc", |
353 "net/network_metrics_provider_unittest.cc", | 334 "net/network_metrics_provider_unittest.cc", |
354 "persisted_logs_unittest.cc", | 335 "persisted_logs_unittest.cc", |
355 "profiler/profiler_metrics_provider_unittest.cc", | 336 "profiler/profiler_metrics_provider_unittest.cc", |
356 "profiler/tracking_synchronizer_unittest.cc", | 337 "profiler/tracking_synchronizer_unittest.cc", |
357 "single_sample_metrics_factory_impl_unittest.cc", | |
358 "stability_metrics_helper_unittest.cc", | 338 "stability_metrics_helper_unittest.cc", |
359 "stability_metrics_provider_unittest.cc", | 339 "stability_metrics_provider_unittest.cc", |
360 "ui/screen_info_metrics_provider_unittest.cc", | 340 "ui/screen_info_metrics_provider_unittest.cc", |
361 ] | 341 ] |
362 | 342 |
363 deps = [ | 343 deps = [ |
364 ":call_stack_profile_params", | 344 ":call_stack_profile_params", |
365 ":child_call_stacks", | 345 ":child_call_stacks", |
366 ":metrics", | 346 ":metrics", |
367 ":net", | 347 ":net", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 # Convenience testing target | 383 # Convenience testing target |
404 test("metrics_unittests") { | 384 test("metrics_unittests") { |
405 sources = [ | 385 sources = [ |
406 "//components/test/run_all_unittests.cc", | 386 "//components/test/run_all_unittests.cc", |
407 ] | 387 ] |
408 deps = [ | 388 deps = [ |
409 ":unit_tests", | 389 ":unit_tests", |
410 "//components/test:test_support", | 390 "//components/test:test_support", |
411 ] | 391 ] |
412 } | 392 } |
OLD | NEW |