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

Unified Diff: components/metrics/BUILD.gn

Issue 1472693002: Revert of components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index f711a59b56571968d4e2746556081ff64cfd6e2c..836c2431743ba5ddddb011e770022496e5f2880f 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -111,30 +111,6 @@
}
}
-# GYP version: components/metrics.gypi:metrics_leak_detector
-static_library("leak_detector") {
- sources = [
- "leak_detector/call_stack_manager.cc",
- "leak_detector/call_stack_manager.h",
- "leak_detector/call_stack_table.cc",
- "leak_detector/call_stack_table.h",
- "leak_detector/custom_allocator.cc",
- "leak_detector/custom_allocator.h",
- "leak_detector/leak_analyzer.cc",
- "leak_detector/leak_analyzer.h",
- "leak_detector/leak_detector_impl.cc",
- "leak_detector/leak_detector_impl.h",
- "leak_detector/leak_detector_value_type.cc",
- "leak_detector/leak_detector_value_type.h",
- "leak_detector/ranked_list.cc",
- "leak_detector/ranked_list.h",
- ]
-
- deps = [
- "//base",
- ]
-}
-
# GYP version: components/metrics.gypi:metrics_net
static_library("net") {
sources = [
@@ -263,22 +239,6 @@
"//base",
]
}
-}
-
-source_set("leak_detector_unit_tests") {
- testonly = true
- sources = [
- "leak_detector/call_stack_manager_unittest.cc",
- "leak_detector/call_stack_table_unittest.cc",
- "leak_detector/leak_analyzer_unittest.cc",
- "leak_detector/leak_detector_impl_unittest.cc",
- "leak_detector/ranked_list_unittest.cc",
- ]
-
- deps = [
- ":leak_detector",
- "//testing/gtest",
- ]
}
source_set("unit_tests") {
@@ -320,9 +280,5 @@
sources += [ "serialization/serialization_utils_unittest.cc" ]
deps += [ ":serialization" ]
}
-
- if (is_chromeos) {
- deps += [ ":leak_detector_unit_tests" ]
- }
}
# TODO(GYP): metrics_chromeos
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/leak_detector/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698