diff options
| author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-21 00:01:27 +0000 |
|---|---|---|
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-02-21 00:01:27 +0000 |
| commit | 9ced2a98a71a305a8115f255d3da78180e819e29 (patch) | |
| tree | 3d3c13ff7dcd883cf998335dcc5fe0d270c96a66 /java/java.go | |
| parent | 5887aef9d905333096e20657bc85562de2812811 (diff) | |
| parent | 9d690ee182203b04828d77fef7cabdbd894afb4f (diff) | |
Snap for 11473031 from 9d690ee182203b04828d77fef7cabdbd894afb4f to 24Q2-release
Change-Id: I0fb91c2b8cf0777263cc4dec4815c4ca48e2152e
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index 1a266b859..7cf5c1f17 100644 --- a/java/java.go +++ b/java/java.go @@ -743,6 +743,9 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) { setUncompressDex(ctx, &j.dexpreopter, &j.dexer) j.dexpreopter.uncompressedDex = *j.dexProperties.Uncompress_dex j.classLoaderContexts = j.usesLibrary.classLoaderContextForUsesLibDeps(ctx) + if j.usesLibrary.shouldDisableDexpreopt { + j.dexpreopter.disableDexpreopt() + } } j.compile(ctx, nil, nil, nil) |
