| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "url_constants.h", | 90 "url_constants.h", |
| 91 ] | 91 ] |
| 92 | 92 |
| 93 public_deps = [ | 93 public_deps = [ |
| 94 "//components/metrics/proto", | 94 "//components/metrics/proto", |
| 95 ] | 95 ] |
| 96 deps = [ | 96 deps = [ |
| 97 ":call_stack_profile_params", | 97 ":call_stack_profile_params", |
| 98 "//base", | 98 "//base", |
| 99 "//base:base_static", | 99 "//base:base_static", |
| 100 "//components/browser_watcher:stability_client", | |
| 101 "//components/prefs", | 100 "//components/prefs", |
| 102 "//components/variations", | 101 "//components/variations", |
| 103 "//third_party/zlib:compression_utils", | 102 "//third_party/zlib:compression_utils", |
| 104 ] | 103 ] |
| 105 | 104 |
| 106 if (is_chromeos) { | 105 if (is_chromeos) { |
| 107 deps += [ ":serialization" ] | 106 deps += [ ":serialization" ] |
| 108 } | 107 } |
| 109 | 108 |
| 110 if (is_mac) { | 109 if (is_mac) { |
| 111 libs = [ | 110 libs = [ |
| 112 # The below are all needed for drive_metrics_provider_mac.mm. | 111 # The below are all needed for drive_metrics_provider_mac.mm. |
| 113 "CoreFoundation.framework", | 112 "CoreFoundation.framework", |
| 114 "DiskArbitration.framework", | 113 "DiskArbitration.framework", |
| 115 "Foundation.framework", | 114 "Foundation.framework", |
| 116 "IOKit.framework", | 115 "IOKit.framework", |
| 117 ] | 116 ] |
| 118 } | 117 } |
| 119 | 118 |
| 120 if (is_win) { | 119 if (is_win) { |
| 121 sources -= [ "machine_id_provider_stub.cc" ] | 120 sources -= [ "machine_id_provider_stub.cc" ] |
| 121 deps += [ "//components/browser_watcher:stability_client" ] |
| 122 } | 122 } |
| 123 } | 123 } |
| 124 | 124 |
| 125 if (!is_ios) { | 125 if (!is_ios) { |
| 126 static_library("gpu") { | 126 static_library("gpu") { |
| 127 sources = [ | 127 sources = [ |
| 128 "gpu/gpu_metrics_provider.cc", | 128 "gpu/gpu_metrics_provider.cc", |
| 129 "gpu/gpu_metrics_provider.h", | 129 "gpu/gpu_metrics_provider.h", |
| 130 ] | 130 ] |
| 131 | 131 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 # Convenience testing target | 382 # Convenience testing target |
| 383 test("metrics_unittests") { | 383 test("metrics_unittests") { |
| 384 sources = [ | 384 sources = [ |
| 385 "//components/test/run_all_unittests.cc", | 385 "//components/test/run_all_unittests.cc", |
| 386 ] | 386 ] |
| 387 deps = [ | 387 deps = [ |
| 388 ":unit_tests", | 388 ":unit_tests", |
| 389 "//components/test:test_support", | 389 "//components/test:test_support", |
| 390 ] | 390 ] |
| 391 } | 391 } |
| OLD | NEW |