| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 "metrics_switches.h", | 44 "metrics_switches.h", |
| 45 "persisted_logs.cc", | 45 "persisted_logs.cc", |
| 46 "persisted_logs.h", | 46 "persisted_logs.h", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 public_deps = [ | 49 public_deps = [ |
| 50 "//components/metrics/proto", | 50 "//components/metrics/proto", |
| 51 ] | 51 ] |
| 52 deps = [ | 52 deps = [ |
| 53 "//base", | 53 "//base", |
| 54 "//base:i18n", |
| 55 "//base:prefs", |
| 54 "//components/variations", | 56 "//components/variations", |
| 55 "//third_party/zlib", | 57 "//third_party/zlib", |
| 56 ] | 58 ] |
| 57 | 59 |
| 58 if (is_chromeos) { | 60 if (is_chromeos) { |
| 59 deps += [ ":serialization" ] | 61 deps += [ ":serialization" ] |
| 60 } | 62 } |
| 61 } | 63 } |
| 62 | 64 |
| 63 # GYP version: components/metrics.gypi:metrics_gpu | 65 # GYP version: components/metrics.gypi:metrics_gpu |
| 64 source_set("gpu") { | 66 source_set("gpu") { |
| 65 sources = [ | 67 sources = [ |
| 66 "gpu/gpu_metrics_provider.cc", | 68 "gpu/gpu_metrics_provider.cc", |
| 67 "gpu/gpu_metrics_provider.h", | 69 "gpu/gpu_metrics_provider.h", |
| 68 ] | 70 ] |
| 69 | 71 |
| 70 public_deps = [ | 72 public_deps = [ |
| 71 ":metrics", | 73 ":metrics", |
| 72 ] | 74 ] |
| 73 deps = [ | 75 deps = [ |
| 76 "//base", |
| 77 "//content/public/browser", |
| 74 "//gpu/config", | 78 "//gpu/config", |
| 79 "//ui/gfx", |
| 75 ] | 80 ] |
| 76 } | 81 } |
| 77 | 82 |
| 78 # GYP version: components/metrics.gypi:metrics_net | 83 # GYP version: components/metrics.gypi:metrics_net |
| 79 static_library("net") { | 84 static_library("net") { |
| 80 sources = [ | 85 sources = [ |
| 81 "net/network_metrics_provider.cc", | 86 "net/network_metrics_provider.cc", |
| 82 "net/network_metrics_provider.h", | 87 "net/network_metrics_provider.h", |
| 83 "net/net_metrics_log_uploader.cc", | 88 "net/net_metrics_log_uploader.cc", |
| 84 "net/net_metrics_log_uploader.h", | 89 "net/net_metrics_log_uploader.h", |
| 85 "net/wifi_access_point_info_provider.cc", | 90 "net/wifi_access_point_info_provider.cc", |
| 86 "net/wifi_access_point_info_provider.h", | 91 "net/wifi_access_point_info_provider.h", |
| 87 "net/wifi_access_point_info_provider_chromeos.cc", | 92 "net/wifi_access_point_info_provider_chromeos.cc", |
| 88 "net/wifi_access_point_info_provider_chromeos.h", | 93 "net/wifi_access_point_info_provider_chromeos.h", |
| 89 ] | 94 ] |
| 90 | 95 |
| 91 public_deps = [ | 96 public_deps = [ |
| 92 ":metrics", | 97 ":metrics", |
| 93 ] | 98 ] |
| 94 deps = [ | 99 deps = [ |
| 100 "//base", |
| 95 "//net", | 101 "//net", |
| 102 "//url", |
| 96 ] | 103 ] |
| 97 } | 104 } |
| 98 | 105 |
| 99 # GYP version: components/metrics.gypi:metrics_profiler | 106 # GYP version: components/metrics.gypi:metrics_profiler |
| 100 source_set("profiler") { | 107 source_set("profiler") { |
| 101 sources = [ | 108 sources = [ |
| 102 "profiler/profiler_metrics_provider.cc", | 109 "profiler/profiler_metrics_provider.cc", |
| 103 "profiler/profiler_metrics_provider.h", | 110 "profiler/profiler_metrics_provider.h", |
| 104 "profiler/tracking_synchronizer.cc", | 111 "profiler/tracking_synchronizer.cc", |
| 105 "profiler/tracking_synchronizer.h", | 112 "profiler/tracking_synchronizer.h", |
| 106 "profiler/tracking_synchronizer_observer.h", | 113 "profiler/tracking_synchronizer_observer.h", |
| 107 ] | 114 ] |
| 108 | 115 |
| 109 public_deps = [ | 116 public_deps = [ |
| 110 ":metrics", | 117 ":metrics", |
| 111 ] | 118 ] |
| 112 deps = [ | 119 deps = [ |
| 113 "//base", | 120 "//base", |
| 121 "//components/variations", |
| 114 "//content/public/browser", | 122 "//content/public/browser", |
| 123 "//content/public/common", |
| 115 ] | 124 ] |
| 116 } | 125 } |
| 117 | 126 |
| 118 # GYP version: components/metrics.gypi:metrics_test_support | 127 # GYP version: components/metrics.gypi:metrics_test_support |
| 119 static_library("test_support") { | 128 source_set("test_support") { |
| 120 sources = [ | 129 sources = [ |
| 121 "test_metrics_service_client.cc", | 130 "test_metrics_service_client.cc", |
| 122 "test_metrics_service_client.h", | 131 "test_metrics_service_client.h", |
| 123 ] | 132 ] |
| 124 | 133 |
| 125 public_deps = [ | 134 public_deps = [ |
| 126 ":metrics", | 135 ":metrics", |
| 127 ] | 136 ] |
| 137 deps = [ |
| 138 "//base", |
| 139 ] |
| 128 } | 140 } |
| 129 | 141 |
| 130 if (is_linux) { | 142 if (is_linux) { |
| 131 # GYP version: components/metrics.gypi:metrics_serialization | 143 # GYP version: components/metrics.gypi:metrics_serialization |
| 132 source_set("serialization") { | 144 source_set("serialization") { |
| 133 sources = [ | 145 sources = [ |
| 134 "serialization/serialization_utils.cc", | 146 "serialization/serialization_utils.cc", |
| 135 "serialization/serialization_utils.h", | 147 "serialization/serialization_utils.h", |
| 136 "serialization/metric_sample.cc", | 148 "serialization/metric_sample.cc", |
| 137 "serialization/metric_sample.h", | 149 "serialization/metric_sample.h", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 151 "metrics_log_unittest.cc", | 163 "metrics_log_unittest.cc", |
| 152 "metrics_reporting_scheduler_unittest.cc", | 164 "metrics_reporting_scheduler_unittest.cc", |
| 153 "metrics_service_unittest.cc", | 165 "metrics_service_unittest.cc", |
| 154 "metrics_state_manager_unittest.cc", | 166 "metrics_state_manager_unittest.cc", |
| 155 "persisted_logs_unittest.cc", | 167 "persisted_logs_unittest.cc", |
| 156 "profiler/profiler_metrics_provider_unittest.cc", | 168 "profiler/profiler_metrics_provider_unittest.cc", |
| 157 ] | 169 ] |
| 158 | 170 |
| 159 deps = [ | 171 deps = [ |
| 160 ":metrics", | 172 ":metrics", |
| 173 ":profiler", |
| 174 ":test_support", |
| 175 "//base:prefs_test_support", |
| 161 "//base/test:test_support", | 176 "//base/test:test_support", |
| 177 "//components/variations", |
| 178 "//content/public/common", |
| 162 "//testing/gtest", | 179 "//testing/gtest", |
| 163 ] | 180 ] |
| 164 } | 181 } |
| 165 | 182 |
| 166 # TODO(GYP): metrics_chromeos | 183 # TODO(GYP): metrics_chromeos |
| OLD | NEW |