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

Unified Diff: mojo/BUILD.gn

Issue 532423003: Add the "testonly" flag to the GN test target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pullgn
Patch Set: android 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 | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/BUILD.gn
diff --git a/mojo/BUILD.gn b/mojo/BUILD.gn
index 2be3382754f4f9df7caf8a1a8946c3ff202f67b8..61e812316b480151ba8dcdf29dd981843e3f8980 100644
--- a/mojo/BUILD.gn
+++ b/mojo/BUILD.gn
@@ -5,6 +5,8 @@
import("//build/config/ui.gni")
group("mojo") {
+ # Meta-target, don't link into production code.
+ testonly = true
deps = [
":tests",
"//mojo/common",
@@ -22,6 +24,7 @@ group("mojo") {
}
group("tests") {
+ testonly = true
deps = [
"//mojo/application_manager:mojo_application_manager_unittests",
"//mojo/apps/js/test:mojo_apps_js_unittests",
« no previous file with comments | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698