From: Eric Engestrom Date: Wed, 2 Oct 2019 12:43:21 +0000 (+0100) Subject: meson/loader: drop unneeded *.h file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b91ae0379b1627e471662e1545738d554bbeba67;p=mesa.git meson/loader: drop unneeded *.h file Meson automatically tracks any file included by a file it already tracks, and `pci_id_driver_map.h` & `loader.h` are included by `loader.c`, while `loader_dri3_helper.h` is included by `loader_dri3_helper.c`. Signed-off-by: Eric Engestrom Acked-by: Lionel Landwerlin --- diff --git a/src/loader/meson.build b/src/loader/meson.build index 69c81688bf4..9d5a7968af4 100644 --- a/src/loader/meson.build +++ b/src/loader/meson.build @@ -23,7 +23,7 @@ inc_loader = include_directories('.') if with_platform_x11 and with_dri3 libloader_dri3_helper = static_library( 'loader_dri3_helper', - ['loader_dri3_helper.c', 'loader_dri3_helper.h'], + 'loader_dri3_helper.c', c_args : c_vis_args, include_directories : [inc_include, inc_src], dependencies : [ @@ -37,8 +37,7 @@ endif libloader = static_library( 'loader', - ['loader.c', 'loader.h', 'pci_id_driver_map.c', 'pci_id_driver_map.h', - xmlpool_options_h], + ['loader.c', 'pci_id_driver_map.c', xmlpool_options_h], c_args : [c_vis_args, '-DUSE_DRICONF', '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path), ],