Mesa (master): meson: move gallium include declarations to src

Dylan Baker dbaker at kemper.freedesktop.org
Fri Oct 27 18:26:39 UTC 2017


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

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Fri Oct 20 22:23:15 2017 -0700

meson: move gallium include declarations to src

These are used by non-gallium osmesa, so they need to be defined outside
of the gallium subdirectory.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 src/gallium/auxiliary/meson.build | 2 --
 src/gallium/meson.build           | 1 -
 src/meson.build                   | 2 ++
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/auxiliary/meson.build b/src/gallium/auxiliary/meson.build
index 778b4ce4ac..bb7c0506d8 100644
--- a/src/gallium/auxiliary/meson.build
+++ b/src/gallium/auxiliary/meson.build
@@ -18,8 +18,6 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-inc_gallium_aux = include_directories('.')
-
 files_libgallium = files(
   'cso_cache/cso_cache.c',
   'cso_cache/cso_cache.h',
diff --git a/src/gallium/meson.build b/src/gallium/meson.build
index 570c37e647..e0941103b9 100644
--- a/src/gallium/meson.build
+++ b/src/gallium/meson.build
@@ -18,7 +18,6 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
-inc_gallium = include_directories('include')
 inc_gallium_drivers = include_directories('drivers')
 inc_gallium_winsys = include_directories('winsys')
 
diff --git a/src/meson.build b/src/meson.build
index f980d25b7d..6dc9abeb0b 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -23,6 +23,8 @@ inc_common = include_directories(
 inc_mesa = include_directories('mesa')
 inc_mapi = include_directories('mapi')
 inc_src = include_directories('.')
+inc_gallium = include_directories('gallium/include')
+inc_gallium_aux = include_directories('gallium/auxiliary')
 
 libglsl_util = static_library(
   'glsl_util',




More information about the mesa-commit mailing list