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..7239fd496fe67b0651eec12b84e02e92994a07f8 100644 |
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn |
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn |
@@ -4,6 +4,35 @@ |
import("../../../tools/bindings/mojom.gni") |
+group("tests") { |
+ testonly = true |
+ deps = [ |
+ ":test_interfaces", |
+ ":validation_test_data", |
+ ":validation_test_data_list", |
+ ] |
+} |
+ |
+action("validation_test_data_list") { |
+ script = "//mojo/public/tools/bindings/gen_data_files_list.py" |
+ data = [ |
+ "data/validation/", |
+ ] |
+ outputs = [ |
+ "$target_gen_dir/validation_files.txt", |
+ ] |
+ args = rebase_path([ "data/validation" ] + outputs, root_build_dir) |
+} |
+ |
+copy("validation_test_data") { |
+ sources = [ |
damargulis
2017/03/24 23:07:17
I take back all my previous comments! Copy does a
|
+ "data/validation", |
+ ] |
+ outputs = [ |
+ "$target_gen_dir/data/{{source_file_part}}", |
+ ] |
+} |
+ |
mojom("test_interfaces") { |
testonly = true |
sources = [ |