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") { |
| 8 testonly = true |
| 9 deps = [ |
| 10 ":test_data", |
| 11 ":test_interfaces", |
| 12 ] |
| 13 } |
| 14 |
| 15 action("test_data") { |
| 16 script = "gen_data_files_list.py" |
| 17 outputs = [ |
| 18 "$target_gen_dir/data_files.txt", |
| 19 ] |
| 20 args = rebase_path(outputs, root_build_dir) |
| 21 } |
| 22 |
7 mojom("test_interfaces") { | 23 mojom("test_interfaces") { |
8 testonly = true | 24 testonly = true |
9 sources = [ | 25 sources = [ |
10 "math_calculator.mojom", | 26 "math_calculator.mojom", |
11 "no_module.mojom", | 27 "no_module.mojom", |
12 "ping_service.mojom", | 28 "ping_service.mojom", |
13 "rect.mojom", | 29 "rect.mojom", |
14 "regression_tests.mojom", | 30 "regression_tests.mojom", |
15 "sample_factory.mojom", | 31 "sample_factory.mojom", |
16 "sample_interfaces.mojom", | 32 "sample_interfaces.mojom", |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 ] | 207 ] |
192 } | 208 } |
193 | 209 |
194 mojom("test_no_sources") { | 210 mojom("test_no_sources") { |
195 testonly = true | 211 testonly = true |
196 | 212 |
197 public_deps = [ | 213 public_deps = [ |
198 ":test_interfaces", | 214 ":test_interfaces", |
199 ] | 215 ] |
200 } | 216 } |
OLD | NEW |