Lines Matching refs:procMacro
49 procMacro := &procMacroDecorator{
56 module.compiler = procMacro
58 return module, procMacro
61 func (procMacro *procMacroDecorator) compilerProps() []interface{} {
62 return append(procMacro.baseCompiler.compilerProps(),
63 &procMacro.Properties)
66 func (procMacro *procMacroDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) android…
67 fileName := procMacro.getStem(ctx) + ctx.toolchain().ProcMacroSuffix()
70 srcPath, _ := srcPathFromModuleSrcs(ctx, procMacro.baseCompiler.Properties.Srcs)
75 func (procMacro *procMacroDecorator) getStem(ctx ModuleContext) string {
76 stem := procMacro.baseCompiler.getStemWithoutSuffix(ctx)
77 validateLibraryStem(ctx, stem, procMacro.crateName())
79 return stem + String(procMacro.baseCompiler.Properties.Suffix)
82 func (procMacro *procMacroDecorator) autoDep(ctx android.BottomUpMutatorContext) autoDep {
86 func (procMacro *procMacroDecorator) everInstallable() bool {