meson: fix debug build on Android
[mesa.git] / src / gallium / auxiliary / SConscript
index 3d83d4467b41ac33bb4b9a6b7d48ed360aaa97e5..cba4e3f7a7158ccc02ea857d5f2068586f4e905b 100644 (file)
@@ -6,6 +6,8 @@ env.Append(CPPPATH = [
     '#src',
     'indices',
     'util',
+    '#src/compiler/nir',
+    '../../compiler/nir',
 ])
 
 env = env.Clone()
@@ -13,31 +15,19 @@ env = env.Clone()
 env.MSVC2013Compat()
 
 env.CodeGenerate(
-    target = 'indices/u_indices_gen.c', 
-    script = 'indices/u_indices_gen.py', 
+    target = 'indices/u_indices_gen.c',
+    script = 'indices/u_indices_gen.py',
     source = [],
     command = python_cmd + ' $SCRIPT > $TARGET'
 )
 
 env.CodeGenerate(
-    target = 'indices/u_unfilled_gen.c', 
-    script = 'indices/u_unfilled_gen.py', 
+    target = 'indices/u_unfilled_gen.c',
+    script = 'indices/u_unfilled_gen.py',
     source = [],
     command = python_cmd + ' $SCRIPT > $TARGET'
 )
 
-env.CodeGenerate(
-    target = 'util/u_format_table.c',
-    script = '#src/gallium/auxiliary/util/u_format_table.py',
-    source = ['#src/gallium/auxiliary/util/u_format.csv'],
-    command = python_cmd + ' $SCRIPT $SOURCE > $TARGET'
-)
-
-env.Depends('util/u_format_table.c', [
-    '#src/gallium/auxiliary/util/u_format_parse.py',
-    'util/u_format_pack.py', 
-])
-
 source = env.ParseSourceList('Makefile.sources', [
     'C_SOURCES',
     'VL_STUB_SOURCES',
@@ -46,6 +36,7 @@ source = env.ParseSourceList('Makefile.sources', [
 
 if env['llvm']:
     source += env.ParseSourceList('Makefile.sources', [
+        'NIR_SOURCES',
         'GALLIVM_SOURCES',
     ])