Merge "soong_zip after dex should not fail when no *.dex files were generated"
am: bce06b6840
Change-Id: I3bdbac99f9293be32dc31dbec9d83a652aa4586e
This commit is contained in:
commit
212e052aa7
|
@ -177,9 +177,9 @@ func (j *Module) compileDex(ctx android.ModuleContext, flags javaBuilderFlags,
|
|||
javalibJar := android.PathForModuleOut(ctx, "dex", jarName)
|
||||
outDir := android.PathForModuleOut(ctx, "dex")
|
||||
|
||||
zipFlags := ""
|
||||
zipFlags := "--ignore_missing_files"
|
||||
if j.deviceProperties.UncompressDex {
|
||||
zipFlags = "-L 0"
|
||||
zipFlags += " -L 0"
|
||||
}
|
||||
|
||||
if useR8 {
|
||||
|
|
Loading…
Reference in New Issue