• Home
  • Raw
  • Download

Lines Matching refs:p

48 func (p *prebuiltLinker) prebuilt() *android.Prebuilt {
49 return &p.Prebuilt
52 func (p *prebuiltLinker) PrebuiltSrcs() []string {
53 return p.properties.Srcs
70 func (p *prebuiltLibraryLinker) linkerInit(ctx BaseModuleContext) {}
72 func (p *prebuiltLibraryLinker) linkerDeps(ctx DepsContext, deps Deps) Deps {
73 return p.libraryDecorator.linkerDeps(ctx, deps)
76 func (p *prebuiltLibraryLinker) linkerFlags(ctx ModuleContext, flags Flags) Flags {
80 func (p *prebuiltLibraryLinker) linkerProps() []interface{} {
81 return p.libraryDecorator.linkerProps()
84 func (p *prebuiltLibraryLinker) link(ctx ModuleContext,
87 if len(p.properties.Srcs) > 0 {
88 p.libraryDecorator.exportIncludes(ctx, "-I")
89 p.libraryDecorator.reexportFlags(deps.ReexportedFlags)
90 p.libraryDecorator.reexportDeps(deps.ReexportedFlagsDeps)
94 in := p.Prebuilt.SingleSourcePath(ctx)
96 if p.shared() {
97 p.unstrippedOutputFile = in
99 if p.needsStrip(ctx) {
101 p.strip(ctx, in, stripped, builderFlags)
108 p.tocFile = android.OptionalPathForPath(tocFile)
118 func (p *prebuiltLibraryLinker) shared() bool {
119 return p.libraryDecorator.shared()
122 func (p *prebuiltLibraryLinker) nativeCoverage() bool {
126 func (p *prebuiltLibraryLinker) disablePrebuilt() {
127 p.properties.Srcs = nil
187 func (p *prebuiltBinaryLinker) link(ctx ModuleContext,
190 if len(p.properties.Srcs) > 0 {
193 fileName := p.getStem(ctx) + flags.Toolchain.ExecutableSuffix()
194 in := p.Prebuilt.SingleSourcePath(ctx)
196 p.unstrippedOutputFile = in
198 if p.needsStrip(ctx) {
200 p.strip(ctx, in, stripped, builderFlags)