Merge "Revert "Temporarily disable python precompilation for py3.11"" into main

This commit is contained in:
Dan Willemsen 2023-08-31 15:38:39 +00:00 committed by Gerrit Code Review
commit 1e218403e0

View file

@ -462,8 +462,7 @@ func (p *PythonLibraryModule) GenerateAndroidBuildActions(ctx android.ModuleCont
// generate the zipfile of all source and data files
p.srcsZip = p.createSrcsZip(ctx, pkgPath)
// TODO(b/278602456): precompilation temporarily disabled for python3.11 upgrade
p.precompiledSrcsZip = p.srcsZip //p.precompileSrcs(ctx)
p.precompiledSrcsZip = p.precompileSrcs(ctx)
}
func isValidPythonPath(path string) error {