Mesa (master): meson/loader: drop unneeded *.h file

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Oct 7 20:31:56 UTC 2019


Module: Mesa
Branch: master
Commit: b91ae0379b1627e471662e1545738d554bbeba67
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b91ae0379b1627e471662e1545738d554bbeba67

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Wed Oct  2 13:43:21 2019 +0100

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 <eric.engestrom at intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/loader/meson.build | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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),
 ],




More information about the mesa-commit mailing list