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

Unified Diff: build/config/android/internal_rules.gni

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/BUILDCONFIG.gn ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 224630f3eac379cceed92621dc85787b81ed9d56..57a2fc9625d3cfda9c4b88a4c2f3476f9068a38f 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -79,6 +79,9 @@ template("write_build_config") {
if (defined(invoker.deps)) {
deps += invoker.deps
}
+ if (defined(invoker.testonly)) {
+ testonly = invoker.testonly
+ }
outputs = [
depfile,
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698