Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 73a7202fa733b342b8f503851beae13aaace5bfb..965a437ba2f59416548907adb0e1e1a6d4d0fe30 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -631,6 +631,11 @@ |
# Currently ignored on Windows. |
'coverage%': 0, |
+ # Set to 1 to force Visual C++ to use legacy debug information format /Z7. |
+ # This is useful for parallel compilation tools which can't support /Zi. |
+ # Only used on Windows. |
+ 'win_z7%' : 0, |
+ |
# Although base/allocator lets you select a heap library via an |
# environment variable, the libcmt shim it uses sometimes gets in |
# the way. To disable it entirely, and switch to normal msvcrt, do e.g. |
@@ -1458,6 +1463,15 @@ |
'include_dirs': [ |
'<(DEPTH)/third_party/wtl/include', |
], |
+ 'conditions': [ |
+ ['win_z7!=0', { |
+ 'msvs_settings': { |
+ 'VCCLCompilerTool': { |
+ 'DebugInformationFormat': '1', |
+ } |
+ } |
+ }], |
+ ], # win_z7!=0 |
}], # OS==win |
['enable_task_manager==1', { |
'defines': [ |