Merge "Remove extractEncodedDexJarsFromModules" into main

This commit is contained in:
Treehugger Robot 2024-04-17 20:46:34 +00:00 committed by Gerrit Code Review
commit 7bfe1377af

View file

@ -1478,13 +1478,3 @@ func retrieveEncodedBootDexJarFromModule(ctx android.ModuleContext, module andro
} }
return bootDexJar.Path() return bootDexJar.Path()
} }
// extractEncodedDexJarsFromModules extracts the encoded dex jars from the supplied modules.
func extractEncodedDexJarsFromModules(ctx android.ModuleContext, contents []android.Module) bootDexJarByModule {
encodedDexJarsByModuleName := bootDexJarByModule{}
for _, module := range contents {
path := retrieveEncodedBootDexJarFromModule(ctx, module)
encodedDexJarsByModuleName.addPath(module, path)
}
return encodedDexJarsByModuleName
}