| 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("../../../../third_party/mojo/src/mojo/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 "//mojo/edk/js", |
| 15 | 15 "//mojo/edk/test:test_support", |
| 16 mojo_edk_deps = [ | 16 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 17 "mojo/edk/js", | 17 "//third_party/mojo/src/mojo/public/cpp/system", |
| 18 "mojo/edk/test:test_support", | 18 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface
s", |
| 19 ] | 19 "//third_party/mojo/src/mojo/public/interfaces/bindings/tests:test_interface
s_experimental", |
| 20 | |
| 21 mojo_sdk_deps = [ | |
| 22 "mojo/public/cpp/bindings", | |
| 23 "mojo/public/cpp/system", | |
| 24 "mojo/public/interfaces/bindings/tests:test_interfaces", | |
| 25 "mojo/public/interfaces/bindings/tests:test_interfaces_experimental", | |
| 26 ] | 20 ] |
| 27 | 21 |
| 28 sources = [ | 22 sources = [ |
| 29 "js_to_cpp_tests.cc", | 23 "js_to_cpp_tests.cc", |
| 30 ] | 24 ] |
| 31 } | 25 } |
| 32 | 26 |
| 33 mojom("js_to_cpp_bindings") { | 27 mojom("js_to_cpp_bindings") { |
| 34 sources = [ | 28 sources = [ |
| 35 "js_to_cpp.mojom", | 29 "js_to_cpp.mojom", |
| 36 ] | 30 ] |
| 37 } | 31 } |
| OLD | NEW |