Lines Matching refs:pkgPath
480 pkgPath := String(p.properties.Pkg_path)
481 if pkgPath != "" {
483 pkgPath = filepath.Clean(String(p.properties.Pkg_path))
484 if pkgPath == ".." || strings.HasPrefix(pkgPath, "../") ||
485 strings.HasPrefix(pkgPath, "/") {
494 pkgPath = filepath.Join(internalPath, pkgPath)
498 p.genModulePathMappings(ctx, pkgPath, expandedSrcs, expandedData)
501 p.srcsZip = p.createSrcsZip(ctx, pkgPath)
520 func (p *Module) genModulePathMappings(ctx android.ModuleContext, pkgPath string,
532 runfilesPath := filepath.Join(pkgPath, s.Rel())
546 runfilesPath := filepath.Join(pkgPath, d.Rel())
555 func (p *Module) createSrcsZip(ctx android.ModuleContext, pkgPath string) android.Path {
582 zip := genProto(ctx, srcFile, protoFlags, pkgPath)
592 if pkgPath != "" {
594 parArgs = append(parArgs, `-P `+pkgPath)