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 "selection_bound.mojom", | 11 "selection_bound.mojom", |
12 "transform.mojom", | 12 "transform.mojom", |
13 ] | 13 ] |
14 | 14 |
15 public_deps = [ | 15 public_deps = [ |
16 "//ui/gfx/geometry/mojo", | 16 "//ui/gfx/geometry/mojo", |
17 ] | 17 ] |
18 } | 18 } |
19 | 19 |
20 mojom("test_interfaces") { | 20 mojom("test_interfaces") { |
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 } | 28 } |
| 29 |
| 30 source_set("struct_traits") { |
| 31 sources = [ |
| 32 "selection_bound_struct_traits.h", |
| 33 "transform_struct_traits.h", |
| 34 ] |
| 35 public_deps = [ |
| 36 ":mojo_shared_cpp_sources", |
| 37 "//mojo/public/cpp/bindings", |
| 38 "//ui/gfx", |
| 39 ] |
| 40 } |
OLD | NEW |