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

Unified Diff: chrome/chrome.user32.delay.imports

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: Make sure both MSVS and ninja builds link correctly. Created 7 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
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome.user32.delay.imports
diff --git a/chrome/chrome.user32.delay.imports b/chrome/chrome.user32.delay.imports
new file mode 100644
index 0000000000000000000000000000000000000000..baa12316c218c0a487d207f5f705812428f4fd61
--- /dev/null
+++ b/chrome/chrome.user32.delay.imports
@@ -0,0 +1,29 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+#
+# This file is used to create a custom import library for Chrome.dll's use of
+# user32.dll APIs added post-Windows XP to obviate the need for delay loading
+# all of user32.dll.
+{
+ 'architecture': 'x86',
+
+ # The DLL to bind to - we delay load these imports.
+ 'dll_name': 'user32-delay.dll',
+
+ # Name of the generated import library.
+ 'importlib_name': 'chrome.user32.delay.lib',
+
+ # Chrome.dll uses these post-Windows XP (SP2) exports, and so they must be
+ # delay loaded for Chrome.dll to load on Windows XP computers.
+ 'imports': [
+ 'CloseGestureInfoHandle@4',
+ 'CloseTouchInputHandle@4',
+ 'GetGestureInfo@8',
+ 'GetTouchInputInfo@16',
+ 'IsTouchWindow@8',
+ 'RegisterTouchWindow@8',
+ 'SetGestureConfig@20',
+ 'UnregisterTouchWindow@4',
+ ],
+}
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698