diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-08-26 06:44:02 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-08-26 06:44:34 +0100 |
commit | f0eb02af800ea1c4be6847ead0096d368d9276ff (patch) | |
tree | 593c6645fb2993ff72d85bf741ddec74f56a00d8 /src/gallium/tests/graw/SConscript | |
parent | c32f87c39ce2b2e0ac6ae93d3bd5f286bf345613 (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/SConscript | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/tests/graw/SConscript b/src/gallium/tests/graw/SConscript index 860a17e13e..5ef395e033 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']) |