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

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

Issue 2676443005: Add interface versioning. Methods queryVersion and requireVersion. (Closed)
Patch Set: Expect the result inside the error handler for test. Code formatting and address codereview comment… Created 3 years, 10 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 | « ios/web/webui/crw_web_ui_manager.mm ('k') | mojo/public/js/bindings.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 df150ddbe57ae6cf516a39ad9d4ee539f4ecddd7..6cb9f5fd4e1aeb91d5ea2be46538816fdc6e6bc8 100644
--- a/mojo/public/js/BUILD.gn
+++ b/mojo/public/js/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings"
+
source_set("js") {
sources = [
"constants.cc",
@@ -11,26 +13,32 @@ source_set("js") {
group("bindings") {
data = [
+ "$interfaces_bindings_gen_dir/interface_control_messages.mojom.js",
"bindings.js",
"buffer.js",
"codec.js",
"connector.js",
- "constants.cc",
- "constants.h",
"core.js",
"interface_types.js",
+ "lib/control_message_handler.js",
+ "lib/control_message_proxy.js",
"router.js",
"support.js",
"threading.js",
"unicode.js",
"validator.js",
]
+
+ deps = [
+ "//mojo/public/interfaces/bindings:bindings__generator",
+ ]
}
group("tests") {
testonly = true
data = [
+ "//mojo/public/interfaces/bindings/tests/data/validation/",
"tests/binding_unittest.js",
"tests/codec_unittest.js",
"tests/connection_unittest.js",
@@ -41,7 +49,6 @@ group("tests") {
"tests/union_unittest.js",
"tests/validation_test_input_parser.js",
"tests/validation_unittest.js",
- "//mojo/public/interfaces/bindings/tests/data/validation/",
]
public_deps = [
« no previous file with comments | « ios/web/webui/crw_web_ui_manager.mm ('k') | mojo/public/js/bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698