android: update a Java file when the Go child is updated, to force a rebuild in the ADT

Change-Id: I4ffa15332a2af82ed27300d447bc9d0ca1bd6877
This commit is contained in:
Brad Fitzpatrick 2013-01-27 12:50:24 -08:00
parent 31b6ff2c4a
commit 3fe1536e01
1 changed files with 3 additions and 0 deletions

View File

@ -1,2 +1,5 @@
all:
GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -o camput.arm camlistore.org/cmd/camput
/bin/echo -n "package org.camlistore; public final class ChildProcessConfig { // " > ../gen/org/camlistore/ChildProcessConfig.java
openssl sha1 camput.arm >> ../gen/org/camlistore/ChildProcessConfig.java
/bin/echo "}" >> ../gen/org/camlistore/ChildProcessConfig.java