summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorsiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 17:51:09 +0000
committersiggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-28 17:51:09 +0000
commit5efb0a6ddc3eb63404730493e892b8b300e7d439 (patch)
tree007dbf9bbc55f45b590388b1fb85f27f29f13de9 /chrome/chrome.gyp
parent40d11e0a3b5e51d2bb4e7b4d0d5ceb8f5b82f9aa (diff)
downloadchromium_src-5efb0a6ddc3eb63404730493e892b8b300e7d439.zip
chromium_src-5efb0a6ddc3eb63404730493e892b8b300e7d439.tar.gz
chromium_src-5efb0a6ddc3eb63404730493e892b8b300e7d439.tar.bz2
Check in a custom-built import library for user32 exports up to Windows XP SP2/SP3, which is used by chrome.dll in preference to the Platform SDK's user32.lib import library.
Custom build an import library for Chrome's post-WinXP imports, that binds to a fictional "user32-delay.dll". Implement and test a delay load hook that diverts dynamic loading of any dll "foo-delay.dll" to "foo.dll". R=cpu@chromium.org BUG=176040 Review URL: https://chromiumcodereview.appspot.com/12295040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp21
1 files changed, 21 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index f181d4d..be44f74 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1040,6 +1040,27 @@
['OS=="win" and target_arch=="ia32"',
{ 'targets': [
{
+ 'target_name': 'chrome_user32_delay_imports',
+ 'type': 'none',
+ 'variables': {
+ 'lib_dir': '<(INTERMEDIATE_DIR)',
+ },
+ 'sources': [
+ 'chrome.user32.delay.imports'
+ ],
+ 'includes': [
+ '../build/win/importlibs/create_import_lib.gypi',
+ ],
+ 'direct_dependent_settings': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalLibraryDirectories': ['<(lib_dir)', ],
+ 'AdditionalDependencies': ['chrome.user32.delay.lib', ],
+ },
+ },
+ },
+ },
+ {
'target_name': 'crash_service_win64',
'type': 'executable',
'product_name': 'crash_service64',