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 ] |
30 } | 29 } |
31 | 30 |
32 if (use_ozone) { | 31 if (use_ozone) { |
33 deps += [ | 32 deps += [ |
34 "//ui/ozone", | 33 "//ui/ozone", |
35 "//ui/ozone/demo", | 34 "//ui/ozone/demo", |
36 "//ui/ozone:ozone_unittests", | 35 "//ui/ozone:ozone_unittests", |
37 ] | 36 ] |
37 } else { | |
viettrungluu
2015/09/15 23:48:22
Presumably this should be under "is_linux" also.
cdotstout
2015/09/16 22:00:59
Done.
| |
38 deps += [ "//tools/xdisplaycheck" ] | |
38 } | 39 } |
39 } | 40 } |
40 | 41 |
41 # Deprecated name for the default build target. | 42 # Deprecated name for the default build target. |
42 group("root") { | 43 group("root") { |
43 testonly = true | 44 testonly = true |
44 deps = [ | 45 deps = [ |
45 ":default", | 46 ":default", |
46 ] | 47 ] |
47 } | 48 } |
OLD | NEW |