Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f768231d authored by Usta (Tsering) Shrestha's avatar Usta (Tsering) Shrestha Committed by Gerrit Code Review
Browse files

Merge "cosmetic changes"

parents de059750 fb67fd12
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -170,9 +170,8 @@ func primaryBuilderInvocation(

	commonArgs = append(commonArgs, "-l", filepath.Join(config.FileListDir(), "Android.bp.list"))
	invocationEnv := make(map[string]string)
	debugMode := os.Getenv("SOONG_DELVE") != ""

	if debugMode {
	if os.Getenv("SOONG_DELVE") != "" {
		//debug mode
		commonArgs = append(commonArgs, "--delve_listen", os.Getenv("SOONG_DELVE"))
		commonArgs = append(commonArgs, "--delve_path", shared.ResolveDelveBinary())
		// GODEBUG=asyncpreemptoff=1 disables the preemption of goroutines. This
@@ -187,7 +186,7 @@ func primaryBuilderInvocation(
		invocationEnv["GODEBUG"] = "asyncpreemptoff=1"
	}

	allArgs := make([]string, 0, 0)
	var allArgs []string
	allArgs = append(allArgs, specificArgs...)
	allArgs = append(allArgs,
		"--globListDir", name,
+1 −2
Original line number Diff line number Diff line
@@ -35,8 +35,7 @@ import (
func NewNinjaReader(ctx logger.Logger, status ToolStatus, fifo string) *NinjaReader {
	os.Remove(fifo)

	err := syscall.Mkfifo(fifo, 0666)
	if err != nil {
	if err := syscall.Mkfifo(fifo, 0666); err != nil {
		ctx.Fatalf("Failed to mkfifo(%q): %v", fifo, err)
	}