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

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

Issue 1868193003: Store alloc history data in memory leak report protobuf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@leak-history
Patch Set: Add dependency on protobufs to leak detector tests Created 4 years, 8 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 | « components/metrics.gypi ('k') | components/metrics/leak_detector/leak_detector.h » ('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 declare_args() { 5 declare_args() {
6 # Overrides os name in uma metrics log to "Blimp". 6 # Overrides os name in uma metrics log to "Blimp".
7 metrics_use_blimp = false 7 metrics_use_blimp = false
8 } 8 }
9 9
10 # GYP version: components/metrics.gypi:metrics 10 # GYP version: components/metrics.gypi:metrics
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 "leak_detector/leak_detector_impl.cc", 135 "leak_detector/leak_detector_impl.cc",
136 "leak_detector/leak_detector_impl.h", 136 "leak_detector/leak_detector_impl.h",
137 "leak_detector/leak_detector_value_type.cc", 137 "leak_detector/leak_detector_value_type.cc",
138 "leak_detector/leak_detector_value_type.h", 138 "leak_detector/leak_detector_value_type.h",
139 "leak_detector/ranked_set.cc", 139 "leak_detector/ranked_set.cc",
140 "leak_detector/ranked_set.h", 140 "leak_detector/ranked_set.h",
141 ] 141 ]
142 142
143 deps = [ 143 deps = [
144 "//base", 144 "//base",
145 "//components/metrics/proto:proto",
145 "//content/public/browser", 146 "//content/public/browser",
146 ] 147 ]
147 } 148 }
148 } 149 }
149 150
150 # GYP version: components/metrics.gypi:metrics_net 151 # GYP version: components/metrics.gypi:metrics_net
151 static_library("net") { 152 static_library("net") {
152 sources = [ 153 sources = [
153 "net/net_metrics_log_uploader.cc", 154 "net/net_metrics_log_uploader.cc",
154 "net/net_metrics_log_uploader.h", 155 "net/net_metrics_log_uploader.h",
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 "leak_detector/call_stack_table_unittest.cc", 296 "leak_detector/call_stack_table_unittest.cc",
296 "leak_detector/leak_analyzer_unittest.cc", 297 "leak_detector/leak_analyzer_unittest.cc",
297 "leak_detector/leak_detector_impl_unittest.cc", 298 "leak_detector/leak_detector_impl_unittest.cc",
298 "leak_detector/leak_detector_unittest.cc", 299 "leak_detector/leak_detector_unittest.cc",
299 "leak_detector/ranked_set_unittest.cc", 300 "leak_detector/ranked_set_unittest.cc",
300 ] 301 ]
301 302
302 deps = [ 303 deps = [
303 ":leak_detector", 304 ":leak_detector",
304 "//base", 305 "//base",
306 "//components/metrics/proto:proto",
305 "//content/test:test_support", 307 "//content/test:test_support",
306 "//testing/gtest", 308 "//testing/gtest",
307 ] 309 ]
308 } 310 }
309 } 311 }
310 312
311 source_set("unit_tests") { 313 source_set("unit_tests") {
312 testonly = true 314 testonly = true
313 sources = [ 315 sources = [
314 "call_stack_profile_metrics_provider_unittest.cc", 316 "call_stack_profile_metrics_provider_unittest.cc",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 # These are only used by the blimp team, which has entirely migrated to gn, 360 # These are only used by the blimp team, which has entirely migrated to gn,
359 # so this logic is not replicated in the gyp file. 361 # so this logic is not replicated in the gyp file.
360 if (metrics_use_blimp) { 362 if (metrics_use_blimp) {
361 defines = [ 363 defines = [
362 "OVERRIDE_OS_NAME_TO_BLIMP", 364 "OVERRIDE_OS_NAME_TO_BLIMP",
363 "ENABLE_REPORTING_BLIMP", 365 "ENABLE_REPORTING_BLIMP",
364 ] 366 ]
365 } 367 }
366 } 368 }
367 # TODO(GYP): metrics_chromeos 369 # TODO(GYP): metrics_chromeos
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/leak_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698