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

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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: copy full folder Created 3 years, 9 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 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 = [
« 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