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

Issue 2008643002: Make chrome.exe/dll GN imports match GYP, remove user32 delay imports. (Closed)

Created:
4 years, 7 months ago by brettw
Modified:
4 years, 7 months ago
Reviewers:
brucedawson
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove user32 delay imports for XP, more GN imports match GYP. This delay loads additional libraries so the set of delay-loaded and non-delay-loaded libraries is the same between GYP and GN for 32-bit Windows official builds of chrome.exe and chrome.dll. I checked the imported libraries but not the individual functions. Remove user32 delay imports. This was a hack for Windows XP. I checked all the functions in the list of imports and they are all available on Windows 7. There was a lot of machinery required for this that was removed. BUG=512861 Reland of https://crrev.com/080e7e885be49295f8373eb0fa54e6772206bc64 with fix. Committed: https://crrev.com/cc84b6cdb2ba06927c498632c86cb0c81e50e9ec Cr-Commit-Position: refs/heads/master@{#395432}

Patch Set 1 : Original patch #

Patch Set 2 : Remove more delay load stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1322 lines) Patch
D build/win/importlibs/create_import_lib.gypi View 1 1 chunk +0 lines, -53 lines 0 comments Download
D build/win/importlibs/create_importlib_win.py View 1 1 chunk +0 lines, -217 lines 0 comments Download
D build/win/importlibs/filter_export_list.py View 1 1 chunk +0 lines, -85 lines 0 comments Download
D build/win/importlibs/x86/user32.winxp.imports View 1 1 chunk +0 lines, -670 lines 0 comments Download
D build/win/importlibs/x86/user32.winxp.lib View 1 Binary file 0 comments Download
M chrome/BUILD.gn View 1 3 chunks +25 lines, -6 lines 0 comments Download
D chrome/app/delay_load_hook_unittest_win.cc View 1 1 chunk +0 lines, -84 lines 0 comments Download
D chrome/app/delay_load_hook_win.h View 1 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/app/delay_load_hook_win.cc View 1 1 chunk +0 lines, -91 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/chrome.user32.delay.imports View 1 chunk +0 lines, -30 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 3 chunks +0 lines, -37 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
brettw
The previous landing removed our delay load hook, but kept the stuff that prevented us ...
4 years, 7 months ago (2016-05-23 19:41:32 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008643002/20001
4 years, 7 months ago (2016-05-23 19:41:59 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-23 20:43:13 UTC) #7
brucedawson
That does get rid of a lot more stuff. lgtm.
4 years, 7 months ago (2016-05-23 21:15:03 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2008643002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2008643002/20001
4 years, 7 months ago (2016-05-23 22:08:09 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-23 22:13:27 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/cc84b6cdb2ba06927c498632c86cb0c81e50e9ec Cr-Commit-Position: refs/heads/master@{#395432}
4 years, 7 months ago (2016-05-23 22:15:11 UTC) #14
scottmg
4 years, 7 months ago (2016-05-24 16:50:28 UTC) #15
Message was sent while issue was closed.
Nice!

Powered by Google App Engine
This is Rietveld 408576698