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

Unified Diff: build/common.gypi

Issue 6676030: WinDDK ATL and MSVC express compatability (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: build/common.gypi
===================================================================
--- build/common.gypi (revision 78148)
+++ build/common.gypi (working copy)
@@ -1446,7 +1446,6 @@
'_CRT_RAND_S',
'CERT_CHAIN_PARA_HAS_EXTRA_FIELDS',
'WIN32_LEAN_AND_MEAN',
- '_SECURE_ATL',
'_ATL_NO_OPENGL',
'_HAS_TR1=0',
],
@@ -1477,10 +1476,15 @@
[ 'msvs_multi_core_compile', {
'AdditionalOptions': ['/MP'],
}],
+ [ 'MSVS_VERSION=="2010e" or MSVS_VERSION=="2008e" or MSVS_VERSION=="2005e"', {
+ 'AdditionalOptions': ['/DCOMPILER_MSVCEXPRESS'],
Mark Mentovai 2011/03/16 16:25:20 All of the other COMPILER_* macros are set in buil
RN 2011/03/17 06:33:25 I do not think there is a way to get a macro for e
+ },{
Mark Mentovai 2011/03/16 16:25:20 Most of the “else” blocks in this file put a space
RN 2011/03/17 06:33:25 I thought I was changing to the norm of the rest o
+ 'AdditionalOptions': ['/D_SECURE_ATL'], #WinDDKATL + _SECURE_ATL = error
Mark Mentovai 2011/03/16 16:25:20 The general style would be two spaces before the #
RN 2011/03/17 06:33:25 Right, that was a bit terse. I changed that area a
+ }],
['component=="shared_library"', {
'ExceptionHandling': '1', # /EHsc
- }, {
- 'ExceptionHandling': '0',
+ },{
+ 'ExceptionHandling': '0',
Mark Mentovai 2011/03/16 16:25:20 Adding unnecessary whitespace here?
RN 2011/03/17 06:33:25 Ug. It seems something keeps adding extra whitespa
}],
],
},
@@ -1502,6 +1506,13 @@
'psapi.lib',
'dbghelp.lib',
],
+ 'conditions': [ #Required by WinDDK ATL and explicitly in express
+ ['MSVS_VERSION=="2010e" or MSVS_VERSION=="2008e" or MSVS_VERSION=="2005e"', {
Mark Mentovai 2011/03/16 16:25:20 Perhaps it would make sense to have some sort of “
RN 2011/03/17 06:33:25 Done.
+ 'AdditionalDependencies': [
+ 'atlthunk.lib',
+ ],
+ }],
+ ],
'AdditionalLibraryDirectories': [
'<(DEPTH)/third_party/platformsdk_win7/files/Lib',
'<(DEPTH)/third_party/directxsdk/files/Lib/x86',
« no previous file with comments | « no previous file | chrome/app/cf_resources.rc » ('j') | chrome/browser/ui/views/autocomplete/autocomplete_result_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698