summary refs log tree commit diff
path: root/kokoro
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro')
-rw-r--r--kokoro/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/kokoro/Dockerfile b/kokoro/Dockerfile
index 44c63aa..311b134 100644
--- a/kokoro/Dockerfile
+++ b/kokoro/Dockerfile
@@ -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