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("../../../tools/bindings/mojom.gni") | 5 import("../../../tools/bindings/mojom.gni") |
6 | 6 |
7 mojom("test_interfaces") { | 7 mojom("test_interfaces") { |
8 testonly = true | 8 testonly = true |
9 sources = [ | 9 sources = [ |
10 "math_calculator.mojom", | 10 "math_calculator.mojom", |
11 "no_module.mojom", | 11 "no_module.mojom", |
12 "ping_service.mojom", | 12 "ping_service.mojom", |
13 "rect.mojom", | 13 "rect.mojom", |
14 "regression_tests.mojom", | 14 "regression_tests.mojom", |
15 "sample_factory.mojom", | 15 "sample_factory.mojom", |
16 "sample_interfaces.mojom", | 16 "sample_interfaces.mojom", |
17 "sample_service.mojom", | 17 "sample_service.mojom", |
18 "scoping.mojom", | 18 "scoping.mojom", |
19 "serialization_test_structs.mojom", | 19 "serialization_test_structs.mojom", |
20 "test_bad_messages.mojom", | 20 "test_bad_messages.mojom", |
21 "test_constants.mojom", | 21 "test_constants.mojom", |
22 "test_data_view.mojom", | 22 "test_data_view.mojom", |
23 "test_native_types.mojom", | 23 "test_native_types.mojom", |
24 "test_structs.mojom", | 24 "test_structs.mojom", |
25 "test_sync_methods.mojom", | 25 "test_sync_methods.mojom", |
26 "validation_test_interfaces.mojom", | 26 "validation_test_interfaces.mojom", |
27 ] | 27 ] |
28 public_deps = [ | 28 public_deps = [ |
| 29 ":echo", |
29 ":test_mojom_import", | 30 ":test_mojom_import", |
30 ":test_mojom_import2", | 31 ":test_mojom_import2", |
31 ] | 32 ] |
32 } | 33 } |
33 | 34 |
34 component("test_export_component") { | 35 component("test_export_component") { |
35 testonly = true | 36 testonly = true |
36 deps = [ | 37 deps = [ |
37 ":test_export", | 38 ":test_export", |
38 ] | 39 ] |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 ] | 192 ] |
192 } | 193 } |
193 | 194 |
194 mojom("test_no_sources") { | 195 mojom("test_no_sources") { |
195 testonly = true | 196 testonly = true |
196 | 197 |
197 public_deps = [ | 198 public_deps = [ |
198 ":test_interfaces", | 199 ":test_interfaces", |
199 ] | 200 ] |
200 } | 201 } |
| 202 |
| 203 mojom("echo") { |
| 204 testonly = true |
| 205 sources = [ |
| 206 "echo.mojom", |
| 207 "echo_import.mojom", |
| 208 ] |
| 209 use_new_js_bindings = true |
| 210 } |
OLD | NEW |