meson: move wayland-egl into egl folder
authorDylan Baker <dylan@pnwbakers.com>
Thu, 2 Nov 2017 21:30:53 +0000 (14:30 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 10 Nov 2017 21:00:01 +0000 (13:00 -0800)
This ensure that it's properly guarded, but also makes the code clearer
by grouping related things together.

Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/egl/meson.build
src/meson.build

index 36b1d9e41b0fa10029cb4dee8e1b967c6c19afbc..f32715265ce1a09c022622d9b89bf07a70d1011e 100644 (file)
@@ -182,6 +182,10 @@ pkg.generate(
   extra_cflags : gl_pkgconfig_c_flags,
 )
 
+if with_platform_wayland
+  subdir('wayland/wayland-egl')
+endif
+
 if with_tests
   if with_glvnd
     # TODO: add glvnd symbol check
index cc8f5953c51489860ce4867d64290ef59e76d621..186cf92f47eae4609fa2a926e5b656b178b6a172 100644 (file)
@@ -59,9 +59,6 @@ subdir('intel')
 subdir('mesa')
 subdir('loader')
 subdir('glx')
-if with_platform_wayland
-  subdir('egl/wayland/wayland-egl')
-endif
 if with_gbm
   subdir('gbm')
 endif