OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 "bitmap.mojom", | 9 "bitmap.mojom", |
10 "image_filter.mojom", | 10 "image_filter.mojom", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 mojom("test_interfaces") { | 14 mojom("test_interfaces") { |
15 testonly = true | 15 testonly = true |
16 sources = [ | 16 sources = [ |
17 "test/traits_test_service.mojom", | 17 "test/traits_test_service.mojom", |
18 ] | 18 ] |
19 | 19 |
20 public_deps = [ | 20 public_deps = [ |
21 ":interfaces", | 21 ":interfaces", |
22 ] | 22 ] |
| 23 |
| 24 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 25 use_once_callback = false |
23 } | 26 } |
24 | 27 |
25 source_set("struct_traits") { | 28 source_set("struct_traits") { |
26 sources = [ | 29 sources = [ |
27 "image_filter_struct_traits.cc", | 30 "image_filter_struct_traits.cc", |
28 "image_filter_struct_traits.h", | 31 "image_filter_struct_traits.h", |
29 ] | 32 ] |
30 public_deps = [ | 33 public_deps = [ |
31 ":interfaces_shared_cpp_sources", | 34 ":interfaces_shared_cpp_sources", |
32 "//skia", | 35 "//skia", |
33 ] | 36 ] |
34 } | 37 } |
OLD | NEW |