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 e496eb656c0f16063a48630c66e826207c815f25..8f6c40514b86c691aea74d3b3a20cd57c79c7877 100644 |
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn |
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn |
@@ -4,6 +4,46 @@ |
import("../../../tools/bindings/mojom.gni") |
+group("tests") { |
+ testonly = true |
+ deps = [ |
+ ":test_data", |
+ ":test_interfaces", |
+ ] |
+} |
+ |
+group("test_data") { |
+ deps = [ |
+ ":validation_test_data", |
+ ":validation_test_data_list", |
+ ] |
+} |
+ |
+action("validation_test_data_list") { |
+ script = "//mojo/public/tools/bindings/gen_data_files_list.py" |
+ sources = [ |
+ "data/validation", |
+ ] |
+ outputs = [ |
+ "$root_gen_dir/layout_test_data/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 = [ |
+ "$root_gen_dir/layout_test_data/{{source_file_part}}", |
+ ] |
+} |
+ |
mojom("test_interfaces") { |
testonly = true |
sources = [ |