summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-10-28 14:26:58 -0700
committer Colin Cross <ccross@android.com> 2024-11-06 15:23:30 -0800
commitcc27a84f6142f621647ecfbd7595a2fa36b6b0aa (patch)
tree131516346f166f5b387ce2337075bbd345507c59 /android/variable.go
parent5d52666baa511df1d72f244ef65e60327f35b8e2 (diff)
Delete trim_against support
trim_against is never set in Android.bp files, and PRODUCT_TRIMMED_APEX is never set to set the TrimmedApex config variable. Delete all the dead code that is never reached. Test: builds Flag: EXEMPT dead code removal Change-Id: I1dd2e2a5bcb1c38148149264776c718e02291649
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/android/variable.go b/android/variable.go
index 6693d9197..2969f97c0 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -401,7 +401,6 @@ type ProductVariables struct {
Ndk_abis *bool `json:",omitempty"`
- TrimmedApex *bool `json:",omitempty"`
ForceApexSymlinkOptimization *bool `json:",omitempty"`
CompressedApex *bool `json:",omitempty"`
Aml_abis *bool `json:",omitempty"`
@@ -645,7 +644,6 @@ func (v *ProductVariables) SetDefaultConfig() {
Malloc_zero_contents: boolPtr(true),
Malloc_pattern_fill_contents: boolPtr(false),
Safestack: boolPtr(false),
- TrimmedApex: boolPtr(false),
Build_from_text_stub: boolPtr(false),
BootJars: ConfiguredJarList{apexes: []string{}, jars: []string{}},