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 # This target will be built if no target is specified when invoking ninja. | 7 # This target will be built if no target is specified when invoking ninja. |
8 group("default") { | 8 group("default") { |
9 testonly = true | 9 testonly = true |
10 | 10 |
11 deps = [ | 11 deps = [ |
12 "//apps", | 12 "//apps", |
13 "//base:base_unittests", | 13 "//base:base_unittests", |
14 "//benchmarks", | 14 "//benchmarks", |
15 "//crypto:crypto_unittests", | 15 "//crypto:crypto_unittests", |
16 "//examples", | 16 "//examples", |
17 "//mojo", | 17 "//mojo", |
18 "//mojom", | 18 "//mojom", |
19 "//services", | 19 "//services", |
20 "//shell", | 20 "//shell", |
21 ] | 21 ] |
22 | 22 |
23 if (is_linux) { | 23 if (is_linux) { |
24 deps += [ "//fusl" ] | 24 deps += [ |
| 25 "//fusl", |
| 26 |
| 27 # We need this to run tests (especially on bots). |
| 28 "//third_party/mesa:osmesa", |
| 29 ] |
25 } | 30 } |
26 | 31 |
27 # TODO(cstout): fix sandbox build for fnl/musl | 32 # TODO(cstout): fix sandbox build for fnl/musl |
28 if (is_linux && !is_fnl) { | 33 if (is_linux && !is_fnl) { |
29 deps += [ | 34 deps += [ |
30 "//sandbox/linux:sandbox", | 35 "//sandbox/linux:sandbox", |
31 "//sandbox/linux:sandbox_linux_unittests", | 36 "//sandbox/linux:sandbox_linux_unittests", |
32 ] | 37 ] |
33 } | 38 } |
34 if (is_linux && !use_ozone) { | 39 if (is_linux && !use_ozone) { |
(...skipping 23 matching lines...) Expand all Loading... |
58 if (use_ozone) { | 63 if (use_ozone) { |
59 # This isn't in the default target as it's a bit wonky right now. | 64 # This isn't in the default target as it's a bit wonky right now. |
60 group("ozone_tests") { | 65 group("ozone_tests") { |
61 testonly = true | 66 testonly = true |
62 deps = [ | 67 deps = [ |
63 "//ui/ozone:ozone_unittests", | 68 "//ui/ozone:ozone_unittests", |
64 "//ui/ozone/demo", | 69 "//ui/ozone/demo", |
65 ] | 70 ] |
66 } | 71 } |
67 } | 72 } |
OLD | NEW |