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

Unified Diff: mojo/public/js/BUILD.gn

Issue 2779533002: Revert of Mojo JS bindings: change module loading solution. (Closed)
Patch Set: 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/public/interfaces/bindings/tests/echo_import.mojom ('k') | mojo/public/js/new_bindings/base.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/BUILD.gn
diff --git a/mojo/public/js/BUILD.gn b/mojo/public/js/BUILD.gn
index 27ddfbc690b4aa36a64be3e99c8906e55200deaf..0fae4b49b889e114c6553912eeca19c4d61b7b97 100644
--- a/mojo/public/js/BUILD.gn
+++ b/mojo/public/js/BUILD.gn
@@ -30,45 +30,7 @@
]
deps = [
- ":new_bindings",
"//mojo/public/interfaces/bindings:bindings__generator",
- ]
-}
-
-action("new_bindings") {
- new_bindings_js_files = [
- # This must be the first file in the list, because it initializes global
- # variable |mojoBindings| that the others need to refer to.
- "new_bindings/base.js",
-
- "$interfaces_bindings_gen_dir/new_bindings/interface_control_messages.mojom.js",
- "new_bindings/bindings.js",
- "new_bindings/buffer.js",
- "new_bindings/codec.js",
- "new_bindings/connector.js",
- "new_bindings/interface_types.js",
- "new_bindings/lib/control_message_handler.js",
- "new_bindings/lib/control_message_proxy.js",
- "new_bindings/router.js",
- "new_bindings/unicode.js",
- "new_bindings/validator.js",
- ]
- compiled_file = "$target_gen_dir/mojo_bindings.js"
-
- # TODO(yzshen): Eventually we would like to use Closure Compiler to minify the
- # bindings instead of simply concatenating the files.
- script = "//v8/tools/concatenate-files.py"
-
- sources = new_bindings_js_files
- outputs = [
- compiled_file,
- ]
-
- args = rebase_path(new_bindings_js_files)
- args += [ rebase_path(compiled_file) ]
-
- deps = [
- "//mojo/public/interfaces/bindings:new_bindings__generator",
]
}
« no previous file with comments | « mojo/public/interfaces/bindings/tests/echo_import.mojom ('k') | mojo/public/js/new_bindings/base.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698