summaryrefslogtreecommitdiff
path: root/android/config.go
diff options
context:
space:
mode:
author Christoffer Adamsen <christofferqa@google.com> 2025-01-16 22:09:10 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-01-16 22:09:10 -0800
commit7c4e2bee92a8e25603ceec23245ce6aaa9874cb1 (patch)
tree1727d728dc96af6e5a460accac008032453964b9 /android/config.go
parentb15ead941d7575bfc91841f23c26c99413bb9864 (diff)
parentf4f4aa6d3277b849e1db952927c6af066d591e32 (diff)
Merge "R8 full mode by default when RELEASE_R8_FULL_MODE_BY_DEFAULT is enabled" into main
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 c22c33228..9c614f5b3 100644
--- a/android/config.go
+++ b/android/config.go
@@ -2175,6 +2175,10 @@ func (c *config) UseTransitiveJarsInClasspath() bool {
return c.productVariables.GetBuildFlagBool("RELEASE_USE_TRANSITIVE_JARS_IN_CLASSPATH")
}
+func (c *config) UseR8FullModeByDefault() bool {
+ return c.productVariables.GetBuildFlagBool("RELEASE_R8_FULL_MODE_BY_DEFAULT")
+}
+
func (c *config) UseR8OnlyRuntimeVisibleAnnotations() bool {
return c.productVariables.GetBuildFlagBool("RELEASE_R8_ONLY_RUNTIME_VISIBLE_ANNOTATIONS")
}