Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: BUILD.gn

Issue 953953003: Introduce dartanalyze into our build. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Only run dartanalyze on the toplevel check target. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | examples/dart/wget/main.dart » ('j') | examples/dart/wget/main.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "//examples", 10 "//examples",
11 "//mojo", 11 "//mojo",
12 "//services", 12 "//services",
13 "//shell", 13 "//shell",
14 "//ui/gfx:gfx_unittests", 14 "//ui/gfx:gfx_unittests",
15 "//ui/events:events_unittests", 15 "//ui/events:events_unittests",
16 ] 16 ]
17 17
18 if (!is_android && !is_win) { 18 if (!is_android && !is_win) {
19 deps += [ "//tools/xdisplaycheck" ] 19 deps += [ "//tools/xdisplaycheck" ]
20 } 20 }
21 21
22 if (!is_asan) { 22 if (!is_asan) {
23 deps += [ "//sky" ] 23 deps += [ "//sky" ]
24 } 24 }
25 } 25 }
26 26
27 # A group which invokes the dart checker on each dart package. This can take
28 # multiple seconds per target.
29 group("check") {
30 testonly = true
31 deps = [
32 "//examples/dart/console_example:console_example_analyze",
33 "//examples/dart/hello_world/hello:hello_analyze",
34 "//examples/dart/hello_world/world:world_analyze",
35 "//examples/dart/wget:wget_analyze",
36 "//services/dart/test/echo:echo_analyze",
37 "//services/dart/test/pingpong:pingpong_analyze",
38 "//services/dart/test/pingpong_target:pingpong_target_analyze",
39 ]
40 }
41
27 # Deprecated name for the default build target. 42 # Deprecated name for the default build target.
28 group("root") { 43 group("root") {
29 testonly = true 44 testonly = true
30 deps = [ 45 deps = [
31 ":default", 46 ":default",
32 ] 47 ]
33 } 48 }
OLDNEW
« no previous file with comments | « no previous file | examples/dart/wget/main.dart » ('j') | examples/dart/wget/main.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698