| 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 "test_unions.mojom", |
| 26 "validation_test_interfaces.mojom", | 27 "validation_test_interfaces.mojom", |
| 27 ] | 28 ] |
| 28 public_deps = [ | 29 public_deps = [ |
| 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 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 ] | 142 ] |
| 142 } | 143 } |
| 143 | 144 |
| 144 mojom("test_struct_traits_interfaces") { | 145 mojom("test_struct_traits_interfaces") { |
| 145 testonly = true | 146 testonly = true |
| 146 sources = [ | 147 sources = [ |
| 147 "struct_with_traits.mojom", | 148 "struct_with_traits.mojom", |
| 148 ] | 149 ] |
| 149 } | 150 } |
| 150 | 151 |
| 151 mojom("test_interfaces_experimental") { | |
| 152 testonly = true | |
| 153 sources = [ | |
| 154 "test_unions.mojom", | |
| 155 ] | |
| 156 } | |
| 157 | |
| 158 mojom("test_associated_interfaces") { | 152 mojom("test_associated_interfaces") { |
| 159 # These files are not included in the test_interfaces target because | 153 # These files are not included in the test_interfaces target because |
| 160 # associated interfaces are not supported by all bindings languages yet. | 154 # associated interfaces are not supported by all bindings languages yet. |
| 161 testonly = true | 155 testonly = true |
| 162 sources = [ | 156 sources = [ |
| 163 "test_associated_interfaces.mojom", | 157 "test_associated_interfaces.mojom", |
| 164 "validation_test_associated_interfaces.mojom", | 158 "validation_test_associated_interfaces.mojom", |
| 165 ] | 159 ] |
| 166 | 160 |
| 167 public_deps = [ | 161 public_deps = [ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 191 ] | 185 ] |
| 192 } | 186 } |
| 193 | 187 |
| 194 mojom("test_no_sources") { | 188 mojom("test_no_sources") { |
| 195 testonly = true | 189 testonly = true |
| 196 | 190 |
| 197 public_deps = [ | 191 public_deps = [ |
| 198 ":test_interfaces", | 192 ":test_interfaces", |
| 199 ] | 193 ] |
| 200 } | 194 } |
| OLD | NEW |