OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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") |
| 6 |
5 group("all") { | 7 group("all") { |
6 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
7 testonly = true | 9 testonly = true |
8 | 10 |
9 deps = [ | 11 deps = [ |
10 ":tests", | 12 ":tests", |
11 ] | 13 ] |
12 | 14 |
13 if (!is_component_build) { | 15 if (!is_component_build) { |
14 deps += [ "//mandoline/app" ] | 16 deps += [ "//mandoline/app" ] |
15 } | 17 } |
16 } | 18 } |
17 | 19 |
18 group("tests") { | 20 group("tests") { |
19 testonly = true | 21 testonly = true |
20 deps = [ | 22 deps = [ |
21 "//mojo:tests", | 23 "//mojo:tests", |
22 ] | 24 ] |
23 | 25 |
24 if (is_linux) { | 26 if (use_x11) { |
25 deps += [ "//tools/xdisplaycheck" ] | 27 deps += [ "//tools/xdisplaycheck" ] |
26 } | 28 } |
27 | 29 |
28 # TODO(GYP): Make this work. | 30 # TODO(GYP): Make this work. |
29 if (!is_component_build && !is_mac) { | 31 if (!is_component_build && !is_mac) { |
30 deps += [ | 32 deps += [ |
31 "//components/clipboard:apptests", | 33 "//components/clipboard:apptests", |
32 "//components/filesystem:apptests", | 34 "//components/filesystem:apptests", |
33 "//components/html_viewer:apptests", | 35 "//components/html_viewer:apptests", |
34 "//components/html_viewer:html_viewer_unittests", | 36 "//components/html_viewer:html_viewer_unittests", |
35 "//components/resource_provider:apptests", | 37 "//components/resource_provider:apptests", |
36 "//components/resource_provider:resource_provider_unittests", | 38 "//components/resource_provider:resource_provider_unittests", |
37 "//components/view_manager:tests", | 39 "//components/view_manager:tests", |
38 "//mandoline/tab:mandoline_frame_apptests", | 40 "//mandoline/tab:mandoline_frame_apptests", |
39 "//mandoline/ui/browser:mandoline_browser_apptests", | 41 "//mandoline/ui/browser:mandoline_browser_apptests", |
40 "//media/mojo/services:tests", | 42 "//media/mojo/services:tests", |
41 "//sql/mojo:apptests", | 43 "//sql/mojo:apptests", |
42 ] | 44 ] |
43 } | 45 } |
44 } | 46 } |
OLD | NEW |