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

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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: generate copies of data files 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
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..de837d399c2b2d59ef7b05c1858545fc3f4b6093 100644
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn
@@ -4,6 +4,23 @@
import("../../../tools/bindings/mojom.gni")
+group("tests") {
+ testonly = true
+ deps = [
+ ":test_data",
+ ":test_interfaces",
+ ]
+}
+
+action("test_data") {
+ script = "gen_data_files_list.py"
+ outputs = [
+ "$target_gen_dir/data_files.txt",
yzshen1 2017/03/23 17:46:20 please use a more specific name such as ".../data/
+ "$target_gen_dir/data",
yzshen1 2017/03/23 17:46:20 I think outputs should list all the files instead
damargulis 2017/03/24 19:44:48 I've run into some problems using the "read_file"
+ ]
+ args = rebase_path([ "data/validation" ] + outputs, root_build_dir)
+}
+
mojom("test_interfaces") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698