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_edk.gni") | 5 import("../../mojo_edk.gni") |
6 import("../../../public/tools/bindings/mojom.gni") | 6 import("../../../public/tools/bindings/mojom.gni") |
7 | 7 |
8 mojo_edk_source_set("js_to_cpp_tests") { | 8 mojo_edk_source_set("js_to_cpp_tests") { |
9 testonly = true | 9 testonly = true |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 ":js_to_cpp_bindings", | 12 ":js_to_cpp_bindings", |
13 "//gin:gin_test", | 13 "//gin:gin_test", |
14 ] | 14 ] |
15 | 15 |
16 mojo_edk_deps = [ | 16 mojo_edk_deps = [ |
17 "mojo/edk/js", | 17 "mojo/edk/js", |
18 "mojo/edk/test:test_support", | 18 "mojo/edk/test:test_support", |
19 ] | 19 ] |
20 | 20 |
21 mojo_sdk_deps = [ | 21 mojo_sdk_deps = [ |
22 "mojo/public/cpp/bindings", | 22 "mojo/public/cpp/bindings", |
23 "mojo/public/cpp/system", | 23 "mojo/public/cpp/system", |
24 "mojo/public/interfaces/bindings/tests:test_interfaces", | 24 "mojo/public/interfaces/bindings/tests:test_interfaces", |
25 ] | 25 ] |
26 | 26 |
27 sources = [ | 27 sources = [ |
28 "js_to_cpp_tests.cc", | 28 "js_to_cpp_tests.cc", |
29 ] | 29 ] |
30 } | 30 } |
31 | 31 |
32 mojom("js_to_cpp_bindings") { | 32 mojom("js_to_cpp_bindings") { |
33 sources = [ | 33 sources = [ |
34 "js_to_cpp.mojom", | 34 "js_to_cpp.mojom", |
35 ] | 35 ] |
36 } | 36 } |
OLD | NEW |