OLD | NEW |
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 "accelerated_widget.mojom", | 9 "accelerated_widget.mojom", |
10 "buffer_types.mojom", | 10 "buffer_types.mojom", |
11 "color_space.mojom", | 11 "color_space.mojom", |
12 "icc_profile.mojom", | 12 "icc_profile.mojom", |
13 "selection_bound.mojom", | 13 "selection_bound.mojom", |
14 "transform.mojom", | 14 "transform.mojom", |
15 ] | 15 ] |
16 | 16 |
17 public_deps = [ | 17 public_deps = [ |
18 "//ui/gfx/geometry/mojo", | 18 "//ui/gfx/geometry/mojo", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 mojom("test_interfaces") { | 22 mojom("test_interfaces") { |
23 sources = [ | 23 sources = [ |
24 "traits_test_service.mojom", | 24 "traits_test_service.mojom", |
25 ] | 25 ] |
26 | 26 |
27 public_deps = [ | 27 public_deps = [ |
28 ":mojo", | 28 ":mojo", |
29 ] | 29 ] |
| 30 |
| 31 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 32 use_once_callback = false |
30 } | 33 } |
31 | 34 |
32 source_set("struct_traits") { | 35 source_set("struct_traits") { |
33 sources = [ | 36 sources = [ |
34 "selection_bound_struct_traits.h", | 37 "selection_bound_struct_traits.h", |
35 "transform_struct_traits.h", | 38 "transform_struct_traits.h", |
36 ] | 39 ] |
37 public_deps = [ | 40 public_deps = [ |
38 ":mojo_shared_cpp_sources", | 41 ":mojo_shared_cpp_sources", |
39 "//mojo/public/cpp/bindings", | 42 "//mojo/public/cpp/bindings", |
40 "//ui/gfx", | 43 "//ui/gfx", |
41 ] | 44 ] |
42 } | 45 } |
OLD | NEW |