diff options
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 2d1aaa53b..7f6b13463 100644 --- a/java/java.go +++ b/java/java.go @@ -326,13 +326,13 @@ func (j *javaBase) GenerateJavaBuildActions(ctx common.AndroidModuleContext) { flags.dxFlags = strings.Join(dxFlags, " ") // Compile classes.jar into classes.dex - dexFile := TransformClassesJarToDex(ctx, outputFile, flags) + dexJarSpec := TransformClassesJarToDex(ctx, outputFile, flags) if ctx.Failed() { return } // Combine classes.dex + resources into javalib.jar - outputFile = TransformDexToJavaLib(ctx, resourceJarSpecs, dexFile) + outputFile = TransformDexToJavaLib(ctx, resourceJarSpecs, dexJarSpec) } j.installFile = ctx.InstallFileName("framework", ctx.ModuleName()+".jar", outputFile) |