diff --git a/Makefile.am b/Makefile.am index 24e754e3..bf36c306 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1376,11 +1376,6 @@ weston_test_desktop_shell_la_SOURCES = \ tests/weston-test-desktop-shell.c \ shared/helpers.h -if ENABLE_EGL -weston_test_la_CFLAGS += $(EGL_TESTS_CFLAGS) -weston_test_la_LDFLAGS += $(EGL_TESTS_LIBS) -endif - libtest_runner_la_SOURCES = \ tests/weston-test-runner.c \ tests/weston-test-runner.h diff --git a/configure.ac b/configure.ac index 8ebe73ee..225d6692 100644 --- a/configure.ac +++ b/configure.ac @@ -148,7 +148,6 @@ AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes) if test x$enable_egl = xyes; then AC_DEFINE([ENABLE_EGL], [1], [Build Weston with EGL support]) PKG_CHECK_MODULES(EGL, [egl glesv2]) - PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-client wayland-egl]) AC_CHECK_HEADERS([linux/sync_file.h]) fi diff --git a/tests/meson.build b/tests/meson.build index f1bfe74a..048a5398 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -45,10 +45,7 @@ exe_plugin_test = shared_library( weston_test_server_protocol_h, weston_test_protocol_c, include_directories: include_directories('..', '../shared'), - dependencies: [ - dep_libweston, - dependency('egl'), - ], + dependencies: [ dep_libweston ], name_prefix: '', install: false, ) diff --git a/tests/weston-test.c b/tests/weston-test.c index 412eb243..e38aff4c 100644 --- a/tests/weston-test.c +++ b/tests/weston-test.c @@ -36,12 +36,6 @@ #include "compositor/weston.h" #include "weston-test-server-protocol.h" -#ifdef ENABLE_EGL -#include -#include -#include "weston-egl-ext.h" -#endif /* ENABLE_EGL */ - #include "shared/helpers.h" #include "shared/timespec-util.h"