diff options
| author | Colin Cross <ccross@android.com> | 2020-01-10 17:35:22 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-01-10 17:35:22 +0000 |
| commit | e35e961aa925e6ab75daf455d36875b3d6511081 (patch) | |
| tree | 27e9a02f9e216e9b25d7cafa03114b0cb02d2820 /ui | |
| parent | 2827ccc126a37c0cff4336b2ea7155fa816b378c (diff) | |
| parent | 05c25ccb4adb5329add700b533416c226cdbfa96 (diff) | |
| download | build_soong-e35e961aa925e6ab75daf455d36875b3d6511081.tar.gz build_soong-e35e961aa925e6ab75daf455d36875b3d6511081.tar.bz2 build_soong-e35e961aa925e6ab75daf455d36875b3d6511081.zip | |
Merge "Sandbox soong_build by changing to root directory"
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/build/soong.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/build/soong.go b/ui/build/soong.go index 33884170..afbc0734 100644 --- a/ui/build/soong.go +++ b/ui/build/soong.go @@ -119,6 +119,7 @@ func runSoong(ctx Context, config Config) { "-j", strconv.Itoa(config.Parallel()), "--frontend_file", fifo, "-f", filepath.Join(config.SoongOutDir(), file)) + cmd.Environment.Set("SOONG_SANDBOX_SOONG_BUILD", "true") cmd.Sandbox = soongSandbox cmd.RunAndStreamOrFatal() } |
