| 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 test("dart_unittests") { | 7 test("dart_unittests") { |
| 8 sources = [ | 8 sources = [ |
| 9 "run_dart_tests.cc", | 9 "run_dart_tests.cc", |
| 10 ] | 10 ] |
| 11 deps = [ | 11 deps = [ |
| 12 ":dart_to_cpp_unittests", | 12 ":dart_to_cpp_unittests", |
| 13 ":expect", | 13 ":expect", |
| 14 "//base", | 14 "//base", |
| 15 "//crypto:crypto", | 15 "//crypto:crypto", |
| 16 "//mojo/dart/embedder:dart_controller", | 16 "//mojo/dart/embedder:dart_controller", |
| 17 "//mojo/edk/test:run_all_unittests", | 17 "//mojo/edk/test:run_all_unittests", |
| 18 "//mojo/edk/test:test_support", | 18 "//mojo/edk/test:test_support", |
| 19 "//mojo/public/cpp/environment", | 19 "//mojo/public/cpp/environment", |
| 20 "//mojo/public/cpp/system", | 20 "//mojo/public/cpp/system", |
| 21 "//mojo/public/cpp/utility", | 21 "//mojo/public/cpp/utility", |
| 22 "//mojo/environment:chromium", | 22 "//mojo/environment:chromium", |
| 23 "//testing/gtest", |
| 23 ] | 24 ] |
| 24 } | 25 } |
| 25 | 26 |
| 26 copy("expect") { | 27 copy("expect") { |
| 27 sources = [ | 28 sources = [ |
| 28 "//mojo/dart/testing/expect.dart", | 29 "//mojo/dart/testing/expect.dart", |
| 29 ] | 30 ] |
| 30 outputs = [ | 31 outputs = [ |
| 31 "{{source_gen_dir}}/{{source_file_part}}", | 32 "{{source_gen_dir}}/{{source_file_part}}", |
| 32 ] | 33 ] |
| 33 } | 34 } |
| 34 | 35 |
| 35 source_set("dart_to_cpp_unittests") { | 36 source_set("dart_to_cpp_unittests") { |
| 36 testonly = true | 37 testonly = true |
| 37 sources = [ | 38 sources = [ |
| 38 "dart_to_cpp_tests.cc", | 39 "dart_to_cpp_tests.cc", |
| 39 ] | 40 ] |
| 40 deps = [ | 41 deps = [ |
| 41 ":dart_to_cpp_bindings", | 42 ":dart_to_cpp_bindings", |
| 42 "//crypto:crypto", | 43 "//base", |
| 44 "//crypto", |
| 43 "//mojo/dart/embedder:dart_controller", | 45 "//mojo/dart/embedder:dart_controller", |
| 44 "//mojo/edk/test:test_support", | 46 "//mojo/edk/test:test_support", |
| 45 "//mojo/public/cpp/bindings", | 47 "//mojo/public/cpp/bindings", |
| 46 "//mojo/public/cpp/system", | 48 "//mojo/public/cpp/system", |
| 47 "//mojo/public/interfaces/bindings/tests:test_interfaces", | 49 "//mojo/public/interfaces/bindings/tests:test_interfaces", |
| 48 "//testing/gtest", | 50 "//testing/gtest", |
| 49 ] | 51 ] |
| 50 } | 52 } |
| 51 | 53 |
| 52 mojom("dart_to_cpp_bindings") { | 54 mojom("dart_to_cpp_bindings") { |
| 53 sources = [ | 55 sources = [ |
| 54 "dart_to_cpp.mojom", | 56 "dart_to_cpp.mojom", |
| 55 ] | 57 ] |
| 56 } | 58 } |
| OLD | NEW |