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", | |
21 "//ui/events:events_unittests", | |
22 ] | 20 ] |
23 | 21 |
24 if (is_linux) { | 22 if (is_linux) { |
25 deps += [ | 23 deps += [ |
26 "//sandbox/linux:sandbox", | 24 "//sandbox/linux:sandbox", |
27 "//sandbox/linux:sandbox_linux_unittests", | 25 "//sandbox/linux:sandbox_linux_unittests", |
28 "//tools/xdisplaycheck", | 26 "//tools/xdisplaycheck", |
29 ] | 27 ] |
30 } | 28 } |
31 | 29 |
30 if (is_linux || is_android) { | |
jamesr
2015/09/10 01:13:29
another way to do this would be to leave the norma
kulakowski
2015/09/10 18:08:49
I'd find additions easier to reason about / track
| |
31 deps += [ | |
32 "//ui/events:events_unittests", | |
33 "//ui/gfx:gfx_unittests", | |
34 ] | |
35 } | |
36 | |
32 if (use_ozone) { | 37 if (use_ozone) { |
33 deps += [ | 38 deps += [ |
34 "//ui/ozone", | 39 "//ui/ozone", |
35 "//ui/ozone/demo", | 40 "//ui/ozone/demo", |
36 ] | 41 ] |
37 } | 42 } |
38 } | 43 } |
39 | 44 |
40 # Deprecated name for the default build target. | 45 # Deprecated name for the default build target. |
41 group("root") { | 46 group("root") { |
42 testonly = true | 47 testonly = true |
43 deps = [ | 48 deps = [ |
44 ":default", | 49 ":default", |
45 ] | 50 ] |
46 } | 51 } |
OLD | NEW |