summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-08-26 06:44:02 +0100
committerJosé Fonseca <[email protected]>2010-08-26 06:44:34 +0100
commitf0eb02af800ea1c4be6847ead0096d368d9276ff (patch)
tree593c6645fb2993ff72d85bf741ddec74f56a00d8 /src/gallium/tests/graw/SConscript
parentc32f87c39ce2b2e0ac6ae93d3bd5f286bf345613 (diff)
graw: Dynamically load graw libraries.
This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway.
Diffstat (limited to 'src/gallium/tests/graw/SConscript')
-rw-r--r--src/gallium/tests/graw/SConscript9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript
index 860a17e13e7..5ef395e0336 100644
--- a/src/gallium/tests/graw/SConscript
+++ b/src/gallium/tests/graw/SConscript
@@ -1,15 +1,8 @@
Import('*')
-try:
- graw
-except NameError:
- print 'warning: graw library not avaiable: skipping build of graw test'
- Return()
-
env = env.Clone()
-env.Prepend(LIBPATH = [graw.dir])
-env.Prepend(LIBS = ['graw'] + gallium)
+env.Prepend(LIBS = gallium)
if platform in ('freebsd8', 'sunos5'):
env.Append(LIBS = ['m'])