| 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 ] | 20 ] |
| 21 | 21 |
| 22 if (is_linux) { | 22 # TODO(cstout): fix sandbox build for fnl/musl |
| 23 if (is_linux && !is_fnl) { |
| 23 deps += [ | 24 deps += [ |
| 24 "//sandbox/linux:sandbox", | 25 "//sandbox/linux:sandbox", |
| 25 "//sandbox/linux:sandbox_linux_unittests", | 26 "//sandbox/linux:sandbox_linux_unittests", |
| 26 ] | 27 ] |
| 27 if (!use_ozone) { | 28 } |
| 28 deps += [ "//tools/xdisplaycheck" ] | 29 if (is_linux && !use_ozone) { |
| 29 } | 30 deps += [ "//tools/xdisplaycheck" ] |
| 30 } | 31 } |
| 31 | 32 |
| 32 if (is_linux || is_android) { | 33 if (is_linux || is_android) { |
| 33 deps += [ | 34 deps += [ |
| 34 "//ui/events:events_unittests", | 35 "//ui/events:events_unittests", |
| 35 "//ui/gfx:gfx_unittests", | 36 "//ui/gfx:gfx_unittests", |
| 36 ] | 37 ] |
| 37 } | 38 } |
| 38 | 39 |
| 39 if (use_ozone) { | 40 if (use_ozone) { |
| 40 deps += [ | 41 deps += [ |
| 41 "//ui/ozone", | 42 "//ui/ozone", |
| 42 "//ui/ozone/demo", | 43 "//ui/ozone/demo", |
| 43 "//ui/ozone:ozone_unittests", | 44 "//ui/ozone:ozone_unittests", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 } | 47 } |
| 47 | 48 |
| 48 # Deprecated name for the default build target. | 49 # Deprecated name for the default build target. |
| 49 group("root") { | 50 group("root") { |
| 50 testonly = true | 51 testonly = true |
| 51 deps = [ | 52 deps = [ |
| 52 ":default", | 53 ":default", |
| 53 ] | 54 ] |
| 54 } | 55 } |
| OLD | NEW |