David Benjamin | 95add82 | 2016-10-19 01:09:12 -0400 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | set -xe |
| 4 | |
| 5 | old_revision=$(cat BORINGSSL_REVISION) |
Kenny Root | b849459 | 2015-09-25 02:29:14 +0000 | [diff] [blame] | 6 | rm -Rf src |
| 7 | git clone https://boringssl.googlesource.com/boringssl src |
| 8 | cd src |
David Benjamin | 95add82 | 2016-10-19 01:09:12 -0400 | [diff] [blame] | 9 | new_revision=$(git show -s --pretty=%H) |
Kenny Root | b849459 | 2015-09-25 02:29:14 +0000 | [diff] [blame] | 10 | cd .. |
David Benjamin | 95add82 | 2016-10-19 01:09:12 -0400 | [diff] [blame] | 11 | echo ${new_revision} > BORINGSSL_REVISION |
| 12 | |
Kenny Root | b849459 | 2015-09-25 02:29:14 +0000 | [diff] [blame] | 13 | rm -Rf src/.git |
Adam Langley | fad6327 | 2015-11-12 12:15:39 -0800 | [diff] [blame] | 14 | rm -Rf src/fuzz |
David Benjamin | f31229b | 2017-01-25 14:08:15 -0500 | [diff] [blame] | 15 | rm -Rf src/third_party/googletest |
Kenny Root | b849459 | 2015-09-25 02:29:14 +0000 | [diff] [blame] | 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 |
Bailey Forrest | 90baa4f | 2017-10-06 13:11:43 -0700 | [diff] [blame] | 18 | python src/util/generate_build_files.py eureka |
David Benjamin | 2dff625 | 2018-08-20 15:06:25 -0500 | [diff] [blame] | 19 | cp src/LICENSE NOTICE |
David Benjamin | 95add82 | 2016-10-19 01:09:12 -0400 | [diff] [blame] | 20 | |
| 21 | git add . |
| 22 | git commit -m "external/boringssl: Sync to ${new_revision}. |
| 23 | |
| 24 | This includes the following changes: |
| 25 | |
| 26 | https://boringssl.googlesource.com/boringssl/+log/${old_revision}..${new_revision} |
| 27 | " |