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

Side by Side Diff: BUILD.gn

Issue 973363002: Run dartanalyzer by default. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | mojo/public/dart/rules.gni » ('j') | no next file with comments »
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, so we separate it out from the main building.
29 # Eventually, we'd like this to be part of the default dart building, but for
30 # now, to participate in checking, please add "{package_name}_analyze" to the
31 # list of dependencies below.
32 group("dartcheck") {
33 testonly = true
34 deps = [
35 "//examples/dart/console_example:console_example_analyze",
36 "//examples/dart/hello_world/hello:hello_analyze",
37 "//examples/dart/hello_world/world:world_analyze",
38 "//examples/dart/wget:wget_analyze",
39 "//services/dart/test/echo:echo_analyze",
40 "//services/dart/test/pingpong:pingpong_analyze",
41 "//services/dart/test/pingpong_target:pingpong_target_analyze",
42 ]
43 }
44
45 # Deprecated name for the default build target. 27 # Deprecated name for the default build target.
46 group("root") { 28 group("root") {
47 testonly = true 29 testonly = true
48 deps = [ 30 deps = [
49 ":default", 31 ":default",
50 ] 32 ]
51 } 33 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/dart/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698