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