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 <keiichiw@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
Alexandre Courbot 2022-07-13 11:01:14 +09:00 committed by Chromeos LUCI
parent 728d6d1807
commit 155f7ad98a

View file

@ -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.