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

Side by Side Diff: components/metrics/BUILD.gn

Issue 2605553002: Add EffectiveConnectionType enum to the system profile proto (Closed)
Patch Set: Add tests Created 3 years, 11 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
OLDNEW
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 declare_args() { 5 declare_args() {
6 # Overrides os name in uma metrics log to "Blimp". 6 # Overrides os name in uma metrics log to "Blimp".
7 metrics_use_blimp = false 7 metrics_use_blimp = false
8 } 8 }
9 9
10 # These are only used by the blimp team, which has entirely migrated to gn, 10 # These are only used by the blimp team, which has entirely migrated to gn,
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 "drive_metrics_provider_unittest.cc", 309 "drive_metrics_provider_unittest.cc",
310 "file_metrics_provider_unittest.cc", 310 "file_metrics_provider_unittest.cc",
311 "histogram_encoder_unittest.cc", 311 "histogram_encoder_unittest.cc",
312 "machine_id_provider_win_unittest.cc", 312 "machine_id_provider_win_unittest.cc",
313 "metrics_log_manager_unittest.cc", 313 "metrics_log_manager_unittest.cc",
314 "metrics_log_unittest.cc", 314 "metrics_log_unittest.cc",
315 "metrics_reporting_scheduler_unittest.cc", 315 "metrics_reporting_scheduler_unittest.cc",
316 "metrics_service_unittest.cc", 316 "metrics_service_unittest.cc",
317 "metrics_state_manager_unittest.cc", 317 "metrics_state_manager_unittest.cc",
318 "net/net_metrics_log_uploader_unittest.cc", 318 "net/net_metrics_log_uploader_unittest.cc",
319 "net/network_metrics_provider_unittest.cc",
319 "persisted_logs_unittest.cc", 320 "persisted_logs_unittest.cc",
320 "profiler/profiler_metrics_provider_unittest.cc", 321 "profiler/profiler_metrics_provider_unittest.cc",
321 "profiler/tracking_synchronizer_unittest.cc", 322 "profiler/tracking_synchronizer_unittest.cc",
322 "stability_metrics_helper_unittest.cc", 323 "stability_metrics_helper_unittest.cc",
323 "ui/screen_info_metrics_provider_unittest.cc", 324 "ui/screen_info_metrics_provider_unittest.cc",
324 ] 325 ]
325 326
326 deps = [ 327 deps = [
327 ":call_stack_profile_params", 328 ":call_stack_profile_params",
328 ":child_call_stacks", 329 ":child_call_stacks",
329 ":metrics", 330 ":metrics",
330 ":net", 331 ":net",
331 ":profiler", 332 ":profiler",
332 ":test_support", 333 ":test_support",
333 ":ui", 334 ":ui",
334 "//base/test:test_support", 335 "//base/test:test_support",
335 "//components/metrics/public/cpp:call_stack_unit_tests", 336 "//components/metrics/public/cpp:call_stack_unit_tests",
336 "//components/prefs:test_support", 337 "//components/prefs:test_support",
337 "//components/variations", 338 "//components/variations",
339 "//content/test:test_support",
338 "//mojo/public/cpp/bindings", 340 "//mojo/public/cpp/bindings",
339 "//net:test_support", 341 "//net:test_support",
340 "//services/service_manager/public/cpp:sources", 342 "//services/service_manager/public/cpp:sources",
341 "//testing/gtest", 343 "//testing/gtest",
342 "//third_party/zlib:compression_utils", 344 "//third_party/zlib:compression_utils",
343 "//ui/gfx/geometry", 345 "//ui/gfx/geometry",
344 ] 346 ]
345 347
346 if (is_linux) { 348 if (is_linux) {
347 sources += [ "serialization/serialization_utils_unittest.cc" ] 349 sources += [ "serialization/serialization_utils_unittest.cc" ]
348 deps += [ ":serialization" ] 350 deps += [ ":serialization" ]
349 } 351 }
350 352
351 if (is_chromeos) { 353 if (is_chromeos) {
352 deps += [ "leak_detector:unit_tests" ] 354 deps += [ "leak_detector:unit_tests" ]
353 } 355 }
354 356
355 # iOS is not supported by the profiler and the ios-simulator bot chokes on 357 # iOS is not supported by the profiler and the ios-simulator bot chokes on
356 # these tests. 358 # these tests.
357 if (is_ios) { 359 if (is_ios) {
358 sources -= [ "child_call_stack_profile_collector_unittest.cc" ] 360 sources -= [ "child_call_stack_profile_collector_unittest.cc" ]
359 deps -= [ "//components/metrics/public/cpp:call_stack_unit_tests" ] 361 deps -= [ "//components/metrics/public/cpp:call_stack_unit_tests" ]
360 } 362 }
361 } 363 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698