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

Unified Diff: BUILD.gn

Issue 809583002: GN: add default target. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Deprecate Created 6 years 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 | README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 5660b4216044dded181c3ec70e55d031c06bef56..f5bfe7665869cef7b3beb94e22c22bddb279c716 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -2,7 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-group("root") {
+# This target will be built if no target is specified when invoking ninja.
+group("default") {
testonly = true
deps = [
@@ -17,3 +18,11 @@ group("root") {
deps += [ "//tools/xdisplaycheck" ]
}
}
+
+# Deprecated name for the default build target.
+group("root") {
+ testonly = true
+ deps = [
+ ":default",
+ ]
+}
« no previous file with comments | « no previous file | README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698