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("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
5 declare_args() { | 7 declare_args() { |
6 # Overrides os name in uma metrics log to "Blimp". | 8 # Overrides os name in uma metrics log to "Blimp". |
7 metrics_use_blimp = false | 9 metrics_use_blimp = false |
8 } | 10 } |
9 | 11 |
10 # These are only used by the blimp team, which has entirely migrated to gn, | 12 # These are only used by the blimp team, which has entirely migrated to gn, |
11 # so this logic is not replicated in the gyp file. | 13 # so this logic is not replicated in the gyp file. |
12 if (metrics_use_blimp) { | 14 if (metrics_use_blimp) { |
13 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] | 15 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] |
14 } | 16 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 "url_constants.cc", | 80 "url_constants.cc", |
79 "url_constants.h", | 81 "url_constants.h", |
80 ] | 82 ] |
81 | 83 |
82 public_deps = [ | 84 public_deps = [ |
83 "//components/metrics/proto", | 85 "//components/metrics/proto", |
84 ] | 86 ] |
85 deps = [ | 87 deps = [ |
86 "//base", | 88 "//base", |
87 "//base:base_static", | 89 "//base:base_static", |
| 90 "//components/metrics/public/interfaces:mojo_bindings", |
88 "//components/prefs", | 91 "//components/prefs", |
89 "//components/variations", | 92 "//components/variations", |
90 "//third_party/zlib:compression_utils", | 93 "//third_party/zlib:compression_utils", |
91 ] | 94 ] |
92 | 95 |
93 if (is_chromeos) { | 96 if (is_chromeos) { |
94 deps += [ ":serialization" ] | 97 deps += [ ":serialization" ] |
95 } | 98 } |
96 | 99 |
97 if (is_mac) { | 100 if (is_mac) { |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "ui/screen_info_metrics_provider_unittest.cc", | 302 "ui/screen_info_metrics_provider_unittest.cc", |
300 ] | 303 ] |
301 | 304 |
302 deps = [ | 305 deps = [ |
303 ":metrics", | 306 ":metrics", |
304 ":net", | 307 ":net", |
305 ":profiler", | 308 ":profiler", |
306 ":test_support", | 309 ":test_support", |
307 ":ui", | 310 ":ui", |
308 "//base/test:test_support", | 311 "//base/test:test_support", |
| 312 "//components/metrics/public/cpp:unit_tests", |
309 "//components/prefs:test_support", | 313 "//components/prefs:test_support", |
310 "//components/variations", | 314 "//components/variations", |
311 "//net:test_support", | 315 "//net:test_support", |
312 "//testing/gtest", | 316 "//testing/gtest", |
313 "//third_party/zlib:compression_utils", | 317 "//third_party/zlib:compression_utils", |
314 "//ui/gfx/geometry", | 318 "//ui/gfx/geometry", |
315 ] | 319 ] |
316 | 320 |
317 if (is_linux) { | 321 if (is_linux) { |
318 sources += [ "serialization/serialization_utils_unittest.cc" ] | 322 sources += [ "serialization/serialization_utils_unittest.cc" ] |
319 deps += [ ":serialization" ] | 323 deps += [ ":serialization" ] |
320 } | 324 } |
321 | 325 |
322 if (is_chromeos) { | 326 if (is_chromeos) { |
323 deps += [ "leak_detector:unit_tests" ] | 327 deps += [ "leak_detector:unit_tests" ] |
324 } | 328 } |
325 } | 329 } |
OLD | NEW |