OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("interfaces") { | 7 mojom("interfaces") { |
8 sources = [ | 8 sources = [ |
9 "event.mojom", | 9 "event.mojom", |
10 "event_constants.mojom", | 10 "event_constants.mojom", |
11 "keyboard_codes.mojom", | 11 "keyboard_codes.mojom", |
12 ] | 12 ] |
13 | 13 |
14 public_deps = [ | 14 public_deps = [ |
15 "//ui/gfx/mojo", | 15 "//ui/gfx/mojo", |
16 "//ui/latency/mojo:interfaces", | 16 "//ui/latency/mojo:interfaces", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 mojom("test_interfaces") { | 20 mojom("test_interfaces") { |
21 testonly = true | 21 testonly = true |
22 sources = [ | 22 sources = [ |
23 "traits_test_service.mojom", | 23 "traits_test_service.mojom", |
24 ] | 24 ] |
25 | 25 |
26 public_deps = [ | 26 public_deps = [ |
27 ":interfaces", | 27 ":interfaces", |
28 ] | 28 ] |
| 29 |
| 30 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 31 use_once_callback = false |
29 } | 32 } |
OLD | NEW |