Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index ea9e983988d692d9232b81a6651e8b1e84bf1d9e..8cfd3c8722b066ed416d8788b5ea3410a4056e48 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -896,6 +896,7 @@ if (!is_ios) { |
group("webkit_layout_tests") { |
testonly = true |
data_deps = [ |
+ ":layout_test_data_mojo_bindings", |
"//content/shell:content_shell", |
"//mojo/public/interfaces/bindings/tests:test_interfaces", |
"//third_party/WebKit/public:blink_devtools_frontend_resources_files", |
@@ -952,6 +953,22 @@ if (!is_ios) { |
] |
} |
} |
+ |
+ copy("layout_test_data_mojo_bindings") { |
+ testonly = true |
+ |
+ sources = [ |
+ "$root_gen_dir/mojo/public/js/mojo_bindings.js", |
+ ] |
+ |
+ outputs = [ |
+ "$root_gen_dir/layout_test_data/mojo/public/js/mojo_bindings.js", |
+ ] |
+ |
+ deps = [ |
+ "//mojo/public/js:new_bindings", |
+ ] |
+ } |
} |
# Add a dummy target for compatibility w/ GYP |