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