mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-10 20:19:07 +00:00
kokoro: Add adhd repo
A future change will allow crosvm to play audio through cras. To do that it needs to use some crates that live in the adhd repository. Add the repository to the kokoro image at a path where Cargo can find the crates. Change-Id: I1542090ba0db6fd0f3ac60dcc2e7bb35502a4944 Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1429311 Commit-Ready: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Chih-Yang Hsia <paulhsia@chromium.org>
This commit is contained in:
parent
2c7e88199e
commit
448e20b2b0
1 changed files with 8 additions and 0 deletions
|
@ -109,6 +109,14 @@ RUN rm -r /scratch /usr/bin/meson
|
|||
# The manual installation of shared objects requires an ld.so.cache refresh.
|
||||
RUN ldconfig
|
||||
|
||||
# Pull down repositories that crosvm depends on to cros checkout-like locations.
|
||||
ENV CROS_ROOT=/
|
||||
ENV THIRD_PARTY_ROOT=$CROS_ROOT/third_party
|
||||
RUN mkdir -p $THIRD_PARTY_ROOT
|
||||
|
||||
# Pull the cras library for audio access.
|
||||
RUN git clone https://chromium.googlesource.com/chromiumos/third_party/adhd $THIRD_PARTY_ROOT/adhd
|
||||
|
||||
# The /build directory is used so that the bind mounted /src volume does not get scribbled on.
|
||||
ENV CARGO_TARGET_DIR=/build
|
||||
RUN mkdir -p $CARGO_TARGET_DIR
|
||||
|
|
Loading…
Reference in a new issue