[Mesa-dev] [PATCH 4/9] meson: move gallium include declarations to src
Dylan Baker
dylan at pnwbakers.com
Wed Oct 25 22:58:18 UTC 2017
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>
---
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 778b4ce4ac2..bb7c0506d84 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 570c37e6475..e0941103b93 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 9b1b0ae594d..c32b666c8bc 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',
--
2.14.2
More information about the mesa-dev
mailing list