Home | History | Annotate | Download | only in boringssl
      1 #!/bin/sh
      2 
      3 set -xe
      4 
      5 old_revision=$(cat BORINGSSL_REVISION)
      6 rm -Rf src
      7 git clone https://boringssl.googlesource.com/boringssl src
      8 cd src
      9 new_revision=$(git show -s --pretty=%H)
     10 cd ..
     11 echo ${new_revision} > BORINGSSL_REVISION
     12 
     13 rm -Rf src/.git
     14 rm -Rf src/fuzz
     15 rm -Rf src/third_party/googletest
     16 rm -Rf linux-aarch64/ linux-arm/ linux-x86/ linux-x86_64/ mac-x86/ mac-x86_64/ win-x86_64/ win-x86/
     17 python src/util/generate_build_files.py android
     18 
     19 git add .
     20 git commit -m "external/boringssl: Sync to ${new_revision}.
     21 
     22 This includes the following changes:
     23 
     24 https://boringssl.googlesource.com/boringssl/+log/${old_revision}..${new_revision}
     25 "
     26