Remove unused dexpreopt install path function am: 8a296baab8 am: 02ff4f972f

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3128899

Change-Id: I0bbbe8bc1b20be1501efe4e58845ba8f1f2769a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Spandan Das
2024-06-12 23:12:08 +00:00
committed by Automerger Merge Worker

View File

@@ -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