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

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

Issue 1304563003: Move //components/metrics/compression_utils into standalone component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # 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 "call_stack_profile_metrics_provider.cc", 8 "call_stack_profile_metrics_provider.cc",
9 "call_stack_profile_metrics_provider.h", 9 "call_stack_profile_metrics_provider.h",
10 "clean_exit_beacon.cc", 10 "clean_exit_beacon.cc",
11 "clean_exit_beacon.h", 11 "clean_exit_beacon.h",
12 "client_info.cc", 12 "client_info.cc",
13 "client_info.h", 13 "client_info.h",
14 "cloned_install_detector.cc", 14 "cloned_install_detector.cc",
15 "cloned_install_detector.h", 15 "cloned_install_detector.h",
16 "compression_utils.cc",
17 "compression_utils.h",
18 "daily_event.cc", 16 "daily_event.cc",
19 "daily_event.h", 17 "daily_event.h",
20 "drive_metrics_provider.cc", 18 "drive_metrics_provider.cc",
21 "drive_metrics_provider.h", 19 "drive_metrics_provider.h",
22 "drive_metrics_provider_android.cc", 20 "drive_metrics_provider_android.cc",
23 "drive_metrics_provider_ios.mm", 21 "drive_metrics_provider_ios.mm",
24 "drive_metrics_provider_linux.cc", 22 "drive_metrics_provider_linux.cc",
25 "drive_metrics_provider_mac.mm", 23 "drive_metrics_provider_mac.mm",
26 "drive_metrics_provider_win.cc", 24 "drive_metrics_provider_win.cc",
27 "histogram_encoder.cc", 25 "histogram_encoder.cc",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 "url_constants.h", 57 "url_constants.h",
60 ] 58 ]
61 59
62 public_deps = [ 60 public_deps = [
63 "//components/metrics/proto", 61 "//components/metrics/proto",
64 ] 62 ]
65 deps = [ 63 deps = [
66 "//base", 64 "//base",
67 "//base:i18n", 65 "//base:i18n",
68 "//base:prefs", 66 "//base:prefs",
67 "//components/compression",
69 "//components/variations", 68 "//components/variations",
70 "//third_party/zlib",
71 ] 69 ]
72 70
73 if (is_chromeos) { 71 if (is_chromeos) {
74 deps += [ ":serialization" ] 72 deps += [ ":serialization" ]
75 } 73 }
76 74
77 if (is_win) { 75 if (is_win) {
78 sources -= [ "machine_id_provider_stub.cc" ] 76 sources -= [ "machine_id_provider_stub.cc" ]
79 } 77 }
80 } 78 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 deps = [ 169 deps = [
172 "//base", 170 "//base",
173 ] 171 ]
174 } 172 }
175 } 173 }
176 174
177 source_set("unit_tests") { 175 source_set("unit_tests") {
178 testonly = true 176 testonly = true
179 sources = [ 177 sources = [
180 "call_stack_profile_metrics_provider_unittest.cc", 178 "call_stack_profile_metrics_provider_unittest.cc",
181 "compression_utils_unittest.cc",
182 "daily_event_unittest.cc", 179 "daily_event_unittest.cc",
183 "drive_metrics_provider_unittest.cc", 180 "drive_metrics_provider_unittest.cc",
184 "gpu/gpu_metrics_provider_unittest.cc", 181 "gpu/gpu_metrics_provider_unittest.cc",
185 "histogram_encoder_unittest.cc", 182 "histogram_encoder_unittest.cc",
186 "machine_id_provider_win_unittest.cc", 183 "machine_id_provider_win_unittest.cc",
187 "metrics_hashes_unittest.cc", 184 "metrics_hashes_unittest.cc",
188 "metrics_log_manager_unittest.cc", 185 "metrics_log_manager_unittest.cc",
189 "metrics_log_unittest.cc", 186 "metrics_log_unittest.cc",
190 "metrics_reporting_scheduler_unittest.cc", 187 "metrics_reporting_scheduler_unittest.cc",
191 "metrics_service_unittest.cc", 188 "metrics_service_unittest.cc",
(...skipping 16 matching lines...) Expand all
208 "//content/public/common", 205 "//content/public/common",
209 "//testing/gtest", 206 "//testing/gtest",
210 ] 207 ]
211 208
212 if (is_linux) { 209 if (is_linux) {
213 sources += [ "serialization/serialization_utils_unittest.cc" ] 210 sources += [ "serialization/serialization_utils_unittest.cc" ]
214 deps += [ ":serialization" ] 211 deps += [ ":serialization" ]
215 } 212 }
216 } 213 }
217 # TODO(GYP): metrics_chromeos 214 # TODO(GYP): metrics_chromeos
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698