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

Issue 1959413002: Allow building with VS 2015 Update 3 pre-release (Closed)

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

Description

Allow building with VS 2015 Update 3 pre-release Add toolchain hash for Update 3 pre-release and fix declarations of delay-load hooks for VS 2015 Update 3. The new toolchain is not used unless you go "set DEPOT_TOOLS_WIN_TOOLCHAIN_PRERELEASE=1", run "gclient runhooks", and then regenerate ninja files (if using gn). Therefore this change is a NOP for the build machines and the code we ship. VS 2015 Update 3 changes the delay hook function pointers to be const because this is important for security. This matches that change. The new compiler is discussed here: https://blogs.msdn.microsoft.com/vcblog/2016/05/04/new-code-optimizer/ The version packaged up for this change was installed May 16th. BUG=440500 Committed: https://crrev.com/a80d80c3e4c086a791b93a07ee089413fa60630d Cr-Commit-Position: refs/heads/master@{#394031}

Patch Set 1 #

Patch Set 2 : Add const hook fix #

Patch Set 3 : Remove #if statements #

Total comments: 1

Patch Set 4 : Update toolchain, make it depend on env, and add #if #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M build/vs_toolchain.py View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/app/delay_load_hook_win.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
scottmg
It'd be great if you could land this now (does the code need an #if ...
4 years, 7 months ago (2016-05-12 18:34:38 UTC) #4
scottmg
On 2016/05/12 18:34:38, scottmg wrote: > It'd be great if you could land this now ...
4 years, 7 months ago (2016-05-12 18:35:18 UTC) #5
brucedawson
The code would need an #if _MSC_FULL_VER (_MSC_VER only changes on major releases) which would ...
4 years, 7 months ago (2016-05-12 20:29:40 UTC) #6
brucedawson
This is now updated to a form that allows it to be committed - the ...
4 years, 7 months ago (2016-05-16 23:22:34 UTC) #7
scottmg
lgtm
4 years, 7 months ago (2016-05-16 23:35:23 UTC) #9
scottmg
And set DEPOT_TOOLS_WIN_TOOLCHAIN_PRERELEASE=1!
4 years, 7 months ago (2016-05-16 23:35:53 UTC) #10
brucedawson
grt@ can you look at the delay_load_hook_win.cc change?
4 years, 7 months ago (2016-05-16 23:44:27 UTC) #12
grt (UTC plus 2)
rubberstamp lgtm
4 years, 7 months ago (2016-05-17 00:59:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1959413002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1959413002/60001
4 years, 7 months ago (2016-05-17 02:38:23 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-17 02:44:14 UTC) #17
commit-bot: I haz the power
4 years, 7 months ago (2016-05-17 02:45:42 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a80d80c3e4c086a791b93a07ee089413fa60630d
Cr-Commit-Position: refs/heads/master@{#394031}

Powered by Google App Engine
This is Rietveld 408576698