From 155f7ad98abec910d800ecc5adf92a2b018c6b20 Mon Sep 17 00:00:00 2001 From: Alexandre Courbot Date: Wed, 13 Jul 2022 11:01:14 +0900 Subject: [PATCH] tools/install-doc-deps: depend on libudev-dev libva introduced a dependency on libudev, and the latter does not distinguish between regular builds and runs of cargo doc to avoid depending on the system library. Thus add it as a dependency to be able to successfully build the docs. BUG=b:214478588 TEST=./tools/cargo-doc Change-Id: I4150b312fd7e1a5197c817e4d7cee5766a3c569a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3758165 Reviewed-by: Keiichi Watanabe Tested-by: kokoro Commit-Queue: Alexandre Courbot --- tools/install-docs-deps | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/install-docs-deps b/tools/install-docs-deps index 1a8e593bc4..100a7ba924 100755 --- a/tools/install-docs-deps +++ b/tools/install-docs-deps @@ -13,6 +13,8 @@ set -ex # * protobuf-compiler: Generates Rust files in protos sudo apt install --yes --no-install-recommends \ libcap-dev \ + # libudev-dev is required to build the libva documentation. + libudev-dev \ protobuf-compiler # The mdbook and mdbook-mermaid tools are used to build the crosvm book.