Chromium Code Reviews| Index: mojo/public/interfaces/bindings/tests/BUILD.gn |
| diff --git a/mojo/public/interfaces/bindings/tests/BUILD.gn b/mojo/public/interfaces/bindings/tests/BUILD.gn |
| index 06d0f9548014c11d8e2da029e06a3ed3f17735ec..c901f51b5173c03381561cf97dc760a06e334c97 100644 |
| --- a/mojo/public/interfaces/bindings/tests/BUILD.gn |
| +++ b/mojo/public/interfaces/bindings/tests/BUILD.gn |
| @@ -4,6 +4,40 @@ |
| import("../../../tools/bindings/mojom.gni") |
| +group("tests") { |
| + testonly = true |
| + deps = [ |
| + ":test_interfaces", |
| + ":validation_test_data", |
|
alokp
2017/03/27 01:50:09
nit: Would it make sense to create a single target
|
| + ":validation_test_data_list", |
| + ] |
| +} |
| + |
| +action("validation_test_data_list") { |
| + script = "//mojo/public/tools/bindings/gen_data_files_list.py" |
| + sources = [ |
| + "data/validation", |
| + ] |
| + outputs = [ |
| + "$target_gen_dir/validation_files.txt", |
| + ] |
| + args = [ |
| + "-d", |
| + rebase_path("data/validation", root_build_dir), |
| + "-o", |
| + rebase_path(outputs[0], root_build_dir), |
| + ] |
| +} |
| + |
| +copy("validation_test_data") { |
| + sources = [ |
| + "data/validation", |
| + ] |
| + outputs = [ |
| + "$target_gen_dir/data/{{source_file_part}}", |
| + ] |
| +} |
| + |
| mojom("test_interfaces") { |
| testonly = true |
| sources = [ |