[Spice-devel] [PATCH spice-gtk v4 16/29] fixup! usb-redir: enable redirection of emulated CD drive
Victor Toso
victortoso at redhat.com
Tue Aug 27 12:28:32 UTC 2019
Hi,
On Tue, Aug 27, 2019 at 10:22:33AM +0100, Frediano Ziglio wrote:
> Do not build usb emulation files if usb is disabled
> ---
> src/meson.build | 19 ++++++++++++-------
> 1 file changed, 12 insertions(+), 7 deletions(-)
>
> diff --git a/src/meson.build b/src/meson.build
> index 8bfc923b..00eb2778 100644
> --- a/src/meson.build
> +++ b/src/meson.build
> @@ -124,13 +124,6 @@ spice_client_glib_sources = [
> 'usb-backend.c',
> 'usb-emulation.h',
> 'usb-backend.h',
> - 'usb-device-cd.c',
> - 'usb-device-cd.h',
> - 'cd-scsi.c',
> - 'cd-scsi.h',
> - 'cd-scsi-dev-params.h',
> - 'cd-usb-bulk-msd.c',
> - 'cd-usb-bulk-msd.h',
> 'vmcstream.c',
> 'vmcstream.h',
> ]
> @@ -164,6 +157,18 @@ elif spice_gtk_coroutine == 'winfiber'
> spice_client_glib_sources += 'coroutine_winfibers.c'
> endif
>
> +if spice_gtk_has_usbredir
> + spice_client_glib_sources += [
> + 'usb-device-cd.c',
> + 'usb-device-cd.h',
> + 'cd-scsi.c',
> + 'cd-scsi.h',
> + 'cd-scsi-dev-params.h',
> + 'cd-usb-bulk-msd.c',
> + 'cd-usb-bulk-msd.h',
> + ]
> +endif
> +
Acked-by: Victor Toso <victortoso at redhat.com>
> if spice_gtk_has_usbredir and host_machine.system() == 'windows'
> spice_client_glib_sources += ['usbdk_api.c',
> 'usbdk_api.h']
> --
> 2.20.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190827/6fb31d8c/attachment.sig>
More information about the Spice-devel
mailing list