a23ce29506
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: Greg V <greg@unrelenting.technology> Signed-off-by: Pekka Paalanen <pq@iki.fi> |
||
---|---|---|
.. | ||
cairo-util.c | ||
cairo-util.h | ||
config-parser.c | ||
config-parser.h | ||
file-util.c | ||
file-util.h | ||
frame.c | ||
helpers.h | ||
image-loader.c | ||
image-loader.h | ||
matrix.c | ||
matrix.h | ||
meson.build | ||
option-parser.c | ||
os-compatibility.c | ||
os-compatibility.h | ||
platform.h | ||
string-helpers.h | ||
timespec-util.h | ||
weston-egl-ext.h | ||
xalloc.c | ||
xalloc.h | ||
zalloc.h |