mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
mapi: add shared glapi symbols check
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
1abae9e54a
commit
b619f89e23
2 changed files with 31 additions and 0 deletions
19
src/mapi/shared-glapi/glapi-symbols.txt
Normal file
19
src/mapi/shared-glapi/glapi-symbols.txt
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
_glapi_Context
|
||||
_glapi_Dispatch
|
||||
_glapi_add_dispatch
|
||||
_glapi_check_multithread
|
||||
_glapi_get_context
|
||||
_glapi_get_dispatch
|
||||
_glapi_get_dispatch_table_size
|
||||
_glapi_get_proc_address
|
||||
_glapi_get_proc_name
|
||||
_glapi_get_proc_offset
|
||||
_glapi_new_nop_table
|
||||
_glapi_noop_enable_warnings
|
||||
_glapi_set_context
|
||||
_glapi_set_dispatch
|
||||
_glapi_set_nop_handler
|
||||
_glapi_set_warning_func
|
||||
_glapi_tls_Context
|
||||
_glapi_tls_Dispatch
|
||||
_glthread_GetID
|
||||
|
|
@ -64,4 +64,16 @@ if with_any_opengl and with_tests
|
|||
),
|
||||
suite : ['mapi'],
|
||||
)
|
||||
if prog_nm.found()
|
||||
test(
|
||||
'shared-glapi symbols check',
|
||||
symbols_check,
|
||||
args : [
|
||||
'--lib', libglapi,
|
||||
'--symbols-file', files('glapi-symbols.txt'),
|
||||
'--nm', prog_nm.path(),
|
||||
],
|
||||
suite : ['mapi'],
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue