summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author David Srbecky <dsrbecky@google.com> 2024-11-26 17:16:16 +0000
committer David Srbecky <dsrbecky@google.com> 2024-11-26 21:17:16 +0000
commit55b46b009bc15d6f8aabbe12f4e5268e3324cdd5 (patch)
tree29086f36f1252819d64c00ee5e83c9e61f43748f /android/config.go
parent4d886189b0bb45f898a86e953f0f5980f2e2faaa (diff)
Enable dex container (DEX v41) for the main branch
Test: Check that container-dex files are generated Change-Id: I9620bcc6950e98ac03a4a8f0fb8a2f36e6b76b59
Diffstat (limited to 'android/config.go')
-rw-r--r--android/config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go
index dff3ea5bd..cb604a654 100644
--- a/android/config.go
+++ b/android/config.go
@@ -2148,6 +2148,10 @@ func (c *config) UseTransitiveJarsInClasspath() bool {
return c.productVariables.GetBuildFlagBool("RELEASE_USE_TRANSITIVE_JARS_IN_CLASSPATH")
}
+func (c *config) UseDexV41() bool {
+ return c.productVariables.GetBuildFlagBool("RELEASE_USE_DEX_V41")
+}
+
var (
mainlineApexContributionBuildFlagsToApexNames = map[string]string{
"RELEASE_APEX_CONTRIBUTIONS_ADBD": "com.android.adbd",