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

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

Issue 2687583002: Add support for single sample metrics. (Closed)
Patch Set: Use thread local storage. Created 3 years, 7 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
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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 static_library("metrics") { 7 static_library("metrics") {
8 sources = [ 8 sources = [
9 "call_stack_profile_metrics_provider.cc", 9 "call_stack_profile_metrics_provider.cc",
10 "call_stack_profile_metrics_provider.h", 10 "call_stack_profile_metrics_provider.h",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 "system_memory_stats_recorder_win.cc", 88 "system_memory_stats_recorder_win.cc",
89 "url_constants.cc", 89 "url_constants.cc",
90 "url_constants.h", 90 "url_constants.h",
91 ] 91 ]
92 92
93 public_deps = [ 93 public_deps = [
94 "//components/metrics/proto", 94 "//components/metrics/proto",
95 ] 95 ]
96 deps = [ 96 deps = [
97 ":call_stack_profile_params", 97 ":call_stack_profile_params",
98 ":single_value_histograms",
98 "//base", 99 "//base",
99 "//base:base_static", 100 "//base:base_static",
100 "//components/browser_watcher:stability", 101 "//components/browser_watcher:stability",
101 "//components/browser_watcher:stability_data", 102 "//components/browser_watcher:stability_data",
102 "//components/prefs", 103 "//components/prefs",
103 "//components/variations", 104 "//components/variations",
104 "//third_party/zlib:compression_utils", 105 "//third_party/zlib:compression_utils",
105 ] 106 ]
106 107
107 if (is_chromeos) { 108 if (is_chromeos) {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 242
242 public_deps = [ 243 public_deps = [
243 ":profiler", 244 ":profiler",
244 ] 245 ]
245 deps = [ 246 deps = [
246 "//base", 247 "//base",
247 ] 248 ]
248 } 249 }
249 } 250 }
250 251
252 source_set("single_value_histograms") {
253 sources = [
254 "single_value_counts_histogram.cc",
255 "single_value_counts_histogram.h",
256 "single_value_histograms_factory_impl.cc",
257 "single_value_histograms_factory_impl.h",
258 "single_value_histograms_provider.cc",
259 "single_value_histograms_provider.h",
260 ]
261
262 deps = [
263 "//components/metrics/public/interfaces:single_value_histograms_mojo_binding s",
264 "//mojo/public/cpp/bindings",
265 ]
266 }
267
251 source_set("call_stack_profile_params") { 268 source_set("call_stack_profile_params") {
252 sources = [ 269 sources = [
253 "call_stack_profile_params.cc", 270 "call_stack_profile_params.cc",
254 "call_stack_profile_params.h", 271 "call_stack_profile_params.h",
255 ] 272 ]
256 } 273 }
257 274
258 source_set("call_stacks") { 275 source_set("call_stacks") {
259 sources = [ 276 sources = [
260 "call_stack_profile_collector.cc", 277 "call_stack_profile_collector.cc",
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 # Convenience testing target 400 # Convenience testing target
384 test("metrics_unittests") { 401 test("metrics_unittests") {
385 sources = [ 402 sources = [
386 "//components/test/run_all_unittests.cc", 403 "//components/test/run_all_unittests.cc",
387 ] 404 ]
388 deps = [ 405 deps = [
389 ":unit_tests", 406 ":unit_tests",
390 "//components/test:test_support", 407 "//components/test:test_support",
391 ] 408 ]
392 } 409 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698