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
This commit is contained in:
Ulya Trafimovich
2024-07-10 08:32:45 +01:00
parent 8884854267
commit c8160584f3

View File

@@ -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 {