Index: pylib/gyp/generator/eclipse.py |
diff --git a/pylib/gyp/generator/eclipse.py b/pylib/gyp/generator/eclipse.py |
index 07c1fa61c6a5c1e717d352e3888c6566c4d66652..a80edc89296943f4e75ca85130c29b6595b0988d 100644 |
--- a/pylib/gyp/generator/eclipse.py |
+++ b/pylib/gyp/generator/eclipse.py |
@@ -64,19 +64,7 @@ def CalculateVariables(default_variables, params): |
generator_additional_path_sections = getattr(msvs_generator, |
'generator_additional_path_sections', []) |
- # Set a variable so conditions can be based on msvs_version. |
- msvs_version = gyp.msvs_emulation.GetVSVersion(generator_flags) |
- default_variables['MSVS_VERSION'] = msvs_version.ShortName() |
- |
- # To determine processor word size on Windows, in addition to checking |
- # PROCESSOR_ARCHITECTURE (which reflects the word size of the current |
- # process), it is also necessary to check PROCESSOR_ARCHITEW6432 (which |
- # contains the actual word size of the system when running thru WOW64). |
- if ('64' in os.environ.get('PROCESSOR_ARCHITECTURE', '') or |
- '64' in os.environ.get('PROCESSOR_ARCHITEW6432', '')): |
- default_variables['MSVS_OS_BITS'] = 64 |
- else: |
- default_variables['MSVS_OS_BITS'] = 32 |
+ gyp.msvs_emulation.CalculateCommonVariables(default_variables, params) |
def CalculateGeneratorInputInfo(params): |