Lines Matching refs:mod

181 func (a *AndroidMkEntries) GetDistForGoals(mod blueprint.Module) []string {
182 amod := mod.(Module).base()
269 func (a *AndroidMkEntries) fillInEntries(config Config, bpPath string, mod blueprint.Module) {
271 amod := mod.(Module).base()
281 for _, distString := range a.GetDistForGoals(mod) {
296 if am, ok := mod.(ApexModule); ok {
446 for _, mod := range mods {
447 err := translateAndroidMkModule(ctx, buf, mod)
453 if amod, ok := mod.(Module); ok && ctx.PrimaryModule(amod) == amod {
492 func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.Module) error {
496 r, ctx.ModuleName(mod), ctx.ModuleSubDir(mod)))
500 switch x := mod.(type) {
502 return translateAndroidModule(ctx, w, mod, x)
504 return translateGoBinaryModule(ctx, w, mod, x)
506 return translateAndroidMkEntriesModule(ctx, w, mod, x)
512 func translateGoBinaryModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
515 name := ctx.ModuleName(mod)
523 func (data *AndroidMkData) fillInData(config Config, bpPath string, mod blueprint.Module) {
536 data.Entries.fillInEntries(config, bpPath, mod)
544 func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
547 amod := mod.(Module).base()
557 data.fillInData(ctx.Config(), ctx.BlueprintFile(mod), mod)
577 blueprintDir := filepath.Dir(ctx.BlueprintFile(mod))
608 func translateAndroidMkEntriesModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
610 if shouldSkipAndroidMkProcessing(mod.(Module).base()) {
615 entries.fillInEntries(ctx.Config(), ctx.BlueprintFile(mod), mod)