Index: mojo/public/js/BUILD.gn |
diff --git a/mojo/public/js/BUILD.gn b/mojo/public/js/BUILD.gn |
index 4b86e6eb9a562f6c158fd557c8d67ee633dbc722..eda7e04d07ef67f2e819bcbfb6fa1da79803f8bc 100644 |
--- a/mojo/public/js/BUILD.gn |
+++ b/mojo/public/js/BUILD.gn |
@@ -8,3 +8,38 @@ source_set("js") { |
"constants.h", |
] |
} |
+ |
+group("bindings") { |
+ data = [ |
+ "bindings.js", |
+ "buffer.js", |
+ "codec.js", |
+ "connection.js", |
+ "connector.js", |
+ "constants.cc", |
+ "constants.h", |
+ "core.js", |
+ "router.js", |
+ "support.js", |
+ "threading.js", |
+ "unicode.js", |
+ "validator.js", |
+ ] |
+} |
+ |
+group("tests") { |
+ testonly = true |
+ |
+ data = [ |
+ "codec_unittests.js", |
+ "core_unittests.js", |
+ "struct_unittests.js", |
+ "test/validation_test_input_parser.js", |
+ "union_unittests.js", |
+ "validation_unittests.js", |
+ "//mojo/public/interfaces/bindings/tests/data/validation/", |
+ ] |
+ public_deps = [ |
+ ":bindings", |
+ ] |
+} |