aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2020-03-27 15:07:32 +0000
committerMarge Bot <[email protected]>2020-03-30 13:38:01 +0000
commit2e92d3381988a85b2a6dcc8d8a8d7158ace9f348 (patch)
treea9e4d318b6fa5064f71d59a96d04b90999cae525 /src/gallium/winsys
parent0f847b18bc91dced5725169e8c96bef6c077db90 (diff)
scons: Prune out unnecessary targets.
This prunes out all targets except libgl-gdi, libgl-xlib, and svga, as suggested by Marek Olšák. libgl-xlib will be remove once I have had time to confirm no automated tests we have rely upon it. There are also a bunch of Makefile.sources which become orphaned as result, that are not taken care of in this change. v2: Prune remainders of swr support. Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4348>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/svga/drm/SConscript23
-rw-r--r--src/gallium/winsys/sw/dri/SConscript20
2 files changed, 0 insertions, 43 deletions
diff --git a/src/gallium/winsys/svga/drm/SConscript b/src/gallium/winsys/svga/drm/SConscript
deleted file mode 100644
index 73989685992..00000000000
--- a/src/gallium/winsys/svga/drm/SConscript
+++ /dev/null
@@ -1,23 +0,0 @@
-Import('*')
-
-env = env.Clone()
-
-env.PkgUseModules('DRM')
-
-env.Append(CPPDEFINES = [
- '-D_FILE_OFFSET_BITS=64',
-])
-
-env.Prepend(CPPPATH = [
- '#/src/gallium/drivers/svga',
- '#/src/gallium/drivers/svga/include',
-])
-
-sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
-
-svgadrm = env.ConvenienceLibrary(
- target = 'svgadrm',
- source = sources,
-)
-
-Export('svgadrm')
diff --git a/src/gallium/winsys/sw/dri/SConscript b/src/gallium/winsys/sw/dri/SConscript
deleted file mode 100644
index 434d13bd6f8..00000000000
--- a/src/gallium/winsys/sw/dri/SConscript
+++ /dev/null
@@ -1,20 +0,0 @@
-#######################################################################
-# SConscript for xlib winsys
-
-
-Import('*')
-
-if env['platform'] in ('linux', 'sunos'):
-
- env = env.Clone()
-
- env.Append(CPPPATH = [
- '#/src/gallium/include',
- '#/src/gallium/auxiliary',
- ])
-
- ws_dri = env.ConvenienceLibrary(
- target = 'ws_dri',
- source = env.ParseSourceList('Makefile.sources', 'C_SOURCES'),
- )
- Export('ws_dri')