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 = [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 if (!is_component_build) { | 27 if (!is_component_build) { |
28 deps += [ "//mojo/runner" ] | 28 deps += [ "//mojo/runner" ] |
29 } | 29 } |
30 } | 30 } |
31 | 31 |
32 # TODO(GYP): Delete this after we've converted everything to GN. | 32 # TODO(GYP): Delete this after we've converted everything to GN. |
33 # The _run targets exist only for compatibility w/ GYP. | 33 # The _run targets exist only for compatibility w/ GYP. |
34 group("mojo_public_bindings_unittests_run") { | 34 group("mojo_public_bindings_unittests_run") { |
35 testonly = true | 35 testonly = true |
36 deps = [ | 36 deps = [ |
| 37 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_bindings_unittests" |
37 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 38 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
38 ] | 39 ] |
39 } | 40 } |
40 | 41 |
41 # TODO(GYP): Delete this after we've converted everything to GN. | 42 # TODO(GYP): Delete this after we've converted everything to GN. |
42 # The _run targets exist only for compatibility w/ GYP. | 43 # The _run targets exist only for compatibility w/ GYP. |
43 group("mojo_public_environment_unittests_run") { | 44 group("mojo_public_environment_unittests_run") { |
44 testonly = true | 45 testonly = true |
45 deps = [ | 46 deps = [ |
| 47 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_environment_unittests" |
46 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 48 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
47 ] | 49 ] |
48 } | 50 } |
49 | 51 |
50 # TODO(GYP): Delete this after we've converted everything to GN. | 52 # TODO(GYP): Delete this after we've converted everything to GN. |
51 # The _run targets exist only for compatibility w/ GYP. | 53 # The _run targets exist only for compatibility w/ GYP. |
52 group("mojo_public_system_unittests_run") { | 54 group("mojo_public_system_unittests_run") { |
53 testonly = true | 55 testonly = true |
54 deps = [ | 56 deps = [ |
| 57 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_system_unittests" |
55 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 58 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", |
56 ] | 59 ] |
57 } | 60 } |
58 | 61 |
59 # TODO(GYP): Delete this after we've converted everything to GN. | 62 # TODO(GYP): Delete this after we've converted everything to GN. |
60 # The _run targets exist only for compatibility w/ GYP. | 63 # The _run targets exist only for compatibility w/ GYP. |
61 group("mojo_public_utility_unittests_run") { | 64 group("mojo_public_utility_unittests_run") { |
62 testonly = true | 65 testonly = true |
63 deps = [ | 66 deps = [ |
| 67 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_utility_unittests" |
64 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | 68 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", |
65 ] | 69 ] |
66 } | 70 } |
67 | 71 |
68 group("tests") { | 72 group("tests") { |
69 testonly = true | 73 testonly = true |
70 deps = [ | 74 deps = [ |
71 "//ipc/mojo:ipc_mojo_unittests", | 75 "//ipc/mojo:ipc_mojo_unittests", |
72 "//mojo/application/public/cpp/tests:mojo_public_application_unittests", | 76 "//mojo/application/public/cpp/tests:mojo_public_application_unittests", |
73 "//mojo/common:mojo_common_unittests", | 77 "//mojo/common:mojo_common_unittests", |
74 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", | 78 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", |
| 79 |
| 80 # TODO(use_chrome_edk): |
| 81 #"//mojo/edk/js/test:js_unittests", |
| 82 #"//mojo/edk/system:mojo_message_pipe_perftests", |
| 83 #"//mojo/edk/system:mojo_system_unittests", |
| 84 #"//mojo/edk/test:mojo_public_bindings_unittests", |
| 85 #"//mojo/edk/test:mojo_public_environment_unittests", |
| 86 #"//mojo/edk/test:mojo_public_system_perftests", |
| 87 #"//mojo/edk/test:mojo_public_system_unittests", |
| 88 #"//mojo/edk/test:mojo_public_utility_unittests", |
75 "//third_party/mojo/src/mojo/edk/js/test:js_unittests", | 89 "//third_party/mojo/src/mojo/edk/js/test:js_unittests", |
76 "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests", | 90 "//third_party/mojo/src/mojo/edk/system:mojo_message_pipe_perftests", |
77 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", | 91 "//third_party/mojo/src/mojo/edk/system:mojo_system_unittests", |
78 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 92 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
79 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", | 93 "//third_party/mojo/src/mojo/edk/test:mojo_public_environment_unittests", |
80 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests", | 94 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_perftests", |
81 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", | 95 "//third_party/mojo/src/mojo/edk/test:mojo_public_system_unittests", |
82 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", | 96 "//third_party/mojo/src/mojo/edk/test:mojo_public_utility_unittests", |
83 ] | 97 ] |
84 | 98 |
85 if (!is_component_build) { | 99 if (!is_component_build) { |
86 deps += [ | 100 deps += [ |
87 "//mojo/package_manager:unittests", | 101 "//mojo/package_manager:unittests", |
88 "//mojo/runner:apptests", | 102 "//mojo/runner:apptests", |
89 "//mojo/runner:mojo_runner_unittests", | 103 "//mojo/runner:mojo_runner_unittests", |
90 "//mojo/services/network:apptests", | 104 "//mojo/services/network:apptests", |
91 "//mojo/shell:mojo_shell_unittests", | 105 "//mojo/shell:mojo_shell_unittests", |
92 ] | 106 ] |
93 | 107 |
94 if (is_android) { | 108 if (is_android) { |
95 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] | 109 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] |
96 } | 110 } |
97 } | 111 } |
98 } | 112 } |
OLD | NEW |