mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
cmdline: Add Gpu
only when feature gpu
is on
crosvm could not compile without this patch if feature `gpu` is not turned on. TEST=tools/presubmit BUG=b:260607247 Change-Id: Idcaad60862d56d8e0ebb47b3bbec42da757e3162 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4060240 Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Idan Raiter <idanr@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
f50029e071
commit
c3da0b936f
1 changed files with 1 additions and 0 deletions
|
@ -461,6 +461,7 @@ pub struct DeviceCommand {
|
|||
/// Cross-platform Devices
|
||||
pub enum CrossPlatformDevicesCommands {
|
||||
Block(device::BlockOptions),
|
||||
#[cfg(feature = "gpu")]
|
||||
Gpu(device::GpuOptions),
|
||||
#[cfg(unix)]
|
||||
Net(device::NetOptions),
|
||||
|
|
Loading…
Reference in a new issue