weston/shared
Pekka Paalanen a23ce29506 build: replace IN_WESTON with UNIT_TEST
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>
2018-12-20 23:53:54 +00:00
..
cairo-util.c xwm: Use Pango to draw title string if available 2017-12-05 14:09:31 +00:00
cairo-util.h xwm: Fix icon surface ownership 2018-02-09 17:01:09 +00:00
config-parser.c Don't look for weston.ini in the current working directory 2018-11-15 13:04:11 -08:00
config-parser.h shared: remove weston_config_get_libexec_dir() 2018-06-20 16:01:03 +03:00
file-util.c file-util: allow specifying path separately in file_create_dated() 2018-02-09 15:16:07 +00:00
file-util.h file-util: allow specifying path separately in file_create_dated() 2018-02-09 15:16:07 +00:00
frame.c xwm: Fix icon surface ownership 2018-02-09 17:01:09 +00:00
helpers.h helpers: Move static_assert definition to shared 2018-07-09 15:39:20 +01:00
image-loader.c Fix compiler warnings: clobber variables 2018-12-15 18:37:57 +02:00
image-loader.h shared: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
matrix.c build: replace IN_WESTON with UNIT_TEST 2018-12-20 23:53:54 +00:00
matrix.h shared: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00
meson.build build: use pkg-config to find libjpeg in meson 2018-12-20 18:37:34 +00:00
option-parser.c option-parser: replace int/0/1 with bool/false/true 2017-12-04 19:37:33 +00:00
os-compatibility.c os: Check for EINTR on ftruncate() 2017-03-24 21:02:30 +01:00
os-compatibility.h shared: remove fallback definition of backtrace() 2018-12-09 12:13:36 +02:00
platform.h shared/platform.h: introduce weston_platform_destroy_egl_surface() 2016-11-21 16:07:05 +00:00
string-helpers.h string-helpers.h: Fix usage on musl libc 2016-09-24 11:55:58 +02:00
timespec-util.h shared: Add timespec_eq helper function 2018-02-20 10:20:29 +02:00
weston-egl-ext.h gl-renderer: Emit GPU rendering begin and end timeline timepoints 2017-09-29 10:20:54 +03:00
xalloc.c include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
xalloc.h include stdint.h for int32_t/uint32_t 2016-07-26 16:26:08 -07:00
zalloc.h shared: Update boilerplate from MIT X11 license to MIT Expat license 2015-06-15 13:04:18 -07:00