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 |
| 13 # TODO(crbug.com/699569): Convert to use the new JS bindings. |
| 14 use_new_js_bindings = false |
12 } | 15 } |
13 | 16 |
14 mojom("test_interfaces") { | 17 mojom("test_interfaces") { |
15 testonly = true | 18 testonly = true |
16 sources = [ | 19 sources = [ |
17 "test/traits_test_service.mojom", | 20 "test/traits_test_service.mojom", |
18 ] | 21 ] |
19 | 22 |
20 public_deps = [ | 23 public_deps = [ |
21 ":interfaces", | 24 ":interfaces", |
22 ] | 25 ] |
23 | 26 |
24 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. | 27 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
25 use_once_callback = false | 28 use_once_callback = false |
26 } | 29 } |
27 | 30 |
28 source_set("struct_traits") { | 31 source_set("struct_traits") { |
29 sources = [ | 32 sources = [ |
30 "image_filter_struct_traits.cc", | 33 "image_filter_struct_traits.cc", |
31 "image_filter_struct_traits.h", | 34 "image_filter_struct_traits.h", |
32 ] | 35 ] |
33 public_deps = [ | 36 public_deps = [ |
34 ":interfaces_shared_cpp_sources", | 37 ":interfaces_shared_cpp_sources", |
35 "//skia", | 38 "//skia", |
36 ] | 39 ] |
37 } | 40 } |
OLD | NEW |