diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 10:53:22 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-12 10:53:22 +0300 |
| commit | 5206933399775e5ff46baefbbb3a776c2a9bb84c (patch) | |
| tree | e7549216ac626c1f3ac22345f79fbf80cc5a90fb /tests/meson.build | |
| parent | 881fb6cb1d64868132287bd9637f4ae1cbc3504c (diff) | |
feat: add type-safe native platform headers and portable drag support
- Add include/yasl/native/{wayland,cocoa,x11}.h with type-safe handle accessors.
- Unify drag-and-drop and window carry support across Wayland, X11, and Cocoa.
- Preserve full ABI compatibility for capability flags.
- Install native headers conditionally based on enabled backend.
- Include missing tablet example and backend test suites.
Diffstat (limited to 'tests/meson.build')
| -rw-r--r-- | tests/meson.build | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/tests/meson.build b/tests/meson.build index 177e400..75ff00d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -45,11 +45,21 @@ if system == 'linux' export_args += ['--allow-export=__start_asan_globals', '--allow-export=__stop_asan_globals'] endif + exported_headers = files( + '../include/yasl/yasl.h', + '../include/yasl/timing.h', + '../include/yasl/loop.h', + '../include/yasl/native.h', + ) + if has_wayland + exported_headers += files('../include/yasl/native/wayland.h') + endif + if has_x11 + exported_headers += files('../include/yasl/native/x11.h') + endif test('public-exports', python, args: [files('helpers/check_exports.py')] + export_args + - [nm, yasl_lib.get_shared_lib(), - files('../include/yasl/yasl.h', '../include/yasl/timing.h', - '../include/yasl/loop.h', '../include/yasl/native.h')], + [nm, yasl_lib.get_shared_lib(), exported_headers], ) endif |
