diff options
author | Jose Fonseca <[email protected]> | 2020-03-27 15:07:32 +0000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-30 13:38:01 +0000 |
commit | 2e92d3381988a85b2a6dcc8d8a8d7158ace9f348 (patch) | |
tree | a9e4d318b6fa5064f71d59a96d04b90999cae525 /src/mesa/drivers/dri/common | |
parent | 0f847b18bc91dced5725169e8c96bef6c077db90 (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/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/SConscript | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/src/mesa/drivers/dri/common/SConscript b/src/mesa/drivers/dri/common/SConscript deleted file mode 100644 index defd6bfb456..00000000000 --- a/src/mesa/drivers/dri/common/SConscript +++ /dev/null @@ -1,67 +0,0 @@ -################################### -# SConcscript file for dri targets - -Import('*') - -drienv = env.Clone() - -drienv.Replace(CPPPATH = [ - '#src/mesa/drivers/dri/common', - '#include', - '#include/GL/internal', - '#src', - '#src/mapi', - '#src/gallium/include', - '#src/gallium/auxiliary', - '#src/gallium/drivers', - '#src/gallium/winsys', - '#src/mesa', - '#src/mesa/main', - '#src/mesa/glapi', - '#src/mesa/math', - '#src/mesa/transform', - '#src/mesa/shader', - '#src/mesa/swrast', - '#src/mesa/swrast_setup', - '#src/egl/main', - '#src/egl/drivers/dri', - xmlpool_options.dir.dir, -]) - -sources = drienv.ParseSourceList('Makefile.sources', ['DRI_COMMON_FILES']) - -dri_common = drienv.ConvenienceLibrary( - target = 'dri_common', - source = sources, -) - -# -# megadrivers_stub -# -env = env.Clone() - -env.Append(CPPPATH = [ - '#/include', - '#/src/', - '#/src/mapi', - '#/src/mesa', -]) - -env.Append(CPPDEFINES = [ - 'HAVE_DLADDR', -]) - -sources = env.ParseSourceList('Makefile.sources', 'megadriver_stub_FILES') - -megadrivers_stub = env.ConvenienceLibrary( - target = 'megadrivers_stub', - source = sources, -) - -env.Alias('megadrivers_stub', megadrivers_stub) - -Export([ - 'drienv', - 'dri_common', - 'megadrivers_stub', -]) |