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

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

Issue 2864283002: Use OnceCallback on Mojo interfaces in //components/leak_detector (Closed)
Patch Set: rebase Created 3 years, 7 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 | « chrome/browser/metrics/leak_detector/leak_detector_remote_controller.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 if (is_chromeos) { 7 if (is_chromeos) {
8 source_set("leak_detector") { 8 source_set("leak_detector") {
9 sources = [ 9 sources = [
10 "call_stack_manager.cc", 10 "call_stack_manager.cc",
(...skipping 22 matching lines...) Expand all
33 ":interfaces", 33 ":interfaces",
34 "//base", 34 "//base",
35 "//components/metrics/proto:proto", 35 "//components/metrics/proto:proto",
36 ] 36 ]
37 } 37 }
38 38
39 mojom("interfaces") { 39 mojom("interfaces") {
40 sources = [ 40 sources = [
41 "leak_detector.mojom", 41 "leak_detector.mojom",
42 ] 42 ]
43
44 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
45 use_once_callback = false
46 } 43 }
47 44
48 source_set("unit_tests") { 45 source_set("unit_tests") {
49 testonly = true 46 testonly = true
50 sources = [ 47 sources = [
51 "call_stack_manager_unittest.cc", 48 "call_stack_manager_unittest.cc",
52 "call_stack_table_unittest.cc", 49 "call_stack_table_unittest.cc",
53 "leak_analyzer_unittest.cc", 50 "leak_analyzer_unittest.cc",
54 "leak_detector_impl_unittest.cc", 51 "leak_detector_impl_unittest.cc",
55 "leak_detector_unittest.cc", 52 "leak_detector_unittest.cc",
56 "protobuf_to_mojo_converter_unittest.cc", 53 "protobuf_to_mojo_converter_unittest.cc",
57 "ranked_set_unittest.cc", 54 "ranked_set_unittest.cc",
58 ] 55 ]
59 56
60 deps = [ 57 deps = [
61 ":interfaces", 58 ":interfaces",
62 ":leak_detector", 59 ":leak_detector",
63 "//base", 60 "//base",
64 "//components/metrics/proto:proto", 61 "//components/metrics/proto:proto",
65 "//content/test:test_support", 62 "//content/test:test_support",
66 "//testing/gtest", 63 "//testing/gtest",
67 ] 64 ]
68 } 65 }
69 } 66 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/leak_detector/leak_detector_remote_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698