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 "//benchmarks", | 13 "//benchmarks", |
14 "//crypto:crypto_unittests", | 14 "//crypto:crypto_unittests", |
15 "//examples", | 15 "//examples", |
16 "//mojo", | 16 "//mojo", |
17 "//mojom", | 17 "//mojom", |
18 "//services", | 18 "//services", |
19 "//shell", | 19 "//shell", |
20 "//ui/gfx:gfx_unittests", | 20 "//ui/gfx:gfx_unittests", |
21 "//ui/events:events_unittests", | 21 "//ui/events:events_unittests", |
22 ] | 22 ] |
23 | 23 |
24 if (!is_android) { | |
25 deps += [ "//tools/xdisplaycheck" ] | |
26 } | |
27 | |
28 if (is_linux) { | 24 if (is_linux) { |
29 deps += [ "//sandbox/linux:sandbox" ] | 25 deps += [ |
30 deps += [ "//sandbox/linux:sandbox_linux_unittests" ] | 26 "//sandbox/linux:sandbox", |
| 27 "//sandbox/linux:sandbox_linux_unittests", |
| 28 "//tools/xdisplaycheck", |
| 29 ] |
31 } | 30 } |
32 | 31 |
33 if (use_ozone) { | 32 if (use_ozone) { |
34 deps += [ | 33 deps += [ |
35 "//ui/ozone", | 34 "//ui/ozone", |
36 "//ui/ozone/demo", | 35 "//ui/ozone/demo", |
37 ] | 36 ] |
38 } | 37 } |
39 } | 38 } |
40 | 39 |
41 # Deprecated name for the default build target. | 40 # Deprecated name for the default build target. |
42 group("root") { | 41 group("root") { |
43 testonly = true | 42 testonly = true |
44 deps = [ | 43 deps = [ |
45 ":default", | 44 ":default", |
46 ] | 45 ] |
47 } | 46 } |
OLD | NEW |