crosvm/rutabaga_gfx
Daniel Verkamp c56f161f93 rutabaga_gfx: add virglrenderer deps later
If the -ldrm option is added before the virglrenderer library in the
linker command line, the libdrm symbols will not be available, since
they aren't used and will be dropped by the linker. Move the
virglrenderer deps into a helper function to avoid duplication and call
it after the virglrenderer build to get the linker options in the right
order.

BUG=b:244618790
TEST=tools/dev_container tools/presubmit --all # with wl-dmabuf feature

Change-Id: I55cc96a28a1f02e7b6081d3cfa08bc3446b8e6a1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3905092
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-09-20 20:30:39 +00:00
..
ffi health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
src Revert "rutabaga_gfx: Support for cached mappings on msm" 2022-09-19 16:55:50 +00:00
build.rs rutabaga_gfx: add virglrenderer deps later 2022-09-20 20:30:39 +00:00
Cargo.toml