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

Side by Side Diff: chrome/chrome_dll.gypi

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: Reduce scope to chrome.dll/x86. Address review comments. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'conditions': [ 5 'conditions': [
6 ['OS=="mac" or OS=="win"', { 6 ['OS=="mac" or OS=="win"', {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'chrome_dll', 9 'target_name': 'chrome_dll',
10 'type': 'none', 10 'type': 'none',
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 '../ui/views/views.gyp:views', 105 '../ui/views/views.gyp:views',
106 '../webkit/support/webkit_support.gyp:webkit_resources', 106 '../webkit/support/webkit_support.gyp:webkit_resources',
107 ], 107 ],
108 'sources': [ 108 'sources': [
109 'app/chrome_command_ids.h', 109 'app/chrome_command_ids.h',
110 'app/chrome_dll.rc', 110 'app/chrome_dll.rc',
111 'app/chrome_dll_resource.h', 111 'app/chrome_dll_resource.h',
112 'app/chrome_main.cc', 112 'app/chrome_main.cc',
113 'app/chrome_main_delegate.cc', 113 'app/chrome_main_delegate.cc',
114 'app/chrome_main_delegate.h', 114 'app/chrome_main_delegate.h',
115 'app/delay_load_hook_win.cc',
116 'app/delay_load_hook_win.h',
115 117
116 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', 118 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ',
117 '../base/win/dllmain.cc', 119 '../base/win/dllmain.cc',
118 120
119 '../webkit/glue/resources/aliasb.cur', 121 '../webkit/glue/resources/aliasb.cur',
120 '../webkit/glue/resources/cell.cur', 122 '../webkit/glue/resources/cell.cur',
121 '../webkit/glue/resources/col_resize.cur', 123 '../webkit/glue/resources/col_resize.cur',
122 '../webkit/glue/resources/copy.cur', 124 '../webkit/glue/resources/copy.cur',
123 '../webkit/glue/resources/none.cur', 125 '../webkit/glue/resources/none.cur',
124 '../webkit/glue/resources/row_resize.cur', 126 '../webkit/glue/resources/row_resize.cur',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 'VCLinkerTool': { 164 'VCLinkerTool': {
163 'BaseAddress': '0x01c30000', 165 'BaseAddress': '0x01c30000',
164 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', 166 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib',
165 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). 167 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency).
166 'SubSystem': '2', 168 'SubSystem': '2',
167 'conditions': [ 169 'conditions': [
168 ['incremental_chrome_dll==1', { 170 ['incremental_chrome_dll==1', {
169 'OutputFile': '$(OutDir)\\initial\\chrome.dll', 171 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
170 'UseLibraryDependencyInputs': "true", 172 'UseLibraryDependencyInputs': "true",
171 }], 173 }],
174 ['target_arch=="ia32"', {
175 # Link against the XP-constrained user32 import library
176 # instead of the platform-SDK provided one to avoid
177 # inadvertently taking dependencies on post-XP user32
178 # exports.
179 'AdditionalDependencies!': [
180 'user32.lib',
181 ],
182 'IgnoreDefaultLibraryNames': [
183 'user32.lib',
184 ],
185 # Remove user32 delay load for chrome.dll.
186 'DelayLoadDLLs!': [
187 'user32.dll',
188 ],
189 'AdditionalDependencies': [
190 'user32.winxp.lib',
191 ],
192 'DelayLoadDLLs': [
193 'user32-delay.dll',
194 ],
195 'AdditionalLibraryDirectories': [
196 '<(DEPTH)/build/win/importlibs/x86',
197 ],
198 'ForceSymbolReferences': [
199 # Force the inclusion of the delay load hook in this
200 # binary.
201 'ChromeDelayLoadHook',
202 ],
203 }],
172 ], 204 ],
173 'DelayLoadDLLs': [ 205 'DelayLoadDLLs': [
174 'comdlg32.dll', 206 'comdlg32.dll',
175 'crypt32.dll', 207 'crypt32.dll',
176 'cryptui.dll', 208 'cryptui.dll',
177 'dhcpcsvc.dll', 209 'dhcpcsvc.dll',
178 'imagehlp.dll', 210 'imagehlp.dll',
179 'imm32.dll', 211 'imm32.dll',
180 'iphlpapi.dll', 212 'iphlpapi.dll',
181 'setupapi.dll', 213 'setupapi.dll',
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', 311 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
280 }, 312 },
281 }, 313 },
282 }], 314 }],
283 ], 315 ],
284 }, 316 },
285 ], 317 ],
286 }], 318 }],
287 ], 319 ],
288 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698