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