Searched refs:mkFile (Results 1 – 5 of 5) sorted by relevance
/build/soong/mk2rbc/ |
D | config_variables.go | 29 func FindConfigVariables(mkFile string, vr variableRegistrar) error { 30 mkContents, err := ioutil.ReadFile(mkFile) 34 parser := mkparser.NewParser(mkFile, bytes.NewBuffer(mkContents)) 40 return fmt.Errorf("cannot parse %s", mkFile)
|
D | soong_variables.go | 37 func FindSoongVariables(mkFile string, includeFileScope mkparser.Scope, registrar variableRegistrar… 39 return ctx.doFind(mkFile) 42 func (ctx *context) doFind(mkFile string) error { 43 mkContents, err := ioutil.ReadFile(mkFile) 47 parser := mkparser.NewParser(mkFile, bytes.NewBuffer(mkContents)) 53 return fmt.Errorf("cannot parse %s", mkFile)
|
D | mk2rbc.go | 182 func moduleNameForFile(mkFile string) string { 183 base := strings.TrimSuffix(filepath.Base(mkFile), filepath.Ext(mkFile)) 285 gctx.writef(`print(">%s")`, gctx.starScript.mkFile) 295 gctx.writef(`print("<%s")`, gctx.starScript.mkFile) 425 mkFile string member 461 {"LOCAL_PATH", filepath.Dir(ss.mkFile)}, 999 panic(fmt.Errorf("%s: unknown directive: %s", ctx.script.mkFile, check.Dump())) 1358 &stringLiteralExpr{ctx.script.mkFile}, 1387 return &stringLiteralExpr{literal: filepath.Dir(ctx.script.mkFile)} 1671 return &stringLiteralExpr{ctx.script.mkFile} [all …]
|
D | node.go | 210 gctx.writef(`print("%s.%d: %s := ", `, gctx.starScript.mkFile, gctx.tracedCount, asgn.lhs.name())
|
/build/soong/mk2rbc/cmd/ |
D | mk2rbc.go | 175 for _, mkFile := range files { 176 ok = convertOne(mkFile) && ok 313 func convertOne(mkFile string) (ok bool) { 314 if v, ok := converted[mkFile]; ok { 317 converted[mkFile] = nil 321 fmt.Fprintf(os.Stderr, "%s: panic while converting: %s\n%s\n", mkFile, r, debug.Stack()) 326 MkFile: mkFile, 338 fmt.Fprintln(os.Stderr, mkFile, ": ", err) 342 outputPath := outputFilePath(mkFile) 369 converted[mkFile] = ss [all …]
|