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

Issue 1609933004: Skip include\ucrt on VS 2013 packages (Closed)

Created:
4 years, 11 months ago by brucedawson
Modified:
4 years, 10 months ago
Reviewers:
scottmg
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Skip include\ucrt on VS 2013 packages In change crrev.com/1504983002 the include\ucrt path from the Windows 10 SDK was added to the include search path, but this is not a legal thing to do on VS 2013. This change makes the ucrt path VS 2015 specific. Testing shows that this makes no difference to the VS 2015 package. BUG=440500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=298330

Patch Set 1 #

Patch Set 2 : Fix VS 2013 packaging #

Patch Set 3 : Remove pointless .replace() call #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M win_toolchain/package_from_installed.py View 1 2 1 chunk +8 lines, -6 lines 5 comments Download

Messages

Total messages: 16 (4 generated)
brucedawson
Arguably we shouldn't even be packaging the ucrt directories on VS 2013, but that's a ...
4 years, 11 months ago (2016-01-21 00:41:28 UTC) #3
scottmg
I assume it doesn't matter too much on 2013 since the directory won't exist anyway? ...
4 years, 11 months ago (2016-01-21 00:50:44 UTC) #4
scottmg
https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (right): https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_from_installed.py#newcode206 win_toolchain/package_from_installed.py:206: '%~dp0..\\..\\win_sdk\\Lib\\WINVERSION\\ucrt\\x86;' # VS 2015 This too? https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_from_installed.py#newcode217 win_toolchain/package_from_installed.py:217: '%~dp0..\\..\\win_sdk\\Lib\\WINVERSION\\ucrt\\x64;' ...
4 years, 11 months ago (2016-01-21 00:50:49 UTC) #5
brucedawson
On 2016/01/21 00:50:44, scottmg wrote: > I assume it doesn't matter too much on 2013 ...
4 years, 11 months ago (2016-01-21 00:53:03 UTC) #6
brucedawson
It would be interesting to try changing the include order to see if it works, ...
4 years, 11 months ago (2016-01-21 00:55:49 UTC) #7
scottmg
https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_from_installed.py File win_toolchain/package_from_installed.py (right): https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_from_installed.py#newcode206 win_toolchain/package_from_installed.py:206: '%~dp0..\\..\\win_sdk\\Lib\\WINVERSION\\ucrt\\x86;' # VS 2015 On 2016/01/21 00:55:49, brucedawson wrote: ...
4 years, 11 months ago (2016-01-21 00:59:39 UTC) #8
brucedawson
> OK. We should delete WINVERSION after we switch anyway and make this 2015-only, > ...
4 years, 11 months ago (2016-01-21 01:01:40 UTC) #9
scottmg
On 2016/01/21 01:01:40, brucedawson wrote: > > OK. We should delete WINVERSION after we switch ...
4 years, 11 months ago (2016-01-21 01:10:09 UTC) #10
brucedawson
On 2016/01/21 01:10:09, scottmg wrote: > On 2016/01/21 01:01:40, brucedawson wrote: > > > OK. ...
4 years, 11 months ago (2016-01-21 01:28:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1609933004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1609933004/40001
4 years, 11 months ago (2016-01-21 01:28:31 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=298330
4 years, 11 months ago (2016-01-21 01:30:26 UTC) #15
brucedawson
4 years, 10 months ago (2016-02-03 18:56:51 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_f...
File win_toolchain/package_from_installed.py (left):

https://codereview.chromium.org/1609933004/diff/40001/win_toolchain/package_f...
win_toolchain/package_from_installed.py:195: 'if "%1"=="/x64" goto
x64\n'.replace('WINVERSION', WIN_VERSION))
Ah crap. I accidentally deleted this whole line when I was only supposed to
delete the .replace(). This is causing breakage on the new VS 2015 package, but
I'm not sure why it didn't cause problems before. No packages created since
then?

Powered by Google App Engine
This is Rietveld 408576698