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

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

Issue 1665553002: metrics: Connect leak detector to allocator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change LeakDetector class to be a simple singleton Created 4 years, 10 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 # 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 source_set("leak_detector") { 114 source_set("leak_detector") {
115 sources = [ 115 sources = [
116 "leak_detector/call_stack_manager.cc", 116 "leak_detector/call_stack_manager.cc",
117 "leak_detector/call_stack_manager.h", 117 "leak_detector/call_stack_manager.h",
118 "leak_detector/call_stack_table.cc", 118 "leak_detector/call_stack_table.cc",
119 "leak_detector/call_stack_table.h", 119 "leak_detector/call_stack_table.h",
120 "leak_detector/custom_allocator.cc", 120 "leak_detector/custom_allocator.cc",
121 "leak_detector/custom_allocator.h", 121 "leak_detector/custom_allocator.h",
122 "leak_detector/leak_analyzer.cc", 122 "leak_detector/leak_analyzer.cc",
123 "leak_detector/leak_analyzer.h", 123 "leak_detector/leak_analyzer.h",
124 "leak_detector/leak_detector.cc",
125 "leak_detector/leak_detector.h",
124 "leak_detector/leak_detector_impl.cc", 126 "leak_detector/leak_detector_impl.cc",
125 "leak_detector/leak_detector_impl.h", 127 "leak_detector/leak_detector_impl.h",
126 "leak_detector/leak_detector_value_type.cc", 128 "leak_detector/leak_detector_value_type.cc",
127 "leak_detector/leak_detector_value_type.h", 129 "leak_detector/leak_detector_value_type.h",
128 "leak_detector/ranked_list.cc", 130 "leak_detector/ranked_list.cc",
129 "leak_detector/ranked_list.h", 131 "leak_detector/ranked_list.h",
130 ] 132 ]
131 133
132 deps = [ 134 deps = [
133 "//base", 135 "//base",
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 } 278 }
277 279
278 if (is_chromeos) { 280 if (is_chromeos) {
279 source_set("leak_detector_unit_tests") { 281 source_set("leak_detector_unit_tests") {
280 testonly = true 282 testonly = true
281 sources = [ 283 sources = [
282 "leak_detector/call_stack_manager_unittest.cc", 284 "leak_detector/call_stack_manager_unittest.cc",
283 "leak_detector/call_stack_table_unittest.cc", 285 "leak_detector/call_stack_table_unittest.cc",
284 "leak_detector/leak_analyzer_unittest.cc", 286 "leak_detector/leak_analyzer_unittest.cc",
285 "leak_detector/leak_detector_impl_unittest.cc", 287 "leak_detector/leak_detector_impl_unittest.cc",
288 "leak_detector/leak_detector_unittest.cc",
286 "leak_detector/ranked_list_unittest.cc", 289 "leak_detector/ranked_list_unittest.cc",
287 ] 290 ]
288 291
289 deps = [ 292 deps = [
290 ":leak_detector", 293 ":leak_detector",
291 "//base", 294 "//base",
292 "//testing/gtest", 295 "//testing/gtest",
293 ] 296 ]
294 } 297 }
295 } 298 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 if (is_linux) { 337 if (is_linux) {
335 sources += [ "serialization/serialization_utils_unittest.cc" ] 338 sources += [ "serialization/serialization_utils_unittest.cc" ]
336 deps += [ ":serialization" ] 339 deps += [ ":serialization" ]
337 } 340 }
338 341
339 if (is_chromeos) { 342 if (is_chromeos) {
340 deps += [ ":leak_detector_unit_tests" ] 343 deps += [ ":leak_detector_unit_tests" ]
341 } 344 }
342 } 345 }
343 # TODO(GYP): metrics_chromeos 346 # TODO(GYP): metrics_chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698