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

Unified Diff: BUILD.gn

Issue 2759563004: Mojo JS bindings: change module loading solution. (Closed)
Patch Set: Make sure mojo_bindings.js is packaged in build result for running layout tests. 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 | « no previous file | mojo/public/interfaces/bindings/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | mojo/public/interfaces/bindings/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698