diff options
Diffstat (limited to 'site_scons')
-rw-r--r-- | site_scons/site_tools/chromium_builders.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site_scons/site_tools/chromium_builders.py b/site_scons/site_tools/chromium_builders.py index 24b35f1..6088203 100644 --- a/site_scons/site_tools/chromium_builders.py +++ b/site_scons/site_tools/chromium_builders.py @@ -73,6 +73,10 @@ def ChromeTestProgram(env, target, source, *args, **kw): env.Precious(*result) return result +def ChromeLibrary(env, target, source, *args, **kw): + source = compilable_files(source) + return env.ComponentLibrary(target, source, *args, **kw) + def ChromeStaticLibrary(env, target, source, *args, **kw): source = compilable_files(source) kw['COMPONENT_STATIC'] = True @@ -107,6 +111,7 @@ def ChromeMSVSSolution(env, *args, **kw): def generate(env): env.AddMethod(ChromeProgram) env.AddMethod(ChromeTestProgram) + env.AddMethod(ChromeLibrary) env.AddMethod(ChromeStaticLibrary) env.AddMethod(ChromeSharedLibrary) env.AddMethod(ChromeObject) |