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..7fa34eb17f9d315c2d7acc5c8f3f803ba7445a65 100644 |
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn |
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn |
@@ -4,6 +4,44 @@ |
import("../../../tools/bindings/mojom.gni") |
+group("tests") { |
+ testonly = true |
+ deps = [ |
+ ":test_interfaces", |
+ ] |
+ data_deps = [ |
+ ":test_data", |
+ ":test_data_list", |
+ ] |
+} |
+ |
+copy("test_data") { |
+ testonly = true |
+ sources = [ |
+ "data/validation", |
+ ] |
+ outputs = [ |
+ "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_part}}", |
+ ] |
+} |
+ |
+action_foreach("test_data_list") { |
+ testonly = true |
+ script = "//mojo/public/tools/bindings/gen_data_files_list.py" |
+ sources = [ |
+ "data/validation", |
+ ] |
+ outputs = [ |
+ "$root_gen_dir/layout_test_data/{{source_root_relative_dir}}/{{source_file_part}}_index.txt", |
+ ] |
+ args = [ |
+ "-d", |
+ rebase_path(sources[0], root_build_dir), |
+ "-o", |
+ rebase_path(outputs[0], root_build_dir), |
+ ] |
+} |
+ |
mojom("test_interfaces") { |
testonly = true |
sources = [ |