summary refs log tree commit diff
path: root/kokoro/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/Dockerfile')
-rw-r--r--kokoro/Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/kokoro/Dockerfile b/kokoro/Dockerfile
index 042737a..0354b01 100644
--- a/kokoro/Dockerfile
+++ b/kokoro/Dockerfile
@@ -14,6 +14,7 @@ RUN apt-get update && apt-get install -y \
     g++ \
     git \
     libcap-dev \
+    libdbus-1-dev \
     libdrm-dev \
     libfdt-dev \
     libegl1-mesa-dev \
@@ -109,6 +110,12 @@ RUN git clone https://chromium.googlesource.com/chromiumos/platform2 \
     && ar rcs librendernodehost.a src.o \
     && cp librendernodehost.a /lib
 
+# Set up sysroot from which system_api proto files are built.
+ENV SYSROOT=/sysroot
+RUN mkdir -p $SYSROOT/usr/include/chromeos/dbus/trunks \
+    && cp platform2/trunks/interface.proto \
+        $SYSROOT/usr/include/chromeos/dbus/trunks
+
 # Inform pkg-config where libraries we install are placed.
 COPY pkgconfig/* /usr/lib/pkgconfig