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