• Pekka Paalanen's avatar
    build: replace IN_WESTON with UNIT_TEST · a23ce295
    Pekka Paalanen authored
    Remove IN_WESTON in favour of the already defined UNIT_TEST which is
    used to modify a compilation unit to expose more functions for unit
    tests to prod at.
    
    Originally IN_WESTON meant that compilation unit was being compiled for
    use in the Weston compositor, but it probably never really did anything
    more than change what WL_EXPORT means in matrix.c.
    
    This patch not only simplifies the logic, but it fixes the Meson build
    of test-matrix: IN_WESTON was defined there even when matrix.c was being
    built outside of Weston, which caused it to depend on libwayland
    headers, which were not included in the Meson build of test-matrix.
    Test-matrix has no reason to depend in libwayland in any way, so this
    patch fixes that.
    Reported-by: myfreeweb's avatarGreg V <greg@unrelenting.technology>
    Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
    a23ce295
Name
Last commit
Last update
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
m4 Loading commit data...
man Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
Makefile.am Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...