/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 | 163 for log := range entries { 165 for i, proc := range log.Parents { 167 log.Parents = log.Parents[i:] 176 if len(log.Parents) > 0 { 178 for i, proc := range log.Parents { 184 config := paths.GetConfig(log.Basename) 186 ctx.Printf("Disallowed PATH tool %q used: %#v", log.Basename, log.Args) 191 ctx.Verbosef("Unknown PATH tool %q used: %#v", log.Basename, log.Args)
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 110 func setMaxFiles(log logger.Logger) { 115 log.Println("Failed to get file limit:", err) 119 log.Verbosef("Current file limits: %d soft, %d hard", limits.Cur, limits.Max) 127 log.Println("Failed to increase file limit:", err) 174 log := logger.New(output) 175 defer log.Cleanup() 182 trace := tracer.New(log) 192 build.SetupSignals(log, cancel, func() { 194 log.Cleanup() 200 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/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/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/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/bazel/scripts/milestone-2/ |
D | demo.sh | 51 function log() { function 63 log "Running the bp2build converter.." 65 log "Successfully generated BUILD files in out/soong/bp2build." 70 log "Running bazel query //bionic/..." 76 log "Running bazel build //bionic/..." 110 log "($action) done."
|
/build/soong/cmd/zipsync/ |
D | zipsync.go | 38 log.Fatal(err) 98 log.Fatal(err) 112 log.Fatal(err) 118 log.Fatalf("%q in %q is an absolute path", name, input) 122 log.Fatalf("%q found in both %q and %q", name, prev, input) 133 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_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/pesto/experiments/prepare_bazel_test_env/data/static/build/bazel/rules/ |
D | cc_tf_test_launcher.sh | 33 --log-level-display VERBOSE \ 34 --log-level VERBOSE \
|
/build/soong/cmd/soong_ui/ |
D | main.go | 169 log := logger.New(output) 170 defer log.Cleanup() 177 trace := tracer.New(log) 193 build.SetupSignals(log, cancel, func() { 195 log.Cleanup() 201 Logger: log, 232 log.SetOutput(filepath.Join(logsDir, c.logsPrefix+"soong.log")) 234 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log"))) 235 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log"))) 236 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/make/tools/warn/ |
D | warn_common.py | 105 if not flags.log: 106 flags.log = flags.buildlog 107 if not use_google3 and not os.path.exists(flags.log): 108 sys.exit('Cannot find log file: ' + flags.log) 551 with io.open(logfile, encoding='utf-8') as log: 552 warning_lines_and_links, header_str = parse_input_file(log, flags) 580 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/cc/ndkstubgen/ |
D | .gitignore | 38 pip-log.txt 61 *.log
|