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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 group("mojo") { | 7 group("mojo") { |
8 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
9 testonly = true | 9 testonly = true |
10 deps = [ | 10 deps = [ |
11 ":tests", | 11 ":tests", |
12 "//mojo/common", | 12 "//mojo/common", |
13 "//mojo/services", | 13 "//mojo/services", |
14 "//third_party/mojo/src/mojo/public", | 14 "//third_party/mojo/src/mojo/public", |
15 ] | 15 ] |
16 | 16 |
17 if (is_android) { | 17 if (is_android) { |
18 deps += [ "//mojo/android" ] | 18 deps += [ "//mojo/android" ] |
19 } | 19 } |
20 | 20 |
21 if (!is_component_build) { | 21 if (!is_component_build) { |
22 deps += [ "//mojo/runner" ] | 22 deps += [ "//mojo/runner" ] |
23 } | 23 } |
24 } | 24 } |
25 | 25 |
| 26 # TODO(GYP): Delete this after we've converted everything to GN. |
| 27 # The _run targets exist only for compatibility w/ GYP. |
| 28 group("mojo_public_bindings_unittests_run") { |
| 29 testonly = true |
| 30 deps = [ |
| 31 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
| 32 ] |
| 33 } |
| 34 |
| 35 # TODO(GYP): Delete this after we've converted everything to GN. |
| 36 # The _run targets exist only for compatibility w/ GYP. |
| 37 group("mojo_public_environment_unittests_run") { |
| 38 testonly = true |
| 39 deps = [ |
| 40 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
| 41 ] |
| 42 } |
| 43 |
26 group("tests") { | 44 group("tests") { |
27 testonly = true | 45 testonly = true |
28 deps = [ | 46 deps = [ |
29 "//ipc/mojo:ipc_mojo_unittests", | 47 "//ipc/mojo:ipc_mojo_unittests", |
30 "//mojo/application/public/cpp/tests:mojo_public_application_unittests", | 48 "//mojo/application/public/cpp/tests:mojo_public_application_unittests", |
31 "//mojo/common:mojo_common_unittests", | 49 "//mojo/common:mojo_common_unittests", |
32 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", | 50 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", |
33 "//third_party/mojo/src/mojo/edk/js/test:js_unittests", | 51 "//third_party/mojo/src/mojo/edk/js/test:js_unittests", |
34 "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests", | 52 "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests", |
35 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 53 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
(...skipping 10 matching lines...) Expand all Loading... |
46 "//mojo/runner:mojo_runner_unittests", | 64 "//mojo/runner:mojo_runner_unittests", |
47 "//mojo/services/network:apptests", | 65 "//mojo/services/network:apptests", |
48 "//mojo/shell:mojo_shell_unittests", | 66 "//mojo/shell:mojo_shell_unittests", |
49 ] | 67 ] |
50 | 68 |
51 if (is_android) { | 69 if (is_android) { |
52 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] | 70 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] |
53 } | 71 } |
54 } | 72 } |
55 } | 73 } |
OLD | NEW |