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 # GYP version: components/metrics.gypi:metrics | 5 # GYP version: components/metrics.gypi:metrics |
6 source_set("metrics") { | 6 source_set("metrics") { |
7 sources = [ | 7 sources = [ |
8 "clean_exit_beacon.cc", | 8 "clean_exit_beacon.cc", |
9 "clean_exit_beacon.h", | 9 "clean_exit_beacon.h", |
10 "client_info.cc", | 10 "client_info.cc", |
(...skipping 26 matching lines...) Expand all Loading... |
37 "metrics_service_client.cc", | 37 "metrics_service_client.cc", |
38 "metrics_service_client.h", | 38 "metrics_service_client.h", |
39 "metrics_state_manager.cc", | 39 "metrics_state_manager.cc", |
40 "metrics_state_manager.h", | 40 "metrics_state_manager.h", |
41 "metrics_switches.cc", | 41 "metrics_switches.cc", |
42 "metrics_switches.h", | 42 "metrics_switches.h", |
43 "persisted_logs.cc", | 43 "persisted_logs.cc", |
44 "persisted_logs.h", | 44 "persisted_logs.h", |
45 ] | 45 ] |
46 | 46 |
| 47 public_deps = [ |
| 48 "//components/metrics/proto", |
| 49 ] |
47 deps = [ | 50 deps = [ |
48 "//base", | 51 "//base", |
49 "//components/metrics/proto", | |
50 "//components/variations", | 52 "//components/variations", |
51 "//third_party/zlib", | 53 "//third_party/zlib", |
52 ] | 54 ] |
53 | |
54 forward_dependent_configs_from = [ "//components/metrics/proto" ] | |
55 } | 55 } |
56 | 56 |
57 # GYP version: components/metrics.gypi:metrics_gpu | 57 # GYP version: components/metrics.gypi:metrics_gpu |
58 source_set("gpu") { | 58 source_set("gpu") { |
59 sources = [ | 59 sources = [ |
60 "gpu/gpu_metrics_provider.cc", | 60 "gpu/gpu_metrics_provider.cc", |
61 "gpu/gpu_metrics_provider.h", | 61 "gpu/gpu_metrics_provider.h", |
62 ] | 62 ] |
63 | 63 |
| 64 public_deps = [ |
| 65 ":metrics", |
| 66 ] |
64 deps = [ | 67 deps = [ |
65 ":metrics", | |
66 "//gpu/config", | 68 "//gpu/config", |
67 ] | 69 ] |
68 | |
69 forward_dependent_configs_from = [ ":metrics" ] | |
70 } | 70 } |
71 | 71 |
72 # GYP version: components/metrics.gypi:metrics_net | 72 # GYP version: components/metrics.gypi:metrics_net |
73 static_library("net") { | 73 static_library("net") { |
74 sources = [ | 74 sources = [ |
75 "net/network_metrics_provider.cc", | 75 "net/network_metrics_provider.cc", |
76 "net/network_metrics_provider.h", | 76 "net/network_metrics_provider.h", |
77 "net/net_metrics_log_uploader.cc", | 77 "net/net_metrics_log_uploader.cc", |
78 "net/net_metrics_log_uploader.h", | 78 "net/net_metrics_log_uploader.h", |
79 "net/wifi_access_point_info_provider.cc", | 79 "net/wifi_access_point_info_provider.cc", |
80 "net/wifi_access_point_info_provider.h", | 80 "net/wifi_access_point_info_provider.h", |
81 "net/wifi_access_point_info_provider_chromeos.cc", | 81 "net/wifi_access_point_info_provider_chromeos.cc", |
82 "net/wifi_access_point_info_provider_chromeos.h", | 82 "net/wifi_access_point_info_provider_chromeos.h", |
83 ] | 83 ] |
84 | 84 |
| 85 public_deps = [ |
| 86 ":metrics", |
| 87 ] |
85 deps = [ | 88 deps = [ |
86 ":metrics", | |
87 "//net", | 89 "//net", |
88 ] | 90 ] |
89 | |
90 forward_dependent_configs_from = [ ":metrics" ] | |
91 } | 91 } |
92 | 92 |
93 # GYP version: components/metrics.gypi:metrics_profiler | 93 # GYP version: components/metrics.gypi:metrics_profiler |
94 source_set("profiler") { | 94 source_set("profiler") { |
95 sources = [ | 95 sources = [ |
96 "profiler/profiler_metrics_provider.cc", | 96 "profiler/profiler_metrics_provider.cc", |
97 "profiler/profiler_metrics_provider.h", | 97 "profiler/profiler_metrics_provider.h", |
98 "profiler/tracking_synchronizer.cc", | 98 "profiler/tracking_synchronizer.cc", |
99 "profiler/tracking_synchronizer.h", | 99 "profiler/tracking_synchronizer.h", |
100 "profiler/tracking_synchronizer_observer.h", | 100 "profiler/tracking_synchronizer_observer.h", |
101 ] | 101 ] |
102 | 102 |
| 103 public_deps = [ |
| 104 ":metrics", |
| 105 ] |
103 deps = [ | 106 deps = [ |
104 ":metrics", | |
105 "//base", | 107 "//base", |
106 "//content/public/browser", | 108 "//content/public/browser", |
107 ] | 109 ] |
108 | |
109 forward_dependent_configs_from = [ ":metrics" ] | |
110 } | 110 } |
111 | 111 |
112 # GYP version: components/metrics.gypi:metrics_test_support | 112 # GYP version: components/metrics.gypi:metrics_test_support |
113 static_library("test_support") { | 113 static_library("test_support") { |
114 sources = [ | 114 sources = [ |
115 "test_metrics_service_client.cc", | 115 "test_metrics_service_client.cc", |
116 "test_metrics_service_client.h", | 116 "test_metrics_service_client.h", |
117 ] | 117 ] |
118 | 118 |
119 deps = [ | 119 public_deps = [ |
120 ":metrics", | 120 ":metrics", |
121 ] | 121 ] |
122 | |
123 forward_dependent_configs_from = [ ":metrics" ] | |
124 } | 122 } |
125 | 123 |
126 # TODO(GYP): metrics_chromeos | 124 # TODO(GYP): metrics_chromeos |
OLD | NEW |