Dynamically assemble the list of python launcher shared libs for precompiling

Still fall back to the hardcoded list for what to put in LOCAL_SHARED_LIBRARIES,
because I couldn't figure out a good way to get those modules at the moment.

Bug: 259718110
Test: Presubmits
Change-Id: Ia992ffea8819d8c67280b08bc45505f77af09de0
This commit is contained in:
Cole Faust
2023-02-02 12:11:29 -08:00
parent 8e0ae8e960
commit aa5b377ee9
3 changed files with 49 additions and 58 deletions

View File

@@ -73,6 +73,10 @@ func (p *PackagingSpec) Partition() string {
return p.partition
}
func (p *PackagingSpec) SrcPath() Path {
return p.srcPath
}
type PackageModule interface {
Module
packagingBase() *PackagingBase