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