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

Side by Side 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: Create BUILD.gn for chrome/renderer/leak_detector 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//mojo/public/tools/bindings/mojom.gni")
6
7 if (is_chromeos) {
8 # GYP version: components/metrics.gypi:metrics_leak_detector
9 source_set("leak_detector") {
10 sources = [
11 "call_stack_manager.cc",
12 "call_stack_manager.h",
13 "call_stack_table.cc",
14 "call_stack_table.h",
15 "custom_allocator.cc",
16 "custom_allocator.h",
17 "leak_analyzer.cc",
18 "leak_analyzer.h",
19 "leak_detector.cc",
20 "leak_detector.h",
21 "leak_detector_impl.cc",
22 "leak_detector_impl.h",
23 "leak_detector_value_type.cc",
24 "leak_detector_value_type.h",
25 "protobuf_to_mojo_converter.cc",
26 "protobuf_to_mojo_converter.h",
27 "ranked_set.cc",
28 "ranked_set.h",
29 ]
30
31 deps = [
32 "//base",
33 "//components/metrics/proto:proto",
34 ]
35 }
36
37 mojom("interfaces") {
38 sources = [
39 "leak_detector.mojom",
40 ]
41 }
42
43 source_set("unit_tests") {
44 testonly = true
45 sources = [
46 "call_stack_manager_unittest.cc",
47 "call_stack_table_unittest.cc",
48 "leak_analyzer_unittest.cc",
49 "leak_detector_impl_unittest.cc",
50 "leak_detector_unittest.cc",
51 "protobuf_to_mojo_converter_unittest.cc",
52 "ranked_set_unittest.cc",
53 ]
54
55 deps = [
56 ":interfaces",
57 ":leak_detector",
58 "//base",
59 "//components/metrics/proto:proto",
60 "//content/test:test_support",
61 "//testing/gtest",
62 ]
63 }
64 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698