summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2022-08-16 10:27:33 -0700
committer Colin Cross <ccross@android.com> 2022-08-17 10:43:13 -0700
commitd079e0b2708ce0f4cce470db929f28dd8d2b0e80 (patch)
treee8cdb4a59bd88411a262a1d91bd75def56cc4de2 /shared
parent852d0c48593fb2a17d301d7274edac907e8e194f (diff)
Reformat build/soong for go 1.19
Test: none Change-Id: I132368f0fcbdb5ea088b5b84dbe4ccfdd9e94cad
Diffstat (limited to 'shared')
-rw-r--r--shared/env.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/shared/env.go b/shared/env.go
index 152729ba0..b7d3bafb4 100644
--- a/shared/env.go
+++ b/shared/env.go
@@ -32,10 +32,11 @@ type envFileData []envFileEntry
//
// e.g. OUT_DIR = "out"
// is converted to:
-// {
-// "Key": "OUT_DIR",
-// "Value": "out",
-// },
+//
+// {
+// "Key": "OUT_DIR",
+// "Value": "out",
+// },
func EnvFileContents(envDeps map[string]string) ([]byte, error) {
contents := make(envFileData, 0, len(envDeps))
for key, value := range envDeps {