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

Side by Side Diff: trunk/src/chrome/chrome_dll.gypi

Issue 13208002: Revert 191173 "Check in a custom-built import library for user32..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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
« no previous file with comments | « trunk/src/chrome/chrome.user32.delay.imports ('k') | trunk/src/chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ['use_aura==1', { 81 ['use_aura==1', {
82 'dependencies': [ 82 'dependencies': [
83 '../ui/compositor/compositor.gyp:compositor', 83 '../ui/compositor/compositor.gyp:compositor',
84 ], 84 ],
85 }], 85 }],
86 ['use_ash==1', { 86 ['use_ash==1', {
87 'sources': [ 87 'sources': [
88 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso urces.rc', 88 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso urces.rc',
89 ], 89 ],
90 }], 90 }],
91 ['OS=="win" and target_arch=="ia32"', {
92 # Add a dependency to custom import library for user32 delay
93 # imports only in x86 builds.
94 'dependencies': [
95 'chrome_user32_delay_imports',
96 ],
97 },],
98 ['OS=="win"', { 91 ['OS=="win"', {
99 'product_name': 'chrome', 92 'product_name': 'chrome',
100 'dependencies': [ 93 'dependencies': [
101 # On Windows, link the dependencies (libraries) that make 94 # On Windows, link the dependencies (libraries) that make
102 # up actual Chromium functionality into this .dll. 95 # up actual Chromium functionality into this .dll.
103 'chrome_dll_pdb_workaround', 96 'chrome_dll_pdb_workaround',
104 'chrome_resources.gyp:chrome_resources', 97 'chrome_resources.gyp:chrome_resources',
105 'chrome_version_resources', 98 'chrome_version_resources',
106 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', 99 '../chrome/chrome_resources.gyp:chrome_unscaled_resources',
107 '../content/content.gyp:content_worker', 100 '../content/content.gyp:content_worker',
108 '../crypto/crypto.gyp:crypto', 101 '../crypto/crypto.gyp:crypto',
109 '../printing/printing.gyp:printing', 102 '../printing/printing.gyp:printing',
110 '../net/net.gyp:net_resources', 103 '../net/net.gyp:net_resources',
111 '../third_party/cld/cld.gyp:cld', 104 '../third_party/cld/cld.gyp:cld',
112 '../ui/views/views.gyp:views', 105 '../ui/views/views.gyp:views',
113 '../webkit/support/webkit_support.gyp:webkit_resources', 106 '../webkit/support/webkit_support.gyp:webkit_resources',
114 ], 107 ],
115 'sources': [ 108 'sources': [
116 'app/chrome_command_ids.h', 109 'app/chrome_command_ids.h',
117 'app/chrome_dll.rc', 110 'app/chrome_dll.rc',
118 'app/chrome_dll_resource.h', 111 'app/chrome_dll_resource.h',
119 'app/chrome_main.cc', 112 'app/chrome_main.cc',
120 'app/chrome_main_delegate.cc', 113 'app/chrome_main_delegate.cc',
121 'app/chrome_main_delegate.h', 114 'app/chrome_main_delegate.h',
122 'app/delay_load_hook_win.cc',
123 'app/delay_load_hook_win.h',
124 115
125 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', 116 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ',
126 '../base/win/dllmain.cc', 117 '../base/win/dllmain.cc',
127 118
128 '../ui/resources/cursors/aliasb.cur', 119 '../ui/resources/cursors/aliasb.cur',
129 '../ui/resources/cursors/cell.cur', 120 '../ui/resources/cursors/cell.cur',
130 '../ui/resources/cursors/col_resize.cur', 121 '../ui/resources/cursors/col_resize.cur',
131 '../ui/resources/cursors/copy.cur', 122 '../ui/resources/cursors/copy.cur',
132 '../ui/resources/cursors/none.cur', 123 '../ui/resources/cursors/none.cur',
133 '../ui/resources/cursors/row_resize.cur', 124 '../ui/resources/cursors/row_resize.cur',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'VCLinkerTool': { 162 'VCLinkerTool': {
172 'BaseAddress': '0x01c30000', 163 'BaseAddress': '0x01c30000',
173 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', 164 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib',
174 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). 165 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency).
175 'SubSystem': '2', 166 'SubSystem': '2',
176 'conditions': [ 167 'conditions': [
177 ['incremental_chrome_dll==1', { 168 ['incremental_chrome_dll==1', {
178 'OutputFile': '$(OutDir)\\initial\\chrome.dll', 169 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
179 'UseLibraryDependencyInputs': "true", 170 'UseLibraryDependencyInputs': "true",
180 }], 171 }],
181 ['target_arch=="ia32"', {
182 # Link against the XP-constrained user32 import library
183 # instead of the platform-SDK provided one to avoid
184 # inadvertently taking dependencies on post-XP user32
185 # exports.
186 'AdditionalDependencies!': [
187 'user32.lib',
188 ],
189 'IgnoreDefaultLibraryNames': [
190 'user32.lib',
191 ],
192 # Remove user32 delay load for chrome.dll.
193 'DelayLoadDLLs!': [
194 'user32.dll',
195 ],
196 'AdditionalDependencies': [
197 'user32.winxp.lib',
198 ],
199 'DelayLoadDLLs': [
200 'user32-delay.dll',
201 ],
202 'AdditionalLibraryDirectories': [
203 '<(DEPTH)/build/win/importlibs/x86',
204 ],
205 'ForceSymbolReferences': [
206 # Force the inclusion of the delay load hook in this
207 # binary.
208 'ChromeDelayLoadHook',
209 ],
210 }],
211 ], 172 ],
212 'DelayLoadDLLs': [ 173 'DelayLoadDLLs': [
213 'comdlg32.dll', 174 'comdlg32.dll',
214 'crypt32.dll', 175 'crypt32.dll',
215 'cryptui.dll', 176 'cryptui.dll',
216 'dhcpcsvc.dll', 177 'dhcpcsvc.dll',
217 'imagehlp.dll', 178 'imagehlp.dll',
218 'imm32.dll', 179 'imm32.dll',
219 'iphlpapi.dll', 180 'iphlpapi.dll',
220 'setupapi.dll', 181 'setupapi.dll',
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', 279 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb',
319 }, 280 },
320 }, 281 },
321 }], 282 }],
322 ], 283 ],
323 }, 284 },
324 ], 285 ],
325 }], 286 }],
326 ], 287 ],
327 } 288 }
OLDNEW
« no previous file with comments | « trunk/src/chrome/chrome.user32.delay.imports ('k') | trunk/src/chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698