Lines Matching refs:p
44 func (p *PackagingSpec) FileName() string {
45 if p.relPathInPackage != "" {
46 return filepath.Base(p.relPathInPackage)
53 func (p *PackagingSpec) RelPathInPackage() string {
54 return p.relPathInPackage
109 func InitPackageModule(p PackageModule) {
110 base := p.packagingBase()
111 p.AddProperties(&base.properties)
114 func (p *PackagingBase) packagingBase() *PackagingBase {
115 return p
122 func (p *PackagingBase) getDepsForArch(ctx BaseModuleContext, arch ArchType) []string {
125 ret = append(ret, p.properties.Deps...)
127 ret = append(ret, p.properties.Multilib.Lib32.Deps...)
129 ret = append(ret, p.properties.Multilib.Lib64.Deps...)
131 ret = append(ret, p.properties.Multilib.Common.Deps...)
136 ret = append(ret, p.properties.Deps...)
138 ret = append(ret, p.properties.Multilib.First.Deps...)
146 ret = append(ret, p.properties.Arch.Arm64.Deps...)
148 ret = append(ret, p.properties.Arch.Arm.Deps...)
150 ret = append(ret, p.properties.Arch.X86_64.Deps...)
152 ret = append(ret, p.properties.Arch.X86.Deps...)
159 func (p *PackagingBase) getSupportedTargets(ctx BaseModuleContext) []Target {
190 func (p *PackagingBase) AddDeps(ctx BottomUpMutatorContext, depTag blueprint.DependencyTag) {
191 for _, t := range p.getSupportedTargets(ctx) {
192 for _, dep := range p.getDepsForArch(ctx, t.Arch.ArchType) {
193 if p.IgnoreMissingDependencies && !ctx.OtherModuleExists(dep) {
202 func (p *PackagingBase) GatherPackagingSpecs(ctx ModuleContext) map[string]PackagingSpec {
218 func (p *PackagingBase) CopyDepsToZip(ctx ModuleContext, zipOut WritablePath) (entries []string) {
219 m := p.GatherPackagingSpecs(ctx)