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

Issue 2365893002: Automatically copy the DIA DLL in the Syzygy binaries directory. (Closed)

Created:
4 years, 2 months ago by Sébastien Marchand
Modified:
4 years, 2 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Automatically copy the DIA DLL in the Syzygy binaries directory. Committed: https://crrev.com/f34c072397b99c313e79cd10a77f5ca397154399 Committed: https://crrev.com/af7cc2f1de47235b720dafa5536f16666fd282df Cr-Original-Commit-Position: refs/heads/master@{#422655} Cr-Commit-Position: refs/heads/master@{#422861}

Patch Set 1 #

Patch Set 2 : Add a flag. #

Patch Set 3 : Add a toolchain version check #

Patch Set 4 : Use the DIA version number instead of the toolchain version. #

Total comments: 3

Patch Set 5 : Reduce the code complexity #

Total comments: 2

Patch Set 6 : Remove useless return #

Patch Set 7 : Fix #

Total comments: 2

Patch Set 8 : Remove the 'Maybe' #

Patch Set 9 : Remove useless import #

Patch Set 10 : Remove useless part of comment. #

Patch Set 11 : . #

Patch Set 12 : Don't fail hard if DIA is missing. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -0 lines) Patch
M DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M build/get_syzygy_binaries.py View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +36 lines, -0 lines 2 comments Download

Messages

Total messages: 69 (35 generated)
Sébastien Marchand
PTAL.
4 years, 2 months ago (2016-09-23 14:48:31 UTC) #2
Sébastien Marchand
+siggi@
4 years, 2 months ago (2016-09-23 18:10:31 UTC) #11
chrisha
You could make this accept a toolchain version on the command-line, and have it fail ...
4 years, 2 months ago (2016-09-26 17:44:24 UTC) #12
Sébastien Marchand
I'm not sure about this... The toolchains in depot_tools get deleted after 30 days if ...
4 years, 2 months ago (2016-09-26 17:47:48 UTC) #13
Sébastien Marchand
PTAnL
4 years, 2 months ago (2016-09-29 15:04:19 UTC) #16
chrisha
Actually, I guess we should simply hardcode the msdiaXXX name we expect? This is implicitly ...
4 years, 2 months ago (2016-09-29 15:06:38 UTC) #17
Sébastien Marchand
Done, PTAnL.
4 years, 2 months ago (2016-09-29 15:18:33 UTC) #20
chrisha
https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py#newcode307 build/get_syzygy_binaries.py:307: if binary != 'msdia140.dll': Lift this to a definition ...
4 years, 2 months ago (2016-09-29 15:26:59 UTC) #21
Sébastien Marchand
Yeah, I just kept this so get a clean error message (e.g. instead of telling ...
4 years, 2 months ago (2016-09-29 15:29:57 UTC) #22
chrisha
I'm not sure there's much value in knowing which version is there, but I don't ...
4 years, 2 months ago (2016-09-30 03:00:42 UTC) #25
Sébastien Marchand
Yeah, I'm not sure if it's super helpful but it doesn't hurt and provide some ...
4 years, 2 months ago (2016-09-30 14:09:15 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2365893002/60001
4 years, 2 months ago (2016-09-30 14:09:30 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/270605)
4 years, 2 months ago (2016-09-30 14:17:54 UTC) #30
Sébastien Marchand
+scottmg for owner approval.
4 years, 2 months ago (2016-10-03 19:54:49 UTC) #32
scottmg
https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py#newcode305 build/get_syzygy_binaries.py:305: for binary in os.listdir(dia_sdk_binaries_dir): If you're only copying msdia140.dll, ...
4 years, 2 months ago (2016-10-03 20:20:56 UTC) #33
Sébastien Marchand
https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py#newcode305 build/get_syzygy_binaries.py:305: for binary in os.listdir(dia_sdk_binaries_dir): On 2016/10/03 20:20:55, scottmg wrote: ...
4 years, 2 months ago (2016-10-03 20:23:42 UTC) #34
scottmg
On 2016/10/03 20:23:42, Sébastien Marchand wrote: > https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py > File build/get_syzygy_binaries.py (right): > > https://codereview.chromium.org/2365893002/diff/60001/build/get_syzygy_binaries.py#newcode305 ...
4 years, 2 months ago (2016-10-03 20:26:17 UTC) #35
scottmg
On 2016/10/03 20:26:17, scottmg wrote: > On 2016/10/03 20:23:42, Sébastien Marchand wrote: > > > ...
4 years, 2 months ago (2016-10-03 20:27:10 UTC) #36
Sébastien Marchand
Bah, I've removed this extra complexity, saying that the DLL is missing is probably enough ...
4 years, 2 months ago (2016-10-03 20:36:16 UTC) #39
scottmg
lgtm https://codereview.chromium.org/2365893002/diff/80001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/80001/build/get_syzygy_binaries.py#newcode312 build/get_syzygy_binaries.py:312: dia_dll_dest = os.path.join(options.output_dir, 'exe', binary) binary -> _DIA_DLL_NAME ...
4 years, 2 months ago (2016-10-03 20:49:28 UTC) #40
scottmg
https://codereview.chromium.org/2365893002/diff/120001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/120001/build/get_syzygy_binaries.py#newcode290 build/get_syzygy_binaries.py:290: def _MaybeCopyDIABinaries(options, contents): I guess it shouldn't be called ...
4 years, 2 months ago (2016-10-03 21:47:04 UTC) #45
Sébastien Marchand
https://codereview.chromium.org/2365893002/diff/120001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/120001/build/get_syzygy_binaries.py#newcode290 build/get_syzygy_binaries.py:290: def _MaybeCopyDIABinaries(options, contents): On 2016/10/03 21:47:03, scottmg wrote: > ...
4 years, 2 months ago (2016-10-03 21:57:08 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2365893002/240001
4 years, 2 months ago (2016-10-03 23:40:54 UTC) #52
commit-bot: I haz the power
Committed patchset #11 (id:240001)
4 years, 2 months ago (2016-10-04 01:25:23 UTC) #53
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/f34c072397b99c313e79cd10a77f5ca397154399 Cr-Commit-Position: refs/heads/master@{#422655}
4 years, 2 months ago (2016-10-04 01:28:14 UTC) #55
claudiomdsjr
On 2016/10/04 01:28:14, commit-bot: I haz the power wrote: > Patchset 11 (id:??) landed as ...
4 years, 2 months ago (2016-10-04 12:16:52 UTC) #56
Sébastien Marchand
A revert of this CL (patchset #11 id:240001) has been created in https://codereview.chromium.org/2390993002/ by sebmarchand@chromium.org. ...
4 years, 2 months ago (2016-10-04 12:42:06 UTC) #57
Sébastien Marchand
I've made some changes to not fail hard. The non-Google contributors don't have the automated ...
4 years, 2 months ago (2016-10-04 14:58:32 UTC) #59
chrisha
lgtm with a nit https://codereview.chromium.org/2365893002/diff/260001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/260001/build/get_syzygy_binaries.py#newcode405 build/get_syzygy_binaries.py:405: 'binaries directory if it\'s available.') ...
4 years, 2 months ago (2016-10-04 15:14:36 UTC) #60
Sébastien Marchand
https://codereview.chromium.org/2365893002/diff/260001/build/get_syzygy_binaries.py File build/get_syzygy_binaries.py (right): https://codereview.chromium.org/2365893002/diff/260001/build/get_syzygy_binaries.py#newcode405 build/get_syzygy_binaries.py:405: 'binaries directory if it\'s available.') On 2016/10/04 15:14:36, chrisha ...
4 years, 2 months ago (2016-10-04 15:18:50 UTC) #61
chrisha
Ah, missed that. lgtm!
4 years, 2 months ago (2016-10-04 17:15:54 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2365893002/260001
4 years, 2 months ago (2016-10-04 17:17:17 UTC) #65
commit-bot: I haz the power
Committed patchset #12 (id:260001)
4 years, 2 months ago (2016-10-04 18:23:02 UTC) #67
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 18:25:28 UTC) #69
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/af7cc2f1de47235b720dafa5536f16666fd282df
Cr-Commit-Position: refs/heads/master@{#422861}

Powered by Google App Engine
This is Rietveld 408576698