summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2024-07-10 08:32:45 +0100
committer Ulya Trafimovich <skvadrik@google.com> 2024-07-11 08:47:54 +0100
commitc8160584f398bfd805d05a9d3dac2a3bc986b2db (patch)
tree6faa24cd52ba0a264d552933c1642fa2d9ebdf50 /java
parent88848542672745ce9cd7bbd7a55f56071e5d74c3 (diff)
Add property `No_dex_container` to `dexProperies`.
This is needed to allow individual apps disable dex container (also known as "multi-dex") once it has been enabled globally. This property does not translate to D8 options, it is used only in the build system. Bug: 341652226 Bug: 329907267 Test: atest CarLauncherTests -- --abi x86_64 Change-Id: I3afda554af93dbb35bb2f4a8032ac0f5ed1df40d
Diffstat (limited to 'java')
-rw-r--r--java/dex.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/dex.go b/java/dex.go
index c75e7749b..7bb69257c 100644
--- a/java/dex.go
+++ b/java/dex.go
@@ -91,6 +91,10 @@ type DexProperties struct {
// Exclude kotlinc generate files: *.kotlin_module, *.kotlin_builtins. Defaults to false.
Exclude_kotlinc_generated_files *bool
+
+ // Disable dex container (also known as "multi-dex").
+ // This may be necessary as a temporary workaround to mask toolchain bugs (see b/341652226).
+ No_dex_container *bool
}
type dexer struct {