代码拉取完成,页面将自动刷新
#!/bin/sh
set -xe
old_revision=$(cat BORINGSSL_REVISION)
rm -Rf src
git clone https://boringssl.googlesource.com/boringssl src
cd src
new_revision=$(git show -s --pretty=%H)
msgfile=$(mktemp)
echo "external/boringssl: Sync to ${new_revision}.
This includes the following changes:
https://boringssl.googlesource.com/boringssl/+log/${old_revision}..${new_revision}
" > $msgfile
# Just pull out commit titles and any Update-Note paragraphs for AOSP commit summary
git log --format='format:* %s%n%n%b' ${old_revision}..${new_revision} \
| awk -v RS='' -v ORS='\n' '/^Update-Note/ {print} /^\*/ {print}' \
>> $msgfile
cd ..
echo "
Test: atest CtsLibcoreTestCases CtsLibcoreOkHttpTestCases" >> $msgfile
echo ${new_revision} > BORINGSSL_REVISION
rm -Rf src/.git
rm -Rf src/fuzz
rm -Rf src/third_party/googletest
rm -Rf linux-aarch64/ linux-arm/ linux-x86/ linux-x86_64/ mac-x86/ mac-x86_64/ win-x86_64/ win-x86/
python src/util/generate_build_files.py android android-cmake bazel eureka
cp src/LICENSE NOTICE
git add .
git commit -F $msgfile
rm -f $msgfile
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。