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

Unified Diff: components/metrics/leak_detector/BUILD.gn

Issue 2064463002: Mojo interface/service for Leak Detector on remote process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update ProtobufToMojoConverterTest Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/metrics/BUILD.gn ('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/leak_detector/BUILD.gn
diff --git a/components/metrics/leak_detector/BUILD.gn b/components/metrics/leak_detector/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..03d904a7459ce0cfd46e5da587403e21dbfa2215
--- /dev/null
+++ b/components/metrics/leak_detector/BUILD.gn
@@ -0,0 +1,65 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/tools/bindings/mojom.gni")
+
+if (is_chromeos) {
+ # GYP version: components/metrics.gypi:metrics_leak_detector
+ source_set("leak_detector") {
+ sources = [
+ "call_stack_manager.cc",
+ "call_stack_manager.h",
+ "call_stack_table.cc",
+ "call_stack_table.h",
+ "custom_allocator.cc",
+ "custom_allocator.h",
+ "leak_analyzer.cc",
+ "leak_analyzer.h",
+ "leak_detector.cc",
+ "leak_detector.h",
+ "leak_detector_impl.cc",
+ "leak_detector_impl.h",
+ "leak_detector_value_type.cc",
+ "leak_detector_value_type.h",
+ "protobuf_to_mojo_converter.cc",
+ "protobuf_to_mojo_converter.h",
+ "ranked_set.cc",
+ "ranked_set.h",
+ ]
+
+ deps = [
+ ":interfaces",
+ "//base",
+ "//components/metrics/proto:proto",
+ ]
+ }
+
+ mojom("interfaces") {
+ sources = [
+ "leak_detector.mojom",
+ ]
+ }
+
+ source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "call_stack_manager_unittest.cc",
+ "call_stack_table_unittest.cc",
+ "leak_analyzer_unittest.cc",
+ "leak_detector_impl_unittest.cc",
+ "leak_detector_unittest.cc",
+ "protobuf_to_mojo_converter_unittest.cc",
+ "ranked_set_unittest.cc",
+ ]
+
+ deps = [
+ ":interfaces",
+ ":leak_detector",
+ "//base",
+ "//components/metrics/proto:proto",
+ "//content/test:test_support",
+ "//testing/gtest",
+ ]
+ }
+}
« no previous file with comments | « components/metrics/BUILD.gn ('k') | components/metrics/leak_detector/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698