summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2024-04-12 16:16:28 +0900
committer Jiyong Park <jiyong@google.com> 2024-04-12 16:16:28 +0900
commit62532d7d624b1823be00b40ffff25d7c98d2e8cf (patch)
treee1d42803294d723a3222c53b31331b65b4212004 /android/variable.go
parent1edffe1dc4fa19bd15340be691f38f7e03b88c6e (diff)
Let `deps` property be conditional on debuggability
This allows us to add dependencies only for debuggable builds. Bug: N/A Test: add product_variables.debuggable.deps to the android_system_image module. Change-Id: Id90646fff8a8a91c5e768418b9881e93228ec2a5
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/variable.go b/android/variable.go
index b0afd5b9b..5a079db50 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -139,6 +139,8 @@ type variableProperties struct {
Srcs []string
Exclude_srcs []string
Cmd *string
+
+ Deps []string
}
// eng is true for -eng builds, and can be used to turn on additional heavyweight debugging