Index: pylib/gyp/generator/msvs.py |
diff --git a/pylib/gyp/generator/msvs.py b/pylib/gyp/generator/msvs.py |
index 7cbf0f686a3d4b5335fa94287fa40cb5ab87dd6f..51acf2eb3e8e00901a58ba8dfef436660aa622a7 100644 |
--- a/pylib/gyp/generator/msvs.py |
+++ b/pylib/gyp/generator/msvs.py |
@@ -64,6 +64,7 @@ generator_additional_path_sections = [ |
generator_additional_non_configuration_keys = [ |
'msvs_cygwin_dirs', |
'msvs_cygwin_shell', |
+ 'msvs_large_pdb', |
'msvs_shard', |
] |
@@ -1768,6 +1769,11 @@ def GenerateOutput(target_list, target_dicts, data, params): |
# Optionally shard targets marked with 'msvs_shard': SHARD_COUNT. |
(target_list, target_dicts) = MSVSUtil.ShardTargets(target_list, target_dicts) |
+ # Optionally use the large PDB workaround for targets marked with |
+ # 'msvs_large_pdb': 1. |
+ (target_list, target_dicts) = MSVSUtil.InsertLargePdbShims( |
+ target_list, target_dicts, generator_default_variables) |
+ |
# Prepare the set of configurations. |
configs = set() |
for qualified_target in target_list: |