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