Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: build/common.gypi

Issue 47363002: Make intsafe.h workaround global (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/ash.gyp ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 17dac2a082832eabf8f4dfa63e488da34132dc76..790ad3ae96102fb1f98df074775c62d438f9d5f4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -4434,6 +4434,20 @@
'<(windows_driver_kit_path)/inc/mfc42',
],
}],
+ # Workaround for intsafe in 2010 Express + WDK. ATL code uses
+ # intsafe.h and both intsafe.h and stdint.h define INT8_MIN et al.
+ # We can't use this workaround in third_party code because it has
+ # various levels of intolerance for including stdint.h.
+ ['msvs_express and chromium_code', {
+ 'msvs_system_include_dirs': [
+ '<(DEPTH)/build',
+ ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'ForcedIncludeFiles': [ 'intsafe_workaround.h', ],
+ },
+ },
+ }],
],
'msvs_system_include_dirs': [
'<(windows_sdk_path)/Include/shared',
« no previous file with comments | « ash/ash.gyp ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698