osmesa: add exported symbols check

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1308>
This commit is contained in:
Eric Engestrom
2020-12-06 18:49:34 +01:00
committed by Marge Bot
parent 8b75b72613
commit c28f144c81
2 changed files with 1318 additions and 0 deletions

View File

@@ -64,6 +64,18 @@ libosmesa = shared_library(
install : true,
)
if with_symbols_check
test('osmesa-symbols-check',
symbols_check,
args : [
'--lib', libosmesa,
'--symbols-file', files('osmesa-symbols.txt'),
symbols_check_args,
],
suite : ['gallium'],
)
endif
pkg.generate(
name : 'osmesa',
description : 'Mesa Off-screen Rendering Library',

File diff suppressed because it is too large Load Diff