/build/soong/ui/build/ |
D | signal.go | 41 func SetupSignals(log logger.Logger, cancel, cleanup func()) { 44 go handleSignals(signals, log, cancel, cleanup) 47 func handleSignals(signals chan os.Signal, log logger.Logger, cancel, cleanup func()) { 58 log.Println("Still alive, killing subprocesses...") 63 log.Println("Still alive, cleaning up...") 69 defer log.Panicln("Timed out exiting...") 74 log.Panicln("Got signal, but timed out exiting...") 81 log.Println("Got signal:", s)
|
D | path.go | 135 for log := range entries { 137 for i, proc := range log.Parents { 139 log.Parents = log.Parents[i:] 146 if len(log.Parents) > 0 { 148 for i, proc := range log.Parents { 153 config := paths.GetConfig(log.Basename) 155 ctx.Printf("Disallowed PATH tool %q used: %#v", log.Basename, log.Args) 160 ctx.Verbosef("Unknown PATH tool %q used: %#v", log.Basename, log.Args)
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 92 func setMaxFiles(log logger.Logger) { 97 log.Println("Failed to get file limit:", err) 101 log.Verbosef("Current file limits: %d soft, %d hard", limits.Cur, limits.Max) 109 log.Println("Failed to increase file limit:", err) 156 log := logger.New(output) 157 defer log.Cleanup() 164 trace := tracer.New(log) 174 build.SetupSignals(log, cancel, func() { 176 log.Cleanup() 182 Logger: log, [all …]
|
/build/soong/scripts/ |
D | build_broken_logs.go | 160 log := devices[device] 163 if log.BuildBroken[n] == nil || *log.BuildBroken[n] == false { 164 if log.HasBroken[n] > 0 { 167 if log.HasBroken[n] > 1 { 170 …fmt.Printf(" %s needs to set %s := true (%d instance%s)\n", device, setting.name, log.HasBroken[… 172 } else if log.HasBroken[n] == 0 { 177 if log.BuildBroken[n] == nil { 179 } else if *log.BuildBroken[n] == false { 182 } else if log.HasBroken[n] == 0 { 187 if log.BuildBroken[n] != nil { [all …]
|
/build/soong/ui/logger/ |
D | logger_test.go | 101 log := New(&bytes.Buffer{}) 113 defer log.Cleanup() 115 log.Panic(panicValue) 132 log := New(&bytes.Buffer{}) 137 defer log.Cleanup() 138 log.Fatal("Test") 154 log := New(&bytes.Buffer{}) 155 defer log.Cleanup() 156 log.Println("Test") 169 log := New(&bytes.Buffer{}) [all …]
|
D | logger.go | 130 } else if log, ok := p.(fatalLog); ok { 131 fn(error(log)) 138 stderr *log.Logger 141 fileLogger *log.Logger 153 stderr: log.New(out, "", log.Ltime), 154 fileLogger: log.New(ioutil.Discard, "", log.Ldate|log.Lmicroseconds|log.Llongfile),
|
/build/soong/cuj/ |
D | cuj.go | 52 log := logger.New(output) 53 defer log.Cleanup() 58 trace := tracer.New(log) 68 build.SetupSignals(log, cancel, func() { 70 log.Cleanup() 76 Logger: log, 91 log.SetOutput(filepath.Join(logsDir, "soong.log")) 93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log"))) 94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log"))) 95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error"))) [all …]
|
/build/soong/third_party/zip/ |
D | example_test.go | 35 log.Fatal(err) 39 log.Fatal(err) 46 log.Fatal(err) 54 log.Fatal(err) 64 log.Fatal(err) 68 log.Fatal(err)
|
/build/soong/ui/tracer/ |
D | tracer.go | 58 log logger.Logger member 92 func New(log logger.Logger) *tracerImpl { 94 log: log, 116 t.log.Println("Error closing trace writer:", err) 120 t.log.Println("Error closing trace file:", err) 141 t.log.Println("Failed to create trace file:", err) 151 t.log.Println("Failed to write trace buffer to file:", err) 175 t.log.Println("Failed to marshal event:", err) 176 t.log.Verbosef("Event: %#v", event) 187 t.log.Println("Trace write error:", err)
|
D | microfactory.go | 69 t.log.Verboseln("Error opening microfactory trace:", err) 80 t.log.Verboseln("Unknown line in microfactory trace:", s.Text()) 85 t.log.Verboseln("Failed to parse timestamp in microfactory trace:", err)
|
/build/soong/ui/status/ |
D | log.go | 37 func NewVerboseLog(log logger.Logger, filename string) StatusOutput { 44 log.Println("Failed to create verbose log file:", err) 92 func NewErrorLog(log logger.Logger, filename string) StatusOutput { 95 log.Println("Failed to create error log file:", err) 155 log logger.Logger member 158 func NewProtoErrorLog(log logger.Logger, filename string) StatusOutput { 163 log: log, 184 e.log.Printf("Failed to write file %s: %v\n", e.filename, err) 204 log logger.Logger member 208 func NewBuildProgressLog(log logger.Logger, filename string) StatusOutput { [all …]
|
D | critical_path.go | 23 func NewCriticalPath(log logger.Logger) StatusOutput { 25 log: log, 33 log logger.Logger member 111 cp.log.Verbosef("critical path took %s", criticalTime.String()) 114 cp.log.Verbosef("elapsed time %s", elapsedTime.String()) 116 cp.log.Verbosef("perfect parallelism ratio %d%%", 120 cp.log.Verbose("critical path:") 125 cp.log.Verbosef(" %2d:%02d %s",
|
/build/soong/cmd/dep_fixer/ |
D | main.go | 41 log.Fatal("Expected at least one input file as an argument") 50 log.Fatalf("Error opening %q: %v", arg, err) 55 log.Fatalf("Failed to parse: %v", err) 72 log.Fatalf("Failed to write: %v", err) 78 log.Fatalf("Failed to write to %q: %v", *output, err)
|
/build/soong/cmd/zipsync/ |
D | zipsync.go | 38 log.Fatal(err) 88 log.Fatal(err) 102 log.Fatal(err) 108 log.Fatalf("%q in %q is an absolute path", name, input) 112 log.Fatalf("%q found in both %q and %q", name, prev, input) 123 log.Fatal(err)
|
/build/soong/finder/cmd/ |
D | finder.go | 104 logger := log.New(writer, "", log.Ldate|log.Lmicroseconds|log.Lshortfile) 149 func runFind(params finder.CacheParams, logger *log.Logger) (paths []string, err error) {
|
/build/soong/cmd/extract_apks/ |
D | main.go | 159 log.Fatal("language based entry selection is not implemented") 253 …log.Fatal("For screen density, only DPI name based entry selection (e.g. HDPI, XHDPI) is implement… 269 log.Fatal(fmt.Sprintf("sdk_version_targeting should not have multiple values:%#v", m.Value)) 287 log.Fatal("texture based entry selection is not implemented") 299 log.Fatal("country based entry selection is not implemented") 402 log.Fatalf("selected an entry with unexpected name %s", inName) 405 log.Fatalf("selected entries %s and %s will have the same output name %s", 529 log.Fatal(err) 533 log.Fatalf("there are no entries for the target configuration: %#v", targetConfig) 538 log.Fatal(err) [all …]
|
/build/soong/cmd/extract_linker/ |
D | main.go | 42 log.Fatalf("Error opening %q: %v", flag.Arg(0), err) 48 log.Fatalf("Unable to read elf file: %v", err) 102 log.Fatalf("Unable to write %q: %v", asmPath, err) 109 log.Fatalf("Unable to write %q: %v", flagsPath, err)
|
/build/soong/cmd/soong_ui/ |
D | main.go | 131 log := logger.New(output) 132 defer log.Cleanup() 137 trace := tracer.New(log) 148 build.SetupSignals(log, cancel, func() { 150 log.Cleanup() 156 Logger: log, 178 log.SetOutput(filepath.Join(logsDir, c.logsPrefix+"soong.log")) 180 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log"))) 181 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log"))) 182 stat.AddOutput(status.NewProtoErrorLog(log, buildErrorFile)) [all …]
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 78 log.SetFlags(log.Lshortfile) 82 log.Fatal(err) 88 log.Fatal(err) 96 log.Fatal(err) 103 log.Fatal(err)
|
/build/soong/cmd/extract_jar_packages/ |
D | extract_jar_packages.go | 37 log.Fatal(err) 63 log.Fatal(err)
|
/build/soong/cc/ |
D | compdb.go | 86 log.Fatalf("Could not create file %s: %s", compDBFile, err) 102 log.Fatalf("Failed to marshal: %s", err) 110 log.Fatalf("Unable to symlink %s to %s: %s", compDBFile, finalLinkPath, err) 149 log.Print("Unknown file extension " + src.Ext() + " on file " + src.String())
|
/build/soong/cmd/merge_zips/ |
D | merge_zips.go | 695 log.Fatal(err) 704 log.SetFlags(log.Lshortfile) 709 log.Fatal(err) 717 log.Fatal(err) 721 log.Fatal(err) 729 log.Fatal(err) 735 log.Fatal(errors.New("must specify -j when specifying a manifest via -m")) 739 log.Fatal(errors.New("must specify -p when specifying a Python __main__.py via -pm")) 752 log.Fatal(err)
|
/build/make/tools/warn/ |
D | warn_common.py | 102 if not flags.log: 103 flags.log = flags.buildlog 104 if not use_google3 and not os.path.exists(flags.log): 105 sys.exit('Cannot find log file: ' + flags.log) 542 with io.open(logfile, encoding='utf-8') as log: 543 warning_lines_and_links, header_str = parse_input_file(log, flags) 571 logfile=flags.log, flags=flags, project_names=project_names,
|
/build/make/ |
D | Usage.txt | 43 During a build, a few log files are generated in ${OUT} (or ${DIST_DIR}/logs 46 verbose.log.gz 49 error.log 51 soong.log
|
/build/soong/ui/build/sandbox/darwin/ |
D | global.sb | 18 (deny file-write* (with no-log)
|