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

Unified Diff: content/content.gyp

Issue 12295040: Stop delay loading user32.dll from chrome.dll on x86/Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build config sketch, mostly works for x86 and x64. Move the hook back to base." Created 7 years, 10 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: content/content.gyp
diff --git a/content/content.gyp b/content/content.gyp
index 762379da465561610b4d93f29b68811bbb9b1387..21865c2f0cfae8600e78ce2ec02f6c4704568693 100644
--- a/content/content.gyp
+++ b/content/content.gyp
@@ -30,7 +30,7 @@
},
},
}],
-
+
],
},
'conditions': [
@@ -40,6 +40,43 @@
],
}],
['OS != "ios"', {
+ 'targets': [
+ {
+ 'target_name': 'content_user32_delay_imports',
+ 'type': 'none',
+ 'sources': [
+ 'user32.delay.imports',
+ ],
+ 'actions': [
+ {
+ 'inputs': [
+ '<(DEPTH)/build/win/importlibs/create_importlib_win.py',
+ '<@(_sources)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/lib/content.user32.delay.imports.lib'
+ ],
+ 'action_name': 'build_content_user32_imports',
+ 'action': [
+ 'python',
+ '<(DEPTH)/build/win/importlibs/create_importlib_win.py',
+ '--verbose',
+ '--output-dir', '<(PRODUCT_DIR)/lib',
+ '<@(_sources)',
+ ],
+ },
+ ],
+ 'link_settings': {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'AdditionalDependencies': [
+ '<(PRODUCT_DIR)/lib/content.user32.delay.imports.lib'
+ ],
+ },
+ },
+ },
+ },
+ ],
'includes': [
'../build/win_precompile.gypi',
'content_shell.gypi',

Powered by Google App Engine
This is Rietveld 408576698