| 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", | |
| 30 ":test_mojom_import", | 29 ":test_mojom_import", |
| 31 ":test_mojom_import2", | 30 ":test_mojom_import2", |
| 32 ] | 31 ] |
| 33 } | 32 } |
| 34 | 33 |
| 35 component("test_export_component") { | 34 component("test_export_component") { |
| 36 testonly = true | 35 testonly = true |
| 37 deps = [ | 36 deps = [ |
| 38 ":test_export", | 37 ":test_export", |
| 39 ] | 38 ] |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 ] | 191 ] |
| 193 } | 192 } |
| 194 | 193 |
| 195 mojom("test_no_sources") { | 194 mojom("test_no_sources") { |
| 196 testonly = true | 195 testonly = true |
| 197 | 196 |
| 198 public_deps = [ | 197 public_deps = [ |
| 199 ":test_interfaces", | 198 ":test_interfaces", |
| 200 ] | 199 ] |
| 201 } | 200 } |
| 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 |