summaryrefslogtreecommitdiff
path: root/android/testing.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/testing.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/testing.go')
-rw-r--r--android/testing.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/android/testing.go b/android/testing.go
index 23aadda53..f243e81dd 100644
--- a/android/testing.go
+++ b/android/testing.go
@@ -1132,11 +1132,6 @@ func SetKatiEnabledForTests(config Config) {
config.katiEnabled = true
}
-func SetTrimmedApexEnabledForTests(config Config) {
- config.productVariables.TrimmedApex = new(bool)
- *config.productVariables.TrimmedApex = true
-}
-
func AndroidMkEntriesForTest(t *testing.T, ctx *TestContext, mod blueprint.Module) []AndroidMkEntries {
t.Helper()
var p AndroidMkEntriesProvider