Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1089)

Unified Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: test file contents Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/js/tests/run_js_unittests.cc ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« no previous file with comments | « mojo/edk/js/tests/run_js_unittests.cc ('k') | mojo/public/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698