Merge "Generate system stub library list at build time"

This commit is contained in:
Kiyoung Kim
2020-12-02 00:28:19 +00:00
committed by Gerrit Code Review
5 changed files with 141 additions and 0 deletions

View File

@@ -40,6 +40,15 @@ type PackagingSpec struct {
executable bool
}
// Get file name of installed package
func (p *PackagingSpec) FileName() string {
if p.relPathInPackage != "" {
return filepath.Base(p.relPathInPackage)
}
return ""
}
type PackageModule interface {
Module
packagingBase() *PackagingBase