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

Unified Diff: BUILD.gn

Issue 536203002: Mark the root GN build target as test only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pullgn
Patch Set: Created 6 years, 3 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 | no next file » | 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 574f5399bf4454ea9225907060e8fb8f0cb236ce..3c467c7b9c86050049a5c3f53f8b80727edd3579 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -12,6 +12,9 @@ import("//build/config/ui.gni")
# In GN, a "group" is a dummy target that just lists other targets.
group("root") {
+ # This should not be linked into production and depends on test targets.
+ testonly = true
+
# Note that some dependencies are commented out. These are things that are
# currently written but not hooked up to the build yet. They may need to be
# completed or possibly just tested and then re-enabled.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698