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("//build/config/features.gni") |
| 6 |
5 # GYP version: components/metrics.gypi:metrics | 7 # GYP version: components/metrics.gypi:metrics |
6 source_set("metrics") { | 8 source_set("metrics") { |
7 sources = [ | 9 sources = [ |
8 "call_stack_profile_metrics_provider.cc", | 10 "call_stack_profile_metrics_provider.cc", |
9 "call_stack_profile_metrics_provider.h", | 11 "call_stack_profile_metrics_provider.h", |
10 "clean_exit_beacon.cc", | 12 "clean_exit_beacon.cc", |
11 "clean_exit_beacon.h", | 13 "clean_exit_beacon.h", |
12 "client_info.cc", | 14 "client_info.cc", |
13 "client_info.h", | 15 "client_info.h", |
14 "cloned_install_detector.cc", | 16 "cloned_install_detector.cc", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 "//components/metrics/proto", | 65 "//components/metrics/proto", |
64 ] | 66 ] |
65 deps = [ | 67 deps = [ |
66 "//base", | 68 "//base", |
67 "//base:i18n", | 69 "//base:i18n", |
68 "//base:prefs", | 70 "//base:prefs", |
69 "//components/variations", | 71 "//components/variations", |
70 "//third_party/zlib", | 72 "//third_party/zlib", |
71 ] | 73 ] |
72 | 74 |
73 if (is_chromeos) { | 75 if (use_cros_fe) { |
74 deps += [ ":serialization" ] | 76 deps += [ ":serialization" ] |
75 } | 77 } |
76 | 78 |
77 if (is_win) { | 79 if (is_win) { |
78 sources -= [ "machine_id_provider_stub.cc" ] | 80 sources -= [ "machine_id_provider_stub.cc" ] |
79 } | 81 } |
80 } | 82 } |
81 | 83 |
82 # GYP version: components/metrics.gypi:metrics_gpu | 84 # GYP version: components/metrics.gypi:metrics_gpu |
83 source_set("gpu") { | 85 source_set("gpu") { |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 ":profiler", | 200 ":profiler", |
199 ":test_support", | 201 ":test_support", |
200 "//base:prefs_test_support", | 202 "//base:prefs_test_support", |
201 "//base/test:test_support", | 203 "//base/test:test_support", |
202 "//components/variations", | 204 "//components/variations", |
203 "//content/public/common", | 205 "//content/public/common", |
204 "//testing/gtest", | 206 "//testing/gtest", |
205 ] | 207 ] |
206 } | 208 } |
207 # TODO(GYP): metrics_chromeos | 209 # TODO(GYP): metrics_chromeos |
OLD | NEW |