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

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: const GetParams; swap and clear stored_reports_ vector 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 "ranked_set.cc",
26 "ranked_set.h",
27 ]
28
29 deps = [
30 "//base",
31 "//components/metrics/proto:proto",
32 ]
33 }
34
35 mojom("interfaces") {
36 sources = [
37 "leak_detector.mojom",
38 ]
39 }
40
41 source_set("unit_tests") {
42 testonly = true
43 sources = [
44 "call_stack_manager_unittest.cc",
45 "call_stack_table_unittest.cc",
46 "leak_analyzer_unittest.cc",
47 "leak_detector_impl_unittest.cc",
48 "leak_detector_unittest.cc",
49 "ranked_set_unittest.cc",
50 ]
51
52 deps = [
53 ":leak_detector",
54 "//base",
55 "//components/metrics/proto:proto",
56 "//content/test:test_support",
57 "//testing/gtest",
58 ]
59 }
60 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698