From 63f070c3b59ac66cc3fec6aed42af59a8f33a569 Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Mon, 28 Jul 2008 21:03:47 +0000 Subject: Fix some issues when building with Visual Studio 2008. Fixed projects that are set as "Application (.exe)" but that don't build an application. Converted then to "Utility". util_prebuild, V8Config and V8Bindings_prebuild. Fixed a template compilation error in message_loop.h Changed PROP_ENTRY to PROP_ENTRY_TYPE since the former is now deprecated. Everything still builds fine on VS2005. BUG=1290595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44 0039d316-1c4b-4281-b951-d872f2087c98 --- base/message_loop.h | 1 - .../installer/util/prebuild/util_prebuild.vcproj | 96 ++---------------- .../activex_test_control/chrome_test_control.h | 10 +- webkit/build/JSConfig/V8Config.vcproj | 92 ++--------------- webkit/build/V8Bindings/V8Bindings_prebuild.vcproj | 112 +++++---------------- 5 files changed, 48 insertions(+), 263 deletions(-) diff --git a/base/message_loop.h b/base/message_loop.h index 6bb7395..9fdbbc0 100644 --- a/base/message_loop.h +++ b/base/message_loop.h @@ -411,7 +411,6 @@ class MessageLoop { void Push(Task* task); Task* Pop(); // Extract the next Task from the queue, and return it. bool Empty() const { return !first_; } - friend void std::swap(TaskQueue&, TaskQueue&); private: Task* first_; Task* last_; diff --git a/chrome/installer/util/prebuild/util_prebuild.vcproj b/chrome/installer/util/prebuild/util_prebuild.vcproj index 1269dde..d3efe6d 100644 --- a/chrome/installer/util/prebuild/util_prebuild.vcproj +++ b/chrome/installer/util/prebuild/util_prebuild.vcproj @@ -16,7 +16,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -144,6 +60,14 @@ + + + + diff --git a/chrome/test/activex_test_control/chrome_test_control.h b/chrome/test/activex_test_control/chrome_test_control.h index e923307..f63897d 100644 --- a/chrome/test/activex_test_control/chrome_test_control.h +++ b/chrome/test/activex_test_control/chrome_test_control.h @@ -107,10 +107,12 @@ END_COM_MAP() BEGIN_PROP_MAP(ChromeTestControl) PROP_DATA_ENTRY("_cx", m_sizeExtent.cx, VT_UI4) PROP_DATA_ENTRY("_cy", m_sizeExtent.cy, VT_UI4) - PROP_ENTRY("BackColor", DISPID_BACKCOLOR, CLSID_StockColorPage) - PROP_ENTRY("BorderColor", DISPID_BORDERCOLOR, CLSID_StockColorPage) - PROP_ENTRY("Caption", DISPID_CAPTION, CLSID_NULL) - PROP_ENTRY("ForeColor", DISPID_FORECOLOR, CLSID_StockColorPage) + PROP_ENTRY_TYPE("BackColor", DISPID_BACKCOLOR, CLSID_StockColorPage, + VT_COLOR) + PROP_ENTRY_TYPE("BorderColor", DISPID_BORDERCOLOR, CLSID_StockColorPage, + VT_COLOR) + PROP_ENTRY_TYPE("Caption", DISPID_CAPTION, CLSID_NULL, VT_BSTR) + PROP_ENTRY_TYPE("ForeColor", DISPID_FORECOLOR, CLSID_StockColorPage, VT_COLOR) // Example entries // PROP_ENTRY("Property Description", dispid, clsid) // PROP_PAGE(CLSID_StockColorPage) diff --git a/webkit/build/JSConfig/V8Config.vcproj b/webkit/build/JSConfig/V8Config.vcproj index 4451f23..b0d3f9f 100644 --- a/webkit/build/JSConfig/V8Config.vcproj +++ b/webkit/build/JSConfig/V8Config.vcproj @@ -16,7 +16,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -144,6 +60,10 @@ + + diff --git a/webkit/build/V8Bindings/V8Bindings_prebuild.vcproj b/webkit/build/V8Bindings/V8Bindings_prebuild.vcproj index 2cdbf7b..598d4ae 100644 --- a/webkit/build/V8Bindings/V8Bindings_prebuild.vcproj +++ b/webkit/build/V8Bindings/V8Bindings_prebuild.vcproj @@ -16,7 +16,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -144,6 +60,30 @@ + + + + + + + + + + + + -- cgit v1.1