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_linux) { | 24 if (is_linux) { |
25 deps += [ | 25 deps += [ |
26 "//sandbox/linux:sandbox", | 26 "//sandbox/linux:sandbox", |
27 "//sandbox/linux:sandbox_linux_unittests", | 27 "//sandbox/linux:sandbox_linux_unittests", |
28 "//tools/xdisplaycheck", | |
29 ] | 28 ] |
| 29 if (!use_ozone) { |
| 30 deps += [ "//tools/xdisplaycheck" ] |
| 31 } |
30 } | 32 } |
31 | 33 |
32 if (use_ozone) { | 34 if (use_ozone) { |
33 deps += [ | 35 deps += [ |
34 "//ui/ozone", | 36 "//ui/ozone", |
35 "//ui/ozone/demo", | 37 "//ui/ozone/demo", |
36 "//ui/ozone:ozone_unittests", | 38 "//ui/ozone:ozone_unittests", |
37 ] | 39 ] |
38 } | 40 } |
39 } | 41 } |
40 | 42 |
41 # Deprecated name for the default build target. | 43 # Deprecated name for the default build target. |
42 group("root") { | 44 group("root") { |
43 testonly = true | 45 testonly = true |
44 deps = [ | 46 deps = [ |
45 ":default", | 47 ":default", |
46 ] | 48 ] |
47 } | 49 } |
OLD | NEW |