96
96
python3 ./repo sync -c external/golang-protobuf
97
97
fi
98
98
python3 ./repo sync -c external/jemalloc
99
+ if [[ " ${major_version} " -ge 10 ]]; then
100
+ python3 ./repo sync -c external/jemalloc_new
101
+ fi
99
102
python3 ./repo sync -c external/libcxx
100
103
python3 ./repo sync -c external/libcxxabi
101
104
python3 ./repo sync -c external/libunwind
127
130
python3 ./repo sync -c prebuilts/misc
128
131
python3 ./repo sync -c prebuilts/sdk
129
132
if [[ " ${major_version} " -ge 10 ]]; then
133
+ python3 ./repo sync -c external/icu
134
+ python3 ./repo sync -c prebuilts/ndk
130
135
python3 ./repo sync -c prebuilts/vndk/v28
131
136
fi
132
137
python3 ./repo sync -c system/core
@@ -135,18 +140,18 @@ EOF
135
140
python3 ./repo sync -c system/tools/hidl
136
141
fi
137
142
if [[ " ${major_version} " -ge 10 ]]; then
138
- python3 ./repo sync -c system/libvintf
143
+ python3 ./repo sync -c external/libxml2
139
144
python3 ./repo sync -c system/sepolicy
140
145
python3 ./repo sync -c system/tools/xsdc
141
146
fi
142
147
143
148
case " ${arch} " in
144
- arm)
145
- python3 ./repo sync " prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-${gcc_version} "
146
- ;;
147
- arm64)
149
+ arm|arm64)
150
+ python3 ./repo sync -c external/arm-optimized-routines
148
151
python3 ./repo sync " prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-${gcc_version} "
149
- python3 ./repo sync " prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-${gcc_version} "
152
+ if [[ " ${arch} " == " arm64" ]]; then
153
+ python3 ./repo sync " prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-${gcc_version} "
154
+ fi
150
155
;;
151
156
x86)
152
157
python3 ./repo sync " prebuilts/gcc/linux-x86/x86/x86_64-linux-android-${gcc_version} "
@@ -165,14 +170,15 @@ EOF
165
170
rm bionic/tests/libs/Android.bp
166
171
rm bionic/tests/headers/Android.bp
167
172
rm bionic/tests/headers/posix/Android.bp
168
- rm system/libvintf/xsd/compatibilityMatrix/vts/Android.mk
169
- rm system/libvintf/xsd/compatibilityMatrix/vts/Android.bp
170
173
171
174
sed -i -z -e ' s/cc_test {.*}//g' bionic/libc/malloc_debug/Android.bp
172
175
sed -i -z -e ' s/cc_test {.*}//g' bionic/libc/malloc_hooks/Android.bp
173
- sed -i -z -e ' s/cc_test_host {.*}//g' bionic/tools/relocation_packer/Android.bp
174
- # TODO(ahuszagh) Need to remove the necessary tests that fail.
175
- # python3 ./repo sync -c test/vts
176
+ if [[ " ${major_version} " -le 9 ]]; then
177
+ sed -i -z -e ' s/cc_test_host {.*}//g' bionic/tools/relocation_packer/Android.bp
178
+ fi
179
+ if [[ " ${major_version} " -ge 10 ]]; then
180
+ sed -i -z -e ' s/cc_test {.*}//g' bionic/linker/Android.bp
181
+ fi
176
182
set -e
177
183
178
184
export ALLOW_MISSING_DEPENDENCIES=true
0 commit comments