Index: mojo/edk/js/tests/BUILD.gn |
diff --git a/mojo/edk/js/tests/BUILD.gn b/mojo/edk/js/tests/BUILD.gn |
index 15553285ada80512c43cc96d6680d1bfc6d2053b..c61ba379a86ca8904096725c50418c21c2d4c56f 100644 |
--- a/mojo/edk/js/tests/BUILD.gn |
+++ b/mojo/edk/js/tests/BUILD.gn |
@@ -2,17 +2,26 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-test("js_unittests") { |
+import("//mojo/public/tools/bindings/mojom.gni") |
+ |
+source_set("js_to_cpp_tests") { |
+ testonly = true |
+ |
deps = [ |
+ ":js_to_cpp_bindings", |
"//gin:gin_test", |
"//mojo/edk/js", |
- "//mojo/edk/js:js_unittests", |
- "//mojo/edk/test:run_all_unittests", |
"//mojo/edk/test:test_support", |
- "//mojo/public/cpp/environment:standalone", |
- "//mojo/public/cpp/utility", |
+ "//mojo/public/cpp/bindings", |
+ "//mojo/public/cpp/system", |
"//mojo/public/interfaces/bindings/tests:test_interfaces", |
] |
- sources = [ "run_js_tests.cc" ] |
+ sources = [ |
+ "js_to_cpp_tests.cc", |
+ ] |
+} |
+ |
+mojom("js_to_cpp_bindings") { |
+ sources = [ "js_to_cpp.mojom" ] |
} |