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("//mojo/public/tools/bindings/mojom.gni") | 5 test("js_unittests") { |
6 | |
7 source_set("js_to_cpp_tests") { | |
8 testonly = true | |
9 | |
10 deps = [ | 6 deps = [ |
11 ":js_to_cpp_bindings", | |
12 "//gin:gin_test", | 7 "//gin:gin_test", |
13 "//mojo/edk/js", | 8 "//mojo/edk/js", |
| 9 "//mojo/edk/js:js_unittests", |
| 10 "//mojo/edk/test:run_all_unittests", |
14 "//mojo/edk/test:test_support", | 11 "//mojo/edk/test:test_support", |
15 "//mojo/public/cpp/bindings", | 12 "//mojo/public/cpp/environment:standalone", |
16 "//mojo/public/cpp/system", | 13 "//mojo/public/cpp/utility", |
17 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 14 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
18 ] | 15 ] |
19 | 16 |
20 sources = [ | 17 sources = [ "run_js_tests.cc" ] |
21 "js_to_cpp_tests.cc", | |
22 ] | |
23 } | 18 } |
24 | |
25 mojom("js_to_cpp_bindings") { | |
26 sources = [ "js_to_cpp.mojom" ] | |
27 } | |
OLD | NEW |