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

Side by Side Diff: ui/message_center/mojo/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
« no previous file with comments | « ui/latency/mojo/BUILD.gn ('k') | url/mojo/BUILD.gn » ('j') | 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 mojom("mojo") { 7 mojom("mojo") {
8 sources = [ 8 sources = [
9 "notification.mojom", 9 "notification.mojom",
10 ] 10 ]
11 11
12 public_deps = [ 12 public_deps = [
13 "//mojo/common:common_custom_types", 13 "//mojo/common:common_custom_types",
14 "//skia/public/interfaces:interfaces", 14 "//skia/public/interfaces:interfaces",
15 "//url/mojo:url_mojom_gurl", 15 "//url/mojo:url_mojom_gurl",
16 ] 16 ]
17 } 17 }
18 18
19 mojom("test_interfaces") { 19 mojom("test_interfaces") {
20 testonly = true 20 testonly = true
21 sources = [ 21 sources = [
22 "traits_test_service.mojom", 22 "traits_test_service.mojom",
23 ] 23 ]
24 24
25 public_deps = [ 25 public_deps = [
26 ":mojo", 26 ":mojo",
27 ] 27 ]
28
29 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
30 use_once_callback = false
28 } 31 }
29 32
30 source_set("struct_traits") { 33 source_set("struct_traits") {
31 sources = [ 34 sources = [
32 "notification_struct_traits.cc", 35 "notification_struct_traits.cc",
33 "notification_struct_traits.h", 36 "notification_struct_traits.h",
34 ] 37 ]
35 38
36 public_deps = [ 39 public_deps = [
37 ":mojo_shared_cpp_sources", 40 ":mojo_shared_cpp_sources",
38 "//base", 41 "//base",
39 "//mojo/common:struct_traits", 42 "//mojo/common:struct_traits",
40 "//mojo/public/cpp/bindings", 43 "//mojo/public/cpp/bindings",
41 "//skia/public/interfaces", 44 "//skia/public/interfaces",
42 "//ui/gfx", 45 "//ui/gfx",
43 "//ui/message_center", 46 "//ui/message_center",
44 "//url/mojo:url_mojom_gurl", 47 "//url/mojo:url_mojom_gurl",
45 ] 48 ]
46 } 49 }
OLDNEW
« no previous file with comments | « ui/latency/mojo/BUILD.gn ('k') | url/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698