diff options
author | Jaewoong Jung <jungjw@google.com> | 2020-12-17 09:43:28 -0800 |
---|---|---|
committer | Jaewoong Jung <jungjw@google.com> | 2020-12-17 09:43:28 -0800 |
commit | 4b97a5661584e6db7942146e6dd0f343f4c6108e (patch) | |
tree | 1cd28a341e60e937cf9c053efba0fda9a4d81e31 /java/java.go | |
parent | 1a74be780b27b6540799dba4a038f6cf1431d0fe (diff) |
Remove the return value from dexpreopt
dexpreopt doesn't strip dex files from the input jar anymore, so there's
no point returning the input jar path untouched.
Test: m nothing + TreeHugger
Change-Id: I8fde6cdc19e85a2fbc946513696417b945c5de0f
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java.go b/java/java.go index 02d78f2bf..9e47b2f20 100644 --- a/java/java.go +++ b/java/java.go @@ -1786,7 +1786,7 @@ func (j *Module) compile(ctx android.ModuleContext, aaptSrcJar android.Path) { j.dexJarFile = dexOutputFile // Dexpreopting - dexOutputFile = j.dexpreopt(ctx, dexOutputFile) + j.dexpreopt(ctx, dexOutputFile) j.maybeStrippedDexJarFile = dexOutputFile @@ -3123,7 +3123,7 @@ func (j *DexImport) GenerateAndroidBuildActions(ctx android.ModuleContext) { j.dexJarFile = dexOutputFile - dexOutputFile = j.dexpreopt(ctx, dexOutputFile) + j.dexpreopt(ctx, dexOutputFile) j.maybeStrippedDexJarFile = dexOutputFile |