| 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 public_deps = [ |
| 263 "//services/service_manager/public/interfaces", |
| 264 ] |
| 265 |
| 266 deps = [ |
| 267 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings"
, |
| 268 "//mojo/public/cpp/bindings", |
| 269 ] |
| 270 } |
| 271 |
| 251 source_set("call_stack_profile_params") { | 272 source_set("call_stack_profile_params") { |
| 252 sources = [ | 273 sources = [ |
| 253 "call_stack_profile_params.cc", | 274 "call_stack_profile_params.cc", |
| 254 "call_stack_profile_params.h", | 275 "call_stack_profile_params.h", |
| 255 ] | 276 ] |
| 256 } | 277 } |
| 257 | 278 |
| 258 source_set("call_stacks") { | 279 source_set("call_stacks") { |
| 259 sources = [ | 280 sources = [ |
| 260 "call_stack_profile_collector.cc", | 281 "call_stack_profile_collector.cc", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 "metrics_log_manager_unittest.cc", | 349 "metrics_log_manager_unittest.cc", |
| 329 "metrics_log_store_unittest.cc", | 350 "metrics_log_store_unittest.cc", |
| 330 "metrics_log_unittest.cc", | 351 "metrics_log_unittest.cc", |
| 331 "metrics_service_unittest.cc", | 352 "metrics_service_unittest.cc", |
| 332 "metrics_state_manager_unittest.cc", | 353 "metrics_state_manager_unittest.cc", |
| 333 "net/net_metrics_log_uploader_unittest.cc", | 354 "net/net_metrics_log_uploader_unittest.cc", |
| 334 "net/network_metrics_provider_unittest.cc", | 355 "net/network_metrics_provider_unittest.cc", |
| 335 "persisted_logs_unittest.cc", | 356 "persisted_logs_unittest.cc", |
| 336 "profiler/profiler_metrics_provider_unittest.cc", | 357 "profiler/profiler_metrics_provider_unittest.cc", |
| 337 "profiler/tracking_synchronizer_unittest.cc", | 358 "profiler/tracking_synchronizer_unittest.cc", |
| 359 "single_sample_metrics_factory_impl_unittest.cc", |
| 338 "stability_metrics_helper_unittest.cc", | 360 "stability_metrics_helper_unittest.cc", |
| 339 "stability_metrics_provider_unittest.cc", | 361 "stability_metrics_provider_unittest.cc", |
| 340 "ui/screen_info_metrics_provider_unittest.cc", | 362 "ui/screen_info_metrics_provider_unittest.cc", |
| 341 ] | 363 ] |
| 342 | 364 |
| 343 deps = [ | 365 deps = [ |
| 344 ":call_stack_profile_params", | 366 ":call_stack_profile_params", |
| 345 ":child_call_stacks", | 367 ":child_call_stacks", |
| 346 ":metrics", | 368 ":metrics", |
| 347 ":net", | 369 ":net", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 # Convenience testing target | 405 # Convenience testing target |
| 384 test("metrics_unittests") { | 406 test("metrics_unittests") { |
| 385 sources = [ | 407 sources = [ |
| 386 "//components/test/run_all_unittests.cc", | 408 "//components/test/run_all_unittests.cc", |
| 387 ] | 409 ] |
| 388 deps = [ | 410 deps = [ |
| 389 ":unit_tests", | 411 ":unit_tests", |
| 390 "//components/test:test_support", | 412 "//components/test:test_support", |
| 391 ] | 413 ] |
| 392 } | 414 } |
| OLD | NEW |