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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | examples/dart/wget/main.dart » ('j') | examples/dart/wget/main.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index d23d33e122fd88014173ae83a2278abed504f723..748d546db5963f1c185add654fea38797df96fd3 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -24,6 +24,21 @@ group("default") {
}
}
+# A group which invokes the dart checker on each dart package. This can take
+# multiple seconds per target.
+group("check") {
+ testonly = true
+ deps = [
+ "//examples/dart/console_example:console_example_analyze",
+ "//examples/dart/hello_world/hello:hello_analyze",
+ "//examples/dart/hello_world/world:world_analyze",
+ "//examples/dart/wget:wget_analyze",
+ "//services/dart/test/echo:echo_analyze",
+ "//services/dart/test/pingpong:pingpong_analyze",
+ "//services/dart/test/pingpong_target:pingpong_target_analyze",
+ ]
+}
+
# Deprecated name for the default build target.
group("root") {
testonly = true
« 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