meson: move wayland_drm_protocol generation to wayland-drm
authorDylan Baker <dylan@pnwbakers.com>
Tue, 17 Oct 2017 22:02:58 +0000 (15:02 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 20 Oct 2017 23:46:48 +0000 (16:46 -0700)
commitddf06a05ad32118854136f9ad0bc2a38f41e6430
tree57cfd26c8187d35ae13c6187cbcfe66fef143c64
parent8d3b1210cb2bb590c9af880dab087f27c64b88c3
meson: move wayland_drm_protocol generation to wayland-drm

These files are needed by both vulkan wayland-wsi and by egl
wayland-wsi, since the XML file is in src/egl/wayland/wayland-drm and we
can include this directory in such a way that it will be loaded before
egl and vulkan this allows us to avoid multiple calls to the same
generator.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-and-Tested-by: Eric Engestrom <eric@engestrom.ch>
src/egl/wayland/wayland-drm/meson.build
src/vulkan/wsi/meson.build