Remove unused dexpreopt install path function
`odexOnSystemOther` (presumably) returns a boolean indicating whether .odex/.vdex files should be installed in system_other.img. The installation location logic is now colocated in build/soong/dexpreopt package, so we can delete this unused function. Test: go build ./java Change-Id: Ibd1a3a0b945f8d7953baad05cbaf65cb58b5a05a
This commit is contained in:
parent
a551b011d0
commit
8a296baab8
1 changed files with 0 additions and 4 deletions
|
@ -312,10 +312,6 @@ func dexpreoptToolDepsMutator(ctx android.BottomUpMutatorContext) {
|
|||
dexpreopt.RegisterToolDeps(ctx)
|
||||
}
|
||||
|
||||
func (d *dexpreopter) odexOnSystemOther(ctx android.ModuleContext, libName string, installPath android.InstallPath) bool {
|
||||
return dexpreopt.OdexOnSystemOtherByName(libName, android.InstallPathToOnDevicePath(ctx, installPath), dexpreopt.GetGlobalConfig(ctx))
|
||||
}
|
||||
|
||||
// Returns the install path of the dex jar of a module.
|
||||
//
|
||||
// Do not rely on `ApexInfo.ApexVariationName` because it can be something like "apex1000", rather
|
||||
|
|
Loading…
Reference in a new issue