| 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 # This target will be built if no target is specified when invoking ninja. | 5 # This target will be built if no target is specified when invoking ninja. |
| 6 group("default") { | 6 group("default") { |
| 7 testonly = true | 7 testonly = true |
| 8 | 8 |
| 9 deps = [ | 9 deps = [ |
| 10 "//crypto:crypto_unittests", | 10 "//crypto:crypto_unittests", |
| 11 "//examples", | 11 "//examples", |
| 12 "//mojo", | 12 "//mojo", |
| 13 "//services", | 13 "//services", |
| 14 "//shell", | 14 "//shell", |
| 15 "//ui/gfx:gfx_unittests", | 15 "//ui/gfx:gfx_unittests", |
| 16 "//ui/events:events_unittests", | 16 "//ui/events:events_unittests", |
| 17 ] | 17 ] |
| 18 | 18 |
| 19 if (!is_android && !is_win) { | 19 if (!is_android && !is_win) { |
| 20 deps += [ "//tools/xdisplaycheck" ] | 20 deps += [ "//tools/xdisplaycheck" ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 if (!is_asan) { | 23 if (!is_asan) { |
| 24 deps += [ "//sky" ] | 24 deps += [ "//sky" ] |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 # A group which invokes the dart checker on each dart package. This can take |
| 29 # multiple seconds per target, so we separate it out from the main building. |
| 30 # Eventually, we'd like this to be part of the default dart building, but for |
| 31 # now, to participate in checking, please add "{package_name}_analyze" to the |
| 32 # list of dependencies below. |
| 33 group("dartcheck") { |
| 34 testonly = true |
| 35 deps = [ |
| 36 "//examples/dart/console_example:console_example_analyze", |
| 37 "//examples/dart/hello_world/hello:hello_analyze", |
| 38 "//examples/dart/hello_world/world:world_analyze", |
| 39 "//examples/dart/wget:wget_analyze", |
| 40 "//services/dart/test/echo:echo_analyze", |
| 41 "//services/dart/test/pingpong:pingpong_analyze", |
| 42 "//services/dart/test/pingpong_target:pingpong_target_analyze", |
| 43 ] |
| 44 } |
| 45 |
| 28 # Deprecated name for the default build target. | 46 # Deprecated name for the default build target. |
| 29 group("root") { | 47 group("root") { |
| 30 testonly = true | 48 testonly = true |
| 31 deps = [ | 49 deps = [ |
| 32 ":default", | 50 ":default", |
| 33 ] | 51 ] |
| 34 } | 52 } |
| OLD | NEW |