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