]> Cypherpunks repositories - gostls13.git/commit
misc/android: copy less from GOROOT to the device
authorElias Naur <mail@eliasnaur.com>
Sat, 9 Mar 2019 01:30:35 +0000 (02:30 +0100)
committerElias Naur <mail@eliasnaur.com>
Mon, 11 Mar 2019 21:03:01 +0000 (21:03 +0000)
commit810809ebc2e2c834da9656e4b52bb3a7d6089502
tree2fcaad6f4e3a510cef4e6b9936e2574c3f2a320e
parentcf4691650c3c556f19844a881a32792a919ee8d1
misc/android: copy less from GOROOT to the device

The android emulator builders is running out of space after CL 165797
copied most of GOROOT to the device.
The pkg directory is by far the largest, so only include what seems
necessary to build the x/ repositories: pkg/android_$GOARCH and
pkg/tool/android_$GOARCH.

While here, rename the device root directory to match the exec
wrapper name and make sure the deferred cleanups actually run before
os.Exit.

Hopefully fixes the emulator builders.

Updates #23824

Change-Id: I4d1e3ab2c89fd1e5818503d323ddb87f073094da
Reviewed-on: https://go-review.googlesource.com/c/go/+/166397
Run-TryBot: Elias Naur <mail@eliasnaur.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
misc/android/go_android_exec.go