Skip to content

Commit 6460681

Browse files
committed
Add protobuf support.
1 parent f07b32a commit 6460681

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/android-system.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ EOF
9292
python3 ./repo sync -c external/clang
9393
python3 ./repo sync -c external/compiler-rt
9494
python3 ./repo sync -c external/elfutils
95+
if [[ "${major_version}" -ge 10 ]]; then
96+
python3 ./repo sync -c external/golang-protobuf/proto
97+
fi
9598
python3 ./repo sync -c external/jemalloc
9699
python3 ./repo sync -c external/libcxx
97100
python3 ./repo sync -c external/libcxxabi
@@ -151,11 +154,11 @@ EOF
151154
rm bionic/tests/libs/Android.bp
152155
rm bionic/tests/headers/Android.bp
153156
rm bionic/tests/headers/posix/Android.bp
154-
set -e
155157

156158
sed -i -z -e 's/cc_test {.*}//g' bionic/libc/malloc_debug/Android.bp
157159
sed -i -z -e 's/cc_test {.*}//g' bionic/libc/malloc_hooks/Android.bp
158160
sed -i -z -e 's/cc_test_host {.*}//g' bionic/tools/relocation_packer/Android.bp
161+
set -e
159162

160163
export ALLOW_MISSING_DEPENDENCIES=true
161164

0 commit comments

Comments
 (0)