diff options
author | Jason Ekstrand <[email protected]> | 2014-07-24 11:17:53 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2014-08-04 11:07:15 -0700 |
commit | 992e1ea8e4290cf14d59f89415bfd13e0920aad7 (patch) | |
tree | 1e3ce418960e77e5926e8e76d0f4bd9244e38caa /src/util/SConscript | |
parent | efa0aa8ffc63e8fdd23335e67ca76eb358cfd1ac (diff) |
gallium: Move sRGB <-> RGB handling to libmesautil
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/util/SConscript')
-rw-r--r-- | src/util/SConscript | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/util/SConscript b/src/util/SConscript index 8afeedaf5e9..84803c016d9 100644 --- a/src/util/SConscript +++ b/src/util/SConscript @@ -11,10 +11,20 @@ env.Prepend(CPPPATH = [ '#src/util', ]) +env.CodeGenerate( + target = 'format_srgb.c', + script = 'format_srgb.py', + source = [], + command = python_cmd + ' $SCRIPT > $TARGET' +) + # parse Makefile.sources source_lists = env.ParseSourceList('Makefile.sources') -mesautil_sources = source_lists['MESA_UTIL_FILES'] +mesautil_sources = ( + source_lists['MESA_UTIL_FILES'] + + source_lists['MESA_UTIL_GENERATED_FILES'] +) mesautil = env.ConvenienceLibrary( target = 'mesautil', |