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 import("//build/module_args/mojo.gni") | 6 import("//build/module_args/mojo.gni") |
7 import("//mojo/public/mojo.gni") | 7 import("//mojo/public/mojo.gni") |
8 | 8 |
9 # TODO(beng): this meta target should probably move to the root dir's BUILD.gn. | 9 # TODO(beng): this meta target should probably move to the root dir's BUILD.gn. |
10 group("mojo") { | 10 group("mojo") { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 "//mojo/nacl:mojo_nacl_tests", | 46 "//mojo/nacl:mojo_nacl_tests", |
47 ] | 47 ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 group("tests") { | 51 group("tests") { |
52 testonly = true | 52 testonly = true |
53 deps = [ | 53 deps = [ |
54 "//mojo/common:mojo_common_unittests", | 54 "//mojo/common:mojo_common_unittests", |
55 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", | 55 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", |
56 "//mojo/edk/js:tests", | |
57 "//mojo/edk/system:tests", | 56 "//mojo/edk/system:tests", |
58 "//mojo/edk/test:public_tests", | 57 "//mojo/edk/test:public_tests", |
59 "//mojo/dart/embedder/test:dart_unittests", | 58 "//mojo/dart/embedder/test:dart_unittests", |
60 "//mojo/public/cpp/bindings/tests:versioning_apptests", | 59 "//mojo/public/cpp/bindings/tests:versioning_apptests", |
61 "//mojo/services/view_manager/public/cpp/tests:mojo_view_manager_lib_unittes
ts", | 60 "//mojo/services/view_manager/public/cpp/tests:mojo_view_manager_lib_unittes
ts", |
62 "//mojo/tests:mojo_task_tracker_perftests", | 61 "//mojo/tests:mojo_task_tracker_perftests", |
63 "//mojo/tools:message_generator", | 62 "//mojo/tools:message_generator", |
64 "//services/clipboard:apptests", | 63 "//services/clipboard:apptests", |
65 "//services/dart/dart_apptests", | 64 "//services/dart/dart_apptests", |
66 "//services/files:apptests", | 65 "//services/files:apptests", |
67 "//services/http_server:apptests", | 66 "//services/http_server:apptests", |
68 "//services/js:js_apptests", | |
69 "//services/js:js_services_unittests", | |
70 "//services/reaper:tests", | 67 "//services/reaper:tests", |
71 "//services/url_response_disk_cache:tests", | 68 "//services/url_response_disk_cache:tests", |
72 "//services/view_manager:mojo_view_manager_client_apptests", | 69 "//services/view_manager:mojo_view_manager_client_apptests", |
73 "//services/view_manager:view_manager_service_apptests", | 70 "//services/view_manager:view_manager_service_apptests", |
74 "//services/view_manager:view_manager_service_unittests", | 71 "//services/view_manager:view_manager_service_unittests", |
75 "//services/window_manager:window_manager_apptests", | 72 "//services/window_manager:window_manager_apptests", |
76 "//services/window_manager:window_manager_unittests", | 73 "//services/window_manager:window_manager_unittests", |
77 "//shell:apptests", | 74 "//shell:apptests", |
78 ] | 75 ] |
79 | 76 |
80 if (is_linux) { | 77 if (is_linux) { |
81 deps += [ | 78 deps += [ |
82 # TODO(vtl): See TODO in //services/files/c/BUILD.gn. | 79 # TODO(vtl): See TODO in //services/files/c/BUILD.gn. |
83 "//services/files/c:apptests", | 80 "//services/files/c:apptests", |
84 "//services/python:python_apptests", | 81 "//services/python:python_apptests", |
85 ] | 82 ] |
86 } | 83 } |
87 | 84 |
| 85 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc
e it |
| 86 # needs a 32 bit toolchain and we don't have one configured for mac hosts. |
| 87 if (host_os == "linux") { |
| 88 deps += [ |
| 89 "//mojo/edk/js:tests", |
| 90 "//services/js:js_apptests", |
| 91 "//services/js:js_services_unittests", |
| 92 ] |
| 93 } |
| 94 |
88 if (mojo_use_prebuilt_network_service) { | 95 if (mojo_use_prebuilt_network_service) { |
89 deps += [ "//mojo/public/tools:copy_network_service_apptests" ] | 96 deps += [ "//mojo/public/tools:copy_network_service_apptests" ] |
90 } | 97 } |
91 } | 98 } |
OLD | NEW |