diff options
author | Colin Cross <ccross@android.com> | 2015-11-18 00:24:44 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-11-18 00:24:44 +0000 |
commit | 8215241af0ac429007a462e1eca6e856b0679ecb (patch) | |
tree | dbfffcf914ced5e0878b867e6cf01cf038763c13 /build-ninja.sh | |
parent | 3a88a59e2b43e2febbee543ae2d2e767e879137c (diff) | |
parent | b147d6f3236ca8c4b0d37715195e38f019b6a37c (diff) | |
download | linux-x86-8215241af0ac429007a462e1eca6e856b0679ecb.tar.gz |
Adding binaries for master-eda391df8e36
am: b147d6f323
* commit 'b147d6f3236ca8c4b0d37715195e38f019b6a37c':
Adding binaries for master-eda391df8e36
Diffstat (limited to 'build-ninja.sh')
-rwxr-xr-x | build-ninja.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/build-ninja.sh b/build-ninja.sh index c5e9cf3..791618f 100755 --- a/build-ninja.sh +++ b/build-ninja.sh @@ -4,7 +4,8 @@ # leaves output in /tmp/prebuilts/ninja/$OS-x86/ PROJ=ninja -VER=1.6.0 +VER=master +BASE_VER=v1.6.0 MSVS=2013 source $(dirname "$0")/build-common.sh build-common.sh @@ -14,9 +15,12 @@ export PATH="$PATH":. # ninja specific steps cd $RD -git clone https://github.com/martine/ninja.git src +git clone https://android.googlesource.com/platform/external/ninja.git src cd src -git checkout v$VER +git remote add upstream https://github.com/martine/ninja.git +git fetch upstream +git checkout $VER +INSTALL_VER=${INSTALL_VER/${VER}/${VER}-$(git rev-parse --short=12 HEAD)} if [[ "$OS" == "windows" ]] ; then PLATFORM="--platform=msvc" fi @@ -25,4 +29,7 @@ fi # install cp $RD/src/ninja $INSTALL +EXTRA_FILE="LICENSE MODULE_LICENSE_APL" +EXTRA_COMMIT_MSG=$(echo -e "\n\nChanges since ${BASE_VER}:" && git log --oneline --abbrev=12 ${BASE_VER}..HEAD) + commit_and_push |