aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Wilson <diegowilson@google.com>2018-02-02 03:29:04 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-02-02 03:29:04 +0000
commit33f9e36d24d2a1b655acb2bee5e093d59ba4b7ed (patch)
treec03dba19d0e29e35b36bafcdd3acce962b2667c6
parent2406cb9ca833407185f03f9778c83f40baa627ee (diff)
parent109f353fe9a63b146b9e74a08bbb10bfd3bf46b2 (diff)
downloadguice-33f9e36d24d2a1b655acb2bee5e093d59ba4b7ed.tar.gz
Avoid writing to source dir while building guice
am: 109f353fe9 Change-Id: Ie84156df3ad93f8e93f20dbaef76e9c481f4658d
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index 1cd42f31..57f5e1cf 100644
--- a/Android.bp
+++ b/Android.bp
@@ -58,7 +58,7 @@ genrule {
name: "guice_munge_srcjar",
out: ["guice_munge.srcjar"],
srcs: ["lib/build/munge.jar"],
- cmd: "zip $(in) -O $(out) -d MungeTask.java",
+ cmd: "zip --temp-path $${TMPDIR:-/tmp} $(in) -O $(out) -d MungeTask.java",
}
genrule {