From 62532d7d624b1823be00b40ffff25d7c98d2e8cf Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Fri, 12 Apr 2024 16:16:28 +0900 Subject: [PATCH] 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 --- android/variable.go | 2 ++ 1 file changed, 2 insertions(+) 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