Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libcxx/utils/ci/vendor/android/Dockerfile.emulator
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
unzip \
&& rm -rf /var/lib/apt/lists/*

ENV ANDROID_HOME /opt/android/sdk
ENV ANDROID_HOME=/opt/android/sdk
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't test the Dockerfile changes in our CI. Did you verify this works correctly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I tested it by running run-buildbot android-ndk-33-goog-x86_64 inside vendor/android/run-buildbot-container. To do that, I first needed to apply #99623 and comment out the broken LLVM-16-on-noble step, as explained on that PR.


RUN curl -sL https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip -o cmdline-tools.zip && \
mkdir -p ${ANDROID_HOME} && \
Expand Down
2 changes: 1 addition & 1 deletion libcxx/utils/ci/vendor/android/emulator-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ fi

# Use exec so that the emulator is PID 1, so that `docker stop` kills the
# emulator.
exec emulator @emulator -no-audio -no-window \
exec emulator @emulator -no-audio -no-window -no-metrics \
-partition-size "${EMU_PARTITION_SIZE}"