Revert "Temporarily disable python precompilation for py3.11"

This reverts commit b1094d602b.

Reason for revert: prebuilts updated in aosp/2726579

Bug: 278602456
Change-Id: I750b0f7e4dd94329a4455499f869a1823e660d77
This commit is contained in:
Dan Willemsen
2023-08-24 22:59:16 +00:00
committed by Gerrit Code Review
parent b1094d602b
commit fe2dafc36b

View File

@@ -454,8 +454,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 {