diff options
-rw-r--r-- | build/SConscript.main | 17 | ||||
-rw-r--r-- | build/SConscript.main.linux | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/build/SConscript.main b/build/SConscript.main index 92f93f6..9bd5c89b 100644 --- a/build/SConscript.main +++ b/build/SConscript.main @@ -99,6 +99,23 @@ env = Environment( ) +def ChromeProgram(env, *args, **kw): + return env.Program(*args, **kw) +env.AddMethod(ChromeProgram, "ChromeProgram") + +def ChromeTestProgram(env, *args, **kw): + return env.Program(*args, **kw) +env.AddMethod(ChromeTestProgram, "ChromeTestProgram") + +def ChromeStaticLibrary(env, *args, **kw): + return env.StaticLibrary(*args, **kw) +env.AddMethod(ChromeStaticLibrary, "ChromeStaticLibrary") + +def ChromeSharedLibrary(env, *args, **kw): + return env.SharedLibrary(*args, **kw) +env.AddMethod(ChromeSharedLibrary, "ChromeSharedLibrary") + + if env['PLATFORM'] == 'win32': msvs_env = Environment(tools=['msvc', 'mslink', 'msvs'])['ENV'] diff --git a/build/SConscript.main.linux b/build/SConscript.main.linux index 87bf05a..c0e7f9e 100644 --- a/build/SConscript.main.linux +++ b/build/SConscript.main.linux @@ -96,6 +96,23 @@ env = Environment( ) +def ChromeProgram(env, *args, **kw): + return env.Program(*args, **kw) +env.AddMethod(ChromeProgram, "ChromeProgram") + +def ChromeTestProgram(env, *args, **kw): + return env.Program(*args, **kw) +env.AddMethod(ChromeTestProgram, "ChromeTestProgram") + +def ChromeStaticLibrary(env, *args, **kw): + return env.StaticLibrary(*args, **kw) +env.AddMethod(ChromeStaticLibrary, "ChromeStaticLibrary") + +def ChromeSharedLibrary(env, *args, **kw): + return env.SharedLibrary(*args, **kw) +env.AddMethod(ChromeSharedLibrary, "ChromeSharedLibrary") + + if env['PLATFORM'] == 'win32': msvs_env = Environment(tools=['msvc', 'mslink', 'msvs'])['ENV'] |