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

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

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

Powered by Google App Engine
This is Rietveld 408576698