Merge "Only look for profiles when we have a profile dir"
This commit is contained in:
commit
0acb0fb2b7
|
@ -173,7 +173,7 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo
|
|||
profileBootListing = android.ExistentPathForSource(ctx,
|
||||
ctx.ModuleDir(), String(d.dexpreoptProperties.Dex_preopt.Profile)+"-boot")
|
||||
profileIsTextListing = true
|
||||
} else {
|
||||
} else if global.ProfileDir != "" {
|
||||
profileClassListing = android.ExistentPathForSource(ctx,
|
||||
global.ProfileDir, ctx.ModuleName()+".prof")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue