1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 # 5 # This file is used to create a custom import library for Chrome.dll's use of 6 # user32.dll APIs added post-Windows XP to obviate the need for delay loading 7 # all of user32.dll. 8 { 9 'architecture': 'x86', 10 11 # The DLL to bind to - we delay load these imports. 12 'dll_name': 'user32-delay.dll', 13 14 # Name of the generated import library. 15 'importlib_name': 'chrome.user32.delay.lib', 16 17 # Chrome.dll uses these post-Windows XP (SP2) exports, and so they must be 18 # delay loaded for Chrome.dll to load on Windows XP computers. 19 'imports': [ 20 'CloseGestureInfoHandle@4', 21 'CloseTouchInputHandle@4', 22 'GetGestureInfo@8', 23 'GetTouchInputInfo@16', 24 'IsTouchWindow@8', 25 'RegisterTouchWindow@8', 26 'RegisterPowerSettingNotification@12', 27 'UnregisterTouchWindow@4', 28 'UnregisterPowerSettingNotification@4', 29 ], 30 } 31