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

Unified Diff: testing/test.gni

Issue 2562063003: Add incremental_apk_by_default GN arg. (Closed)
Patch Set: Add incremental_apk_by_default gn arg. Created 4 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 | « 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: testing/test.gni
diff --git a/testing/test.gni b/testing/test.gni
index b6677d45fc46d62ab61b6e78be6b66f5ddab9a5f..43ecd56c18e4f640526cbd353cdf2c1d8c16b9eb 100644
--- a/testing/test.gni
+++ b/testing/test.gni
@@ -176,13 +176,19 @@ template("test") {
group(target_name) {
testonly = true
- deps = [
- ":$_test_runner_target",
- ]
- if (_use_raw_android_executable) {
- deps += [ ":$_dist_target" ]
+ if (incremental_apk_by_default && !_use_raw_android_executable) {
+ deps = [
+ ":${target_name}_incremental",
+ ]
} else {
- deps += [ ":$_apk_target" ]
+ deps = [
+ ":$_test_runner_target",
+ ]
+ if (_use_raw_android_executable) {
+ deps += [ ":$_dist_target" ]
+ } else {
+ deps += [ ":$_apk_target" ]
+ }
}
}
« 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