meson: move gallium include declarations to src
authorDylan Baker <dylan@pnwbakers.com>
Sat, 21 Oct 2017 05:23:15 +0000 (22:23 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 27 Oct 2017 18:06:07 +0000 (11:06 -0700)
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@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/auxiliary/meson.build
src/gallium/meson.build
src/meson.build

index 778b4ce4ac22f3fe4e9e77b0ce1e656fcb4047d1..bb7c0506d840bfe34a052921e5f3a45de395245a 100644 (file)
@@ -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',
index 570c37e647544f10399478150bfa019a3221a31c..e0941103b93462881856e75c7a46d7dd1a279661 100644 (file)
@@ -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')
 
index f980d25b7dd7b13b47e406e3c4dd29789c0e142b..6dc9abeb0bdc77622c1304146abe6df8f2e2af95 100644 (file)
@@ -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',