| 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 "//base:base_unittests", | 13 "//base:base_unittests", |
| 14 "//benchmarks", | 14 "//benchmarks", |
| 15 "//crypto:crypto_unittests", | 15 "//crypto:crypto_unittests", |
| 16 "//examples", | 16 "//examples", |
| 17 "//mojo", | 17 "//mojo", |
| 18 "//mojom", | 18 "//mojom", |
| 19 "//services", | 19 "//services", |
| 20 "//shell", | 20 "//shell", |
| 21 ] | 21 ] |
| 22 | 22 |
| 23 if (is_linux) { |
| 24 deps += [ "//fusl" ] |
| 25 } |
| 26 |
| 23 # TODO(cstout): fix sandbox build for fnl/musl | 27 # TODO(cstout): fix sandbox build for fnl/musl |
| 24 if (is_linux && !is_fnl) { | 28 if (is_linux && !is_fnl) { |
| 25 deps += [ | 29 deps += [ |
| 26 "//sandbox/linux:sandbox", | 30 "//sandbox/linux:sandbox", |
| 27 "//sandbox/linux:sandbox_linux_unittests", | 31 "//sandbox/linux:sandbox_linux_unittests", |
| 28 ] | 32 ] |
| 29 } | 33 } |
| 30 if (is_linux && !use_ozone) { | 34 if (is_linux && !use_ozone) { |
| 31 deps += [ "//tools/xdisplaycheck" ] | 35 deps += [ "//tools/xdisplaycheck" ] |
| 32 } | 36 } |
| 33 | 37 |
| 34 if (is_linux || is_android) { | 38 if (is_linux || is_android) { |
| 35 deps += [ | 39 deps += [ |
| 36 "//ui/events:events_unittests", | 40 "//ui/events:events_unittests", |
| 37 "//ui/gfx:gfx_unittests", | 41 "//ui/gfx:gfx_unittests", |
| 38 ] | 42 ] |
| 39 } | 43 } |
| 40 | 44 |
| 41 if (use_ozone) { | 45 if (use_ozone) { |
| 42 deps += [ | 46 deps += [ "//ui/ozone" ] |
| 43 "//ui/ozone", | |
| 44 ] | |
| 45 } | 47 } |
| 46 } | 48 } |
| 47 | 49 |
| 48 # Deprecated name for the default build target. | 50 # Deprecated name for the default build target. |
| 49 group("root") { | 51 group("root") { |
| 50 testonly = true | 52 testonly = true |
| 51 deps = [ | 53 deps = [ |
| 52 ":default", | 54 ":default", |
| 53 ] | 55 ] |
| 54 } | 56 } |
| 55 | 57 |
| 56 if (use_ozone) { | 58 if (use_ozone) { |
| 57 # This isn't in the default target as it's a bit wonky right now. | 59 # This isn't in the default target as it's a bit wonky right now. |
| 58 group("ozone_tests") { | 60 group("ozone_tests") { |
| 59 testonly = true | 61 testonly = true |
| 60 deps = [ | 62 deps = [ |
| 63 "//ui/ozone:ozone_unittests", |
| 61 "//ui/ozone/demo", | 64 "//ui/ozone/demo", |
| 62 "//ui/ozone:ozone_unittests", | |
| 63 ] | 65 ] |
| 64 } | 66 } |
| 65 } | 67 } |
| OLD | NEW |