Lines Matching refs:Config

35 	Config() Config  methodSpec
48 config Config
52 func (ctx NullPathContext) Config() Config { return ctx.config } func
274 if ctx.Config().AllowMissingDependencies() {
418 if exists, _, err := ctx.Config().fs.Exists(p.String()); err != nil {
420 } else if !exists && !ctx.Config().testAllowNonExistentPaths {
437 prefix := filepath.Join(ctx.Config().srcDir, ctx.ModuleDir()) + "/"
473 path := filepath.Join(ctx.Config().srcDir, ctx.ModuleDir(), def)
696 config Config
741 ret := SourcePath{basePath{p, ctx.Config(), ""}}
747 if strings.HasPrefix(ret.String(), ctx.Config().buildDir) {
757 ret := SourcePath{basePath{p, ctx.Config(), ""}}
763 if strings.HasPrefix(ret.String(), ctx.Config().buildDir) {
783 files, deps, err = ctx.Config().fs.Glob(path.String(), nil, pathtools.FollowSymlinks)
807 if modCtx, ok := ctx.(ModuleContext); ok && ctx.Config().AllowMissingDependencies() {
815 } else if exists, _, err := ctx.Config().fs.Exists(path.String()); err != nil {
817 } else if !exists && !ctx.Config().testAllowNonExistentPaths {
936 return toolDepPath{basePath{path, ctx.Config(), ""}}
947 fullPath := filepath.Join(ctx.Config().buildDir, path)
949 return OutputPath{basePath{path, ctx.Config(), ""}, fullPath}
1023 if ctx.Config().AllowMissingDependencies() {
1288 if ctx.InstallBypassMake() && ctx.Config().EmbeddedInMake() {
1301 outPaths = []string{"target", "product", ctx.Config().DeviceName(), partition}
1323 ret := InstallPath{basePath{path, ctx.Config(), ""}, ""}
1334 return InstallPath{basePath{path, ctx.Config(), ""}, ""}
1346 …rel := Rel(ctx, PathForOutput(ctx, "target", "product", ctx.Config().DeviceName()).String(), path.…
1452 return PhonyPath{basePath{phony, ctx.Config(), ""}}
1497 config Config
1500 func (x *testPathContext) Config() Config { return x.config } func
1505 func PathContextForTesting(config Config) PathContext { argument