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

Commit fb67fd12 authored by usta's avatar usta Committed by Usta (Tsering) Shrestha
Browse files

cosmetic changes

Test: m nothing
Bug: N/A
Change-Id: Ic3d70339c7b98bf0733dc0e946f3683fe94f5c5b
parent fb9ca5c7
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)
	}