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

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

Issue 1681263003: metrics: Add leak detector controller in Chrome OS metrics system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add content/public/browser to GN deps Created 4 years, 9 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/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 # 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 source_set("leak_detector") { 115 source_set("leak_detector") {
116 sources = [ 116 sources = [
117 "leak_detector/call_stack_manager.cc", 117 "leak_detector/call_stack_manager.cc",
118 "leak_detector/call_stack_manager.h", 118 "leak_detector/call_stack_manager.h",
119 "leak_detector/call_stack_table.cc", 119 "leak_detector/call_stack_table.cc",
120 "leak_detector/call_stack_table.h", 120 "leak_detector/call_stack_table.h",
121 "leak_detector/custom_allocator.cc", 121 "leak_detector/custom_allocator.cc",
122 "leak_detector/custom_allocator.h", 122 "leak_detector/custom_allocator.h",
123 "leak_detector/leak_analyzer.cc", 123 "leak_detector/leak_analyzer.cc",
124 "leak_detector/leak_analyzer.h", 124 "leak_detector/leak_analyzer.h",
125 "leak_detector/leak_detector.cc",
126 "leak_detector/leak_detector.h",
125 "leak_detector/leak_detector_impl.cc", 127 "leak_detector/leak_detector_impl.cc",
126 "leak_detector/leak_detector_impl.h", 128 "leak_detector/leak_detector_impl.h",
127 "leak_detector/leak_detector_value_type.cc", 129 "leak_detector/leak_detector_value_type.cc",
128 "leak_detector/leak_detector_value_type.h", 130 "leak_detector/leak_detector_value_type.h",
129 "leak_detector/ranked_list.cc", 131 "leak_detector/ranked_list.cc",
130 "leak_detector/ranked_list.h", 132 "leak_detector/ranked_list.h",
131 ] 133 ]
132 134
133 deps = [ 135 deps = [
134 "//base", 136 "//base",
137 "//content/public/browser",
135 ] 138 ]
136 } 139 }
137 } 140 }
138 141
139 # GYP version: components/metrics.gypi:metrics_net 142 # GYP version: components/metrics.gypi:metrics_net
140 static_library("net") { 143 static_library("net") {
141 sources = [ 144 sources = [
142 "net/net_metrics_log_uploader.cc", 145 "net/net_metrics_log_uploader.cc",
143 "net/net_metrics_log_uploader.h", 146 "net/net_metrics_log_uploader.h",
144 "net/network_metrics_provider.cc", 147 "net/network_metrics_provider.cc",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 } 280 }
278 281
279 if (is_chromeos) { 282 if (is_chromeos) {
280 source_set("leak_detector_unit_tests") { 283 source_set("leak_detector_unit_tests") {
281 testonly = true 284 testonly = true
282 sources = [ 285 sources = [
283 "leak_detector/call_stack_manager_unittest.cc", 286 "leak_detector/call_stack_manager_unittest.cc",
284 "leak_detector/call_stack_table_unittest.cc", 287 "leak_detector/call_stack_table_unittest.cc",
285 "leak_detector/leak_analyzer_unittest.cc", 288 "leak_detector/leak_analyzer_unittest.cc",
286 "leak_detector/leak_detector_impl_unittest.cc", 289 "leak_detector/leak_detector_impl_unittest.cc",
290 "leak_detector/leak_detector_unittest.cc",
287 "leak_detector/ranked_list_unittest.cc", 291 "leak_detector/ranked_list_unittest.cc",
288 ] 292 ]
289 293
290 deps = [ 294 deps = [
291 ":leak_detector", 295 ":leak_detector",
292 "//base", 296 "//base",
297 "//content/test:test_support",
293 "//testing/gtest", 298 "//testing/gtest",
294 ] 299 ]
295 } 300 }
296 } 301 }
297 302
298 source_set("unit_tests") { 303 source_set("unit_tests") {
299 testonly = true 304 testonly = true
300 sources = [ 305 sources = [
301 "call_stack_profile_metrics_provider_unittest.cc", 306 "call_stack_profile_metrics_provider_unittest.cc",
302 "cloned_install_detector_unittest.cc", 307 "cloned_install_detector_unittest.cc",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 if (is_linux) { 340 if (is_linux) {
336 sources += [ "serialization/serialization_utils_unittest.cc" ] 341 sources += [ "serialization/serialization_utils_unittest.cc" ]
337 deps += [ ":serialization" ] 342 deps += [ ":serialization" ]
338 } 343 }
339 344
340 if (is_chromeos) { 345 if (is_chromeos) {
341 deps += [ ":leak_detector_unit_tests" ] 346 deps += [ ":leak_detector_unit_tests" ]
342 } 347 }
343 } 348 }
344 # TODO(GYP): metrics_chromeos 349 # TODO(GYP): metrics_chromeos
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698