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 "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", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 "url_constants.h", | 60 "url_constants.h", |
61 ] | 61 ] |
62 | 62 |
63 public_deps = [ | 63 public_deps = [ |
64 "//components/metrics/proto", | 64 "//components/metrics/proto", |
65 ] | 65 ] |
66 deps = [ | 66 deps = [ |
67 "//base", | 67 "//base", |
68 "//base:i18n", | 68 "//base:i18n", |
69 "//base:prefs", | 69 "//base:prefs", |
70 "//components/compression", | |
71 "//components/variations", | 70 "//components/variations", |
| 71 "//third_party/zlib:compression_utils", |
72 ] | 72 ] |
73 | 73 |
74 if (is_chromeos) { | 74 if (is_chromeos) { |
75 deps += [ ":serialization" ] | 75 deps += [ ":serialization" ] |
76 } | 76 } |
77 | 77 |
78 if (is_mac) { | 78 if (is_mac) { |
79 libs = [ | 79 libs = [ |
80 # The below are all needed for drive_metrics_provider_mac.mm. | 80 # The below are all needed for drive_metrics_provider_mac.mm. |
81 "CoreFoundation.framework", | 81 "CoreFoundation.framework", |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 ] | 317 ] |
318 | 318 |
319 deps = [ | 319 deps = [ |
320 ":metrics", | 320 ":metrics", |
321 ":net", | 321 ":net", |
322 ":profiler", | 322 ":profiler", |
323 ":test_support", | 323 ":test_support", |
324 ":ui", | 324 ":ui", |
325 "//base:prefs_test_support", | 325 "//base:prefs_test_support", |
326 "//base/test:test_support", | 326 "//base/test:test_support", |
327 "//components/compression", | |
328 "//components/variations", | 327 "//components/variations", |
329 "//net:test_support", | 328 "//net:test_support", |
330 "//testing/gtest", | 329 "//testing/gtest", |
| 330 "//third_party/zlib:compression_utils", |
331 "//ui/gfx/geometry", | 331 "//ui/gfx/geometry", |
332 ] | 332 ] |
333 | 333 |
334 if (is_linux) { | 334 if (is_linux) { |
335 sources += [ "serialization/serialization_utils_unittest.cc" ] | 335 sources += [ "serialization/serialization_utils_unittest.cc" ] |
336 deps += [ ":serialization" ] | 336 deps += [ ":serialization" ] |
337 } | 337 } |
338 | 338 |
339 if (is_chromeos) { | 339 if (is_chromeos) { |
340 deps += [ ":leak_detector_unit_tests" ] | 340 deps += [ ":leak_detector_unit_tests" ] |
341 } | 341 } |
342 } | 342 } |
343 # TODO(GYP): metrics_chromeos | 343 # TODO(GYP): metrics_chromeos |
OLD | NEW |