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

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

Issue 2861153002: Make single_sample_metrics into its own target (Closed)
Patch Set: self 2 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
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('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("//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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "stability_metrics_provider.cc", 84 "stability_metrics_provider.cc",
85 "stability_metrics_provider.h", 85 "stability_metrics_provider.h",
86 "system_memory_stats_recorder.h", 86 "system_memory_stats_recorder.h",
87 "system_memory_stats_recorder_linux.cc", 87 "system_memory_stats_recorder_linux.cc",
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 ":single_sample_metrics",
95 "//components/metrics/proto", 94 "//components/metrics/proto",
96 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings" ,
97 ] 95 ]
98 96
99 deps = [ 97 deps = [
100 ":call_stack_profile_params", 98 ":call_stack_profile_params",
101 "//base", 99 "//base",
102 "//base:base_static", 100 "//base:base_static",
103 "//components/browser_watcher:stability_client", 101 "//components/browser_watcher:stability_client",
104 "//components/prefs", 102 "//components/prefs",
105 "//components/variations", 103 "//components/variations",
106 "//third_party/zlib:compression_utils", 104 "//third_party/zlib:compression_utils",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 241
244 public_deps = [ 242 public_deps = [
245 ":profiler", 243 ":profiler",
246 ] 244 ]
247 deps = [ 245 deps = [
248 "//base", 246 "//base",
249 ] 247 ]
250 } 248 }
251 } 249 }
252 250
253 source_set("single_sample_metrics") { 251 static_library("single_sample_metrics") {
254 sources = [ 252 sources = [
255 "single_sample_metrics.cc", 253 "single_sample_metrics.cc",
256 "single_sample_metrics.h", 254 "single_sample_metrics.h",
257 "single_sample_metrics_factory_impl.cc", 255 "single_sample_metrics_factory_impl.cc",
258 "single_sample_metrics_factory_impl.h", 256 "single_sample_metrics_factory_impl.h",
259 ] 257 ]
260 258
261 deps = [ 259 deps = [
262 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings" ,
263 "//mojo/public/cpp/bindings", 260 "//mojo/public/cpp/bindings",
264 "//services/service_manager/public/cpp", 261 "//services/service_manager/public/cpp",
265 "//services/service_manager/public/interfaces", 262 "//services/service_manager/public/interfaces",
266 ] 263 ]
264
265 public_deps = [
266 "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings" ,
267 ]
267 } 268 }
268 269
269 source_set("call_stack_profile_params") { 270 source_set("call_stack_profile_params") {
270 sources = [ 271 sources = [
271 "call_stack_profile_params.cc", 272 "call_stack_profile_params.cc",
272 "call_stack_profile_params.h", 273 "call_stack_profile_params.h",
273 ] 274 ]
274 } 275 }
275 276
276 source_set("call_stacks") { 277 source_set("call_stacks") {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 "stability_metrics_provider_unittest.cc", 359 "stability_metrics_provider_unittest.cc",
359 "ui/screen_info_metrics_provider_unittest.cc", 360 "ui/screen_info_metrics_provider_unittest.cc",
360 ] 361 ]
361 362
362 deps = [ 363 deps = [
363 ":call_stack_profile_params", 364 ":call_stack_profile_params",
364 ":child_call_stacks", 365 ":child_call_stacks",
365 ":metrics", 366 ":metrics",
366 ":net", 367 ":net",
367 ":profiler", 368 ":profiler",
369 ":single_sample_metrics",
368 ":test_support", 370 ":test_support",
369 ":ui", 371 ":ui",
370 "//base/test:test_support", 372 "//base/test:test_support",
371 "//components/metrics/public/cpp:call_stack_unit_tests", 373 "//components/metrics/public/cpp:call_stack_unit_tests",
372 "//components/prefs:test_support", 374 "//components/prefs:test_support",
373 "//components/variations", 375 "//components/variations",
374 "//mojo/public/cpp/bindings", 376 "//mojo/public/cpp/bindings",
375 "//net:test_support", 377 "//net:test_support",
376 "//services/service_manager/public/cpp", 378 "//services/service_manager/public/cpp",
377 "//testing/gtest", 379 "//testing/gtest",
(...skipping 24 matching lines...) Expand all
402 # Convenience testing target 404 # Convenience testing target
403 test("metrics_unittests") { 405 test("metrics_unittests") {
404 sources = [ 406 sources = [
405 "//components/test/run_all_unittests.cc", 407 "//components/test/run_all_unittests.cc",
406 ] 408 ]
407 deps = [ 409 deps = [
408 ":unit_tests", 410 ":unit_tests",
409 "//components/test:test_support", 411 "//components/test:test_support",
410 ] 412 ]
411 } 413 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698