summaryrefslogtreecommitdiffstats
path: root/site_scons
diff options
context:
space:
mode:
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/site_tools/chromium_builders.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/site_scons/site_tools/chromium_builders.py b/site_scons/site_tools/chromium_builders.py
index e93dbea..01b8fcc 100644
--- a/site_scons/site_tools/chromium_builders.py
+++ b/site_scons/site_tools/chromium_builders.py
@@ -40,5 +40,23 @@ def generate(env):
return env.ComponentObject(*args, **kw)
env.AddMethod(ChromeObject)
+ def ChromeMSVSFolder(env, *args, **kw):
+ if env.Bit('msvs'):
+ return env.MSVSFolder(*args, **kw)
+ return []
+ env.AddMethod(ChromeMSVSFolder)
+
+ def ChromeMSVSProject(env, *args, **kw):
+ if env.Bit('msvs'):
+ return env.MSVSProject(*args, **kw)
+ return []
+ env.AddMethod(ChromeMSVSProject)
+
+ def ChromeMSVSSolution(env, *args, **kw):
+ if env.Bit('msvs'):
+ return env.MSVSSolution(*args, **kw)
+ return []
+ env.AddMethod(ChromeMSVSSolution)
+
def exists(env):
return True