summaryrefslogtreecommitdiffstats
path: root/src/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/SConscript b/src/SConscript
index c3e34be6f76..c42d9bff2d7 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -1,19 +1,17 @@
Import('*')
-if 'egl' in env['statetrackers']:
- SConscript('mapi/vgapi/SConscript')
- SConscript('egl/main/SConscript')
+SConscript('mapi/vgapi/SConscript')
-if 'mesa' in env['statetrackers']:
- if platform == 'windows':
- SConscript('talloc/SConscript')
+if env['platform'] == 'windows':
+ SConscript('egl/main/SConscript')
+ SConscript('talloc/SConscript')
- SConscript('glsl/SConscript')
- SConscript('mapi/glapi/SConscript')
- SConscript('mesa/SConscript')
+SConscript('glsl/SConscript')
+SConscript('mapi/glapi/SConscript')
+SConscript('mesa/SConscript')
- if platform != 'embedded':
- SConscript('glut/glx/SConscript')
+if env['platform'] != 'embedded':
+ SConscript('glut/glx/SConscript')
SConscript('gallium/SConscript')