Lines Matching refs:mod
101 for _, mod := range mods {
102 err := translateAndroidMkModule(ctx, buf, mod)
108 if amod, ok := mod.(Module); ok && ctx.PrimaryModule(amod) == amod {
147 func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.Module) error {
151 r, ctx.ModuleName(mod), ctx.ModuleSubDir(mod)))
155 switch x := mod.(type) {
157 return translateAndroidModule(ctx, w, mod, x)
159 return translateGoBinaryModule(ctx, w, mod, x)
165 func translateGoBinaryModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
168 name := ctx.ModuleName(mod)
176 func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Module,
180 amod := mod.(Module).base()
266 fmt.Fprintln(&data.preamble, "LOCAL_PATH :=", filepath.Dir(ctx.BlueprintFile(mod)))
335 blueprintDir := filepath.Dir(ctx.BlueprintFile(mod))