| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//testing/test.gni") |
| |
| test("js_unittests") { |
| output_name = "mojo_js_unittests" |
| |
| deps = [ |
| "//base", |
| "//gin:gin_test", |
| "//mojo/edk/js", |
| "//mojo/edk/test:run_all_unittests", |
| "//mojo/edk/test:test_support", |
| "//mojo/public/cpp/system", |
| "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", |
| "//mojo/public/js:tests", |
| ] |
| |
| sources = [ |
| "//mojo/edk/js/handle_unittest.cc", |
| "run_js_tests.cc", |
| ] |
| } |
| |
| test("js_integration_tests") { |
| output_name = "mojo_js_integration_tests" |
| |
| deps = [ |
| "//base", |
| "//gin:gin_test", |
| "//mojo/edk/js", |
| "//mojo/edk/js/tests:js_to_cpp_tests", |
| "//mojo/edk/test:run_all_unittests", |
| "//mojo/edk/test:test_support", |
| "//mojo/public/cpp/bindings", |
| "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| "//mojo/public/js:bindings", |
| ] |
| |
| sources = [ |
| "run_js_integration_tests.cc", |
| ] |
| } |