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/environment:chromium", | |
17 "//mojo/public/cpp/environment", | |
18 "//mojo/public/cpp/system", | 16 "//mojo/public/cpp/system", |
19 "//mojo/public/cpp/utility", | 17 "//mojo/public/cpp/utility", |
20 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 18 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
21 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", | 19 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", |
22 ] | 20 ] |
23 | 21 |
24 sources = [ | 22 sources = [ |
25 "run_js_tests.cc", | 23 "run_js_tests.cc", |
26 ] | 24 ] |
27 } | 25 } |
28 | 26 |
29 test("js_integration_tests") { | 27 test("js_integration_tests") { |
30 output_name = "mojo_js_integration_tests" | 28 output_name = "mojo_js_integration_tests" |
31 | 29 |
32 deps = [ | 30 deps = [ |
33 "//base", | 31 "//base", |
34 "//gin:gin_test", | 32 "//gin:gin_test", |
35 "//mojo/edk/js", | 33 "//mojo/edk/js", |
36 "//mojo/edk/js/tests:js_to_cpp_tests", | 34 "//mojo/edk/js/tests:js_to_cpp_tests", |
37 "//mojo/edk/test:run_all_unittests", | 35 "//mojo/edk/test:run_all_unittests", |
38 "//mojo/edk/test:test_support", | 36 "//mojo/edk/test:test_support", |
39 "//mojo/environment:chromium", | |
40 "//mojo/public/cpp/bindings", | 37 "//mojo/public/cpp/bindings", |
41 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 38 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
42 ] | 39 ] |
43 | 40 |
44 sources = [ | 41 sources = [ |
45 "run_js_integration_tests.cc", | 42 "run_js_integration_tests.cc", |
46 ] | 43 ] |
47 } | 44 } |
OLD | NEW |