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

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

Issue 2843353004: Enable use_once_callback on mojom GN rule by default (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
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
43 } 46 }
44 47
45 source_set("unit_tests") { 48 source_set("unit_tests") {
46 testonly = true 49 testonly = true
47 sources = [ 50 sources = [
48 "call_stack_manager_unittest.cc", 51 "call_stack_manager_unittest.cc",
49 "call_stack_table_unittest.cc", 52 "call_stack_table_unittest.cc",
50 "leak_analyzer_unittest.cc", 53 "leak_analyzer_unittest.cc",
51 "leak_detector_impl_unittest.cc", 54 "leak_detector_impl_unittest.cc",
52 "leak_detector_unittest.cc", 55 "leak_detector_unittest.cc",
53 "protobuf_to_mojo_converter_unittest.cc", 56 "protobuf_to_mojo_converter_unittest.cc",
54 "ranked_set_unittest.cc", 57 "ranked_set_unittest.cc",
55 ] 58 ]
56 59
57 deps = [ 60 deps = [
58 ":interfaces", 61 ":interfaces",
59 ":leak_detector", 62 ":leak_detector",
60 "//base", 63 "//base",
61 "//components/metrics/proto:proto", 64 "//components/metrics/proto:proto",
62 "//content/test:test_support", 65 "//content/test:test_support",
63 "//testing/gtest", 66 "//testing/gtest",
64 ] 67 ]
65 } 68 }
66 } 69 }
OLDNEW
« no previous file with comments | « components/leveldb/public/interfaces/BUILD.gn ('k') | components/metrics/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698