diff options
Diffstat (limited to 'mojo/edk/js/tests/BUILD.gn')
-rw-r--r-- | mojo/edk/js/tests/BUILD.gn | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/mojo/edk/js/tests/BUILD.gn b/mojo/edk/js/tests/BUILD.gn index 1555328..c61ba37 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" ] } |