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 group("tests") { | 7 group("tests") { |
8 testonly = true | 8 testonly = true |
9 deps = [ | 9 deps = [ |
10 ":test_interfaces", | 10 ":test_interfaces", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 "test_structs.mojom", | 62 "test_structs.mojom", |
63 "test_sync_methods.mojom", | 63 "test_sync_methods.mojom", |
64 "test_unions.mojom", | 64 "test_unions.mojom", |
65 "validation_test_interfaces.mojom", | 65 "validation_test_interfaces.mojom", |
66 ] | 66 ] |
67 public_deps = [ | 67 public_deps = [ |
68 ":echo", | 68 ":echo", |
69 ":test_mojom_import", | 69 ":test_mojom_import", |
70 ":test_mojom_import2", | 70 ":test_mojom_import2", |
71 ] | 71 ] |
| 72 |
| 73 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 74 use_once_callback = false |
72 } | 75 } |
73 | 76 |
74 component("test_export_component") { | 77 component("test_export_component") { |
75 testonly = true | 78 testonly = true |
76 deps = [ | 79 deps = [ |
77 ":test_export", | 80 ":test_export", |
78 ] | 81 ] |
79 } | 82 } |
80 | 83 |
81 if (!is_ios) { | 84 if (!is_ios) { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 ":test_mojom_import", | 182 ":test_mojom_import", |
180 ":test_mojom_import_wrapper_wrapper", | 183 ":test_mojom_import_wrapper_wrapper", |
181 ] | 184 ] |
182 } | 185 } |
183 | 186 |
184 mojom("test_struct_traits_interfaces") { | 187 mojom("test_struct_traits_interfaces") { |
185 testonly = true | 188 testonly = true |
186 sources = [ | 189 sources = [ |
187 "struct_with_traits.mojom", | 190 "struct_with_traits.mojom", |
188 ] | 191 ] |
| 192 |
| 193 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 194 use_once_callback = false |
189 } | 195 } |
190 | 196 |
191 mojom("test_associated_interfaces") { | 197 mojom("test_associated_interfaces") { |
192 # These files are not included in the test_interfaces target because | 198 # These files are not included in the test_interfaces target because |
193 # associated interfaces are not supported by all bindings languages yet. | 199 # associated interfaces are not supported by all bindings languages yet. |
194 testonly = true | 200 testonly = true |
195 sources = [ | 201 sources = [ |
196 "test_associated_interfaces.mojom", | 202 "test_associated_interfaces.mojom", |
197 "validation_test_associated_interfaces.mojom", | 203 "validation_test_associated_interfaces.mojom", |
198 ] | 204 ] |
199 | 205 |
200 public_deps = [ | 206 public_deps = [ |
201 ":test_interfaces", | 207 ":test_interfaces", |
202 ] | 208 ] |
| 209 |
| 210 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 211 use_once_callback = false |
203 } | 212 } |
204 | 213 |
205 mojom("versioning_test_service_interfaces") { | 214 mojom("versioning_test_service_interfaces") { |
206 testonly = true | 215 testonly = true |
207 sources = [ | 216 sources = [ |
208 "versioning_test_service.mojom", | 217 "versioning_test_service.mojom", |
209 ] | 218 ] |
210 } | 219 } |
211 | 220 |
212 mojom("versioning_test_client_interfaces") { | 221 mojom("versioning_test_client_interfaces") { |
213 testonly = true | 222 testonly = true |
214 sources = [ | 223 sources = [ |
215 "versioning_test_client.mojom", | 224 "versioning_test_client.mojom", |
216 ] | 225 ] |
217 } | 226 } |
218 | 227 |
219 mojom("test_wtf_types") { | 228 mojom("test_wtf_types") { |
220 testonly = true | 229 testonly = true |
221 | 230 |
222 sources = [ | 231 sources = [ |
223 "test_wtf_types.mojom", | 232 "test_wtf_types.mojom", |
224 ] | 233 ] |
| 234 |
| 235 # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
| 236 use_once_callback = false |
225 } | 237 } |
226 | 238 |
227 mojom("test_no_sources") { | 239 mojom("test_no_sources") { |
228 testonly = true | 240 testonly = true |
229 | 241 |
230 public_deps = [ | 242 public_deps = [ |
231 ":test_interfaces", | 243 ":test_interfaces", |
232 ] | 244 ] |
233 } | 245 } |
234 | 246 |
235 mojom("echo") { | 247 mojom("echo") { |
236 testonly = true | 248 testonly = true |
237 sources = [ | 249 sources = [ |
238 "echo.mojom", | 250 "echo.mojom", |
239 "echo_import.mojom", | 251 "echo_import.mojom", |
240 ] | 252 ] |
241 use_new_js_bindings = true | 253 use_new_js_bindings = true |
242 } | 254 } |
OLD | NEW |