Home | History | Annotate | Download | only in test
      1 # Copyright 2014 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 import("//testing/test.gni")
      6 
      7 test("js_unittests") {
      8   output_name = "mojo_js_unittests"
      9 
     10   deps = [
     11     "//base",
     12     "//gin:gin_test",
     13     "//mojo/edk/js",
     14     "//mojo/edk/test:run_all_unittests",
     15     "//mojo/edk/test:test_support",
     16     "//mojo/public/cpp/system",
     17     "//mojo/public/interfaces/bindings/tests:test_interfaces",
     18     "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
     19     "//mojo/public/js:tests",
     20   ]
     21 
     22   sources = [
     23     "//mojo/edk/js/handle_unittest.cc",
     24     "run_js_tests.cc",
     25   ]
     26 }
     27 
     28 test("js_integration_tests") {
     29   output_name = "mojo_js_integration_tests"
     30 
     31   deps = [
     32     "//base",
     33     "//gin:gin_test",
     34     "//mojo/edk/js",
     35     "//mojo/edk/js/tests:js_to_cpp_tests",
     36     "//mojo/edk/test:run_all_unittests",
     37     "//mojo/edk/test:test_support",
     38     "//mojo/public/cpp/bindings",
     39     "//mojo/public/interfaces/bindings/tests:test_interfaces",
     40     "//mojo/public/js:bindings",
     41   ]
     42 
     43   sources = [
     44     "run_js_integration_tests.cc",
     45   ]
     46 }
     47