| 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 0e086c39252467a84be83900964b9acdd93a684f..50e73281cc49d99391e89cba8a06ff04b55b5c34 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 = [
|
| + "$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 = [
|
|
|