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 ] | 13 ] |
14 | 14 |
15 if (!(is_linux && current_cpu == "x86")) { | 15 if (!(is_linux && current_cpu == "x86")) { |
16 # TODO(GYP): Figure out if this needs to be supported. Right now | |
17 # it won't work on x86 official builds because it needs stuff in the | |
18 # sysroot that doesn't exist. | |
19 deps += [ "//mojo/public" ] | 16 deps += [ "//mojo/public" ] |
20 } | 17 } |
21 | 18 |
22 if (is_android) { | 19 if (is_android) { |
23 deps += [ "//mojo/android" ] | 20 deps += [ "//mojo/android" ] |
24 } | 21 } |
25 | 22 |
26 deps += [ "//services/shell:all" ] | 23 deps += [ "//services/shell:all" ] |
27 } | 24 } |
28 | 25 |
29 group("tests") { | 26 group("tests") { |
30 testonly = true | 27 testonly = true |
31 deps = [ | 28 deps = [ |
32 "//ipc:ipc_tests", | 29 "//ipc:ipc_tests", |
33 "//mojo/common:mojo_common_unittests", | 30 "//mojo/common:mojo_common_unittests", |
34 "//mojo/edk/js/test:js_integration_tests", | 31 "//mojo/edk/js/test:js_integration_tests", |
35 "//mojo/edk/js/test:js_unittests", | 32 "//mojo/edk/js/test:js_unittests", |
36 "//mojo/edk/system:mojo_message_pipe_perftests", | 33 "//mojo/edk/system:mojo_message_pipe_perftests", |
37 "//mojo/edk/system:mojo_system_unittests", | 34 "//mojo/edk/system:mojo_system_unittests", |
38 "//mojo/edk/test:mojo_public_bindings_perftests", | 35 "//mojo/edk/test:mojo_public_bindings_perftests", |
39 "//mojo/edk/test:mojo_public_bindings_unittests", | 36 "//mojo/edk/test:mojo_public_bindings_unittests", |
40 "//mojo/edk/test:mojo_public_system_perftests", | 37 "//mojo/edk/test:mojo_public_system_perftests", |
41 "//mojo/edk/test:mojo_public_system_unittests", | 38 "//mojo/edk/test:mojo_public_system_unittests", |
42 "//services/shell/public/cpp/tests:mojo_public_application_unittests", | 39 "//services/shell/public/cpp/tests:mojo_public_application_unittests", |
43 "//services/shell/runner/host:mojo_runner_host_unittests", | 40 "//services/shell/runner/host:mojo_runner_host_unittests", |
44 "//services/shell/tests", | 41 "//services/shell/tests", |
45 ] | 42 ] |
46 } | 43 } |
OLD | NEW |