Skip to content

Commit 96c51ce

Browse files
committed
Dummy commit.
1 parent 111f849 commit 96c51ce

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

docker/Dockerfile.aarch64-linux-android

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,24 @@ RUN /android-ndk.sh arm64
2222
ENV PATH=$PATH:/android-ndk/bin
2323

2424
COPY android-system.sh /
25-
RUN /android-system.sh arm64
26-
27-
RUN cp /android-ndk/sysroot/usr/lib/aarch64-linux-android/$ANDROID_SDK/libz.so /system/lib/
28-
29-
COPY android-runner /
30-
31-
# Libz is distributed in the android ndk, but for some unknown reason it is not
32-
# found in the build process of some crates, so we explicit set the DEP_Z_ROOT
33-
ENV CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android-gcc \
34-
CARGO_TARGET_AARCH64_LINUX_ANDROID_RUNNER="/android-runner aarch64" \
35-
CC_aarch64_linux_android=aarch64-linux-android-gcc \
36-
CXX_aarch64_linux_android=aarch64-linux-android-g++ \
37-
BINDGEN_EXTRA_CLANG_ARGS_aarch64_linux_android="--sysroot=/android-ndk/sysroot" \
38-
DEP_Z_INCLUDE=/android-ndk/sysroot/usr/include/ \
39-
RUST_TEST_THREADS=1 \
40-
HOME=/tmp/ \
41-
TMPDIR=/tmp/ \
42-
ANDROID_DATA=/ \
43-
ANDROID_DNS_MODE=local \
44-
ANDROID_ROOT=/system
25+
# TODO(ahuszagh) Restore
26+
#RUN /android-system.sh arm64
27+
#
28+
#RUN cp /android-ndk/sysroot/usr/lib/aarch64-linux-android/$ANDROID_SDK/libz.so /system/lib/
29+
#
30+
#COPY android-runner /
31+
#
32+
## Libz is distributed in the android ndk, but for some unknown reason it is not
33+
## found in the build process of some crates, so we explicit set the DEP_Z_ROOT
34+
#ENV CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android-gcc \
35+
# CARGO_TARGET_AARCH64_LINUX_ANDROID_RUNNER="/android-runner aarch64" \
36+
# CC_aarch64_linux_android=aarch64-linux-android-gcc \
37+
# CXX_aarch64_linux_android=aarch64-linux-android-g++ \
38+
# BINDGEN_EXTRA_CLANG_ARGS_aarch64_linux_android="--sysroot=/android-ndk/sysroot" \
39+
# DEP_Z_INCLUDE=/android-ndk/sysroot/usr/include/ \
40+
# RUST_TEST_THREADS=1 \
41+
# HOME=/tmp/ \
42+
# TMPDIR=/tmp/ \
43+
# ANDROID_DATA=/ \
44+
# ANDROID_DNS_MODE=local \
45+
# ANDROID_ROOT=/system

docker/android-system.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,8 @@ EOF
138138
python3 ./repo sync -c system/libvintf
139139
python3 ./repo sync -c system/sepolicy
140140
python3 ./repo sync -c system/tools/xsdc
141-
# needed for libvintf
142-
python3 ./repo sync -c test/vts
143141
fi
144142

145-
146-
147143
case "${arch}" in
148144
arm)
149145
python3 ./repo sync "prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-${gcc_version}"
@@ -175,6 +171,8 @@ EOF
175171
sed -i -z -e 's/cc_test {.*}//g' bionic/libc/malloc_debug/Android.bp
176172
sed -i -z -e 's/cc_test {.*}//g' bionic/libc/malloc_hooks/Android.bp
177173
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
178176
set -e
179177

180178
export ALLOW_MISSING_DEPENDENCIES=true

0 commit comments

Comments
 (0)