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

Issue 25890006: Copy asan_rtl.* and agent_logger.exe to the syzygy directory for the ASan builds. (Closed)

Created:
7 years, 2 months ago by Sébastien Marchand
Modified:
7 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Copy asan_rtl.* and agent_logger.exe to the syzygy directory for the ASan builds. This is my second attempt to do this, the first time https://codereview.chromium.org/23460023/ has been reverted (https://codereview.chromium.org/23858006) because the new target 'copy_syzyasan_binaries' was not build, so the SyzyASan binaries were missing from the syzygy dir... Currently the syzygy_optimize script was taking care of copying asan_rtl.[dll|pdb] to the syzygy directory, this was causing 2 warnings when building a SyzyASan splitted build with ninja: - ninja: warning: multiple rules generate syzygy\asan_rtl.dll. builds involving this target will not be correct; continuing anyway - ninja: warning: multiple rules generate syzygy\asan_rtl.dll.pdb. builds involving this target will not be correct; continuing anyway The multiple rules come from the fact that both syzygy\chrome.dll and syzygy\chrome_child.dll were trying to generate those artifacts. I've also added agent_logger.exe to the syzygy directory, with this it'll be easier for the person grabing a SyzyASan build from the LKGR builder to use it. I've also removed all the "--agent-dll" logic from syzygy_instrument.py as it was only copying the asan binaries to the syzygy directory, it's now done directly in the 'copy_syzyasan_binaries' gyp target. R=chrisha@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229085

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address Roger's comments. #

Patch Set 3 : Add a dependency to copy_syzyasan_binaries in all.gyp #

Patch Set 4 : Move the dependency to copy_syzyasan_binaries outside of the 'action' section. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -44 lines) Patch
M build/all.gyp View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M chrome/chrome_syzygy.gyp View 1 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/chrome_syzygy.gypi View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/tools/build/win/syzygy_instrument.py View 5 chunks +0 lines, -36 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Sébastien Marchand
PTAL.
7 years, 2 months ago (2013-10-04 14:22:55 UTC) #1
chrisha
What's the difference between this CL and the last one? They both appear to use ...
7 years, 2 months ago (2013-10-04 15:39:30 UTC) #2
Sébastien Marchand
Yeah, it's almost the same code (the approach is the same). Roger, could you take ...
7 years, 2 months ago (2013-10-04 19:04:26 UTC) #3
Roger McFarlane (Chromium)
This looks like it should work to me. You've tried it with a local buildbot? ...
7 years, 2 months ago (2013-10-04 20:57:30 UTC) #4
Sébastien Marchand
I've tried this locally, it works fine with ninja, but not with MSVC, here's the ...
7 years, 2 months ago (2013-10-07 18:57:49 UTC) #5
Sébastien Marchand
PTAL, this is the best way I've found to make sure that the copy_syzyasan_binaries target ...
7 years, 2 months ago (2013-10-09 15:45:42 UTC) #6
Roger McFarlane (Chromium)
lgtm
7 years, 2 months ago (2013-10-09 15:47:21 UTC) #7
chrisha
Are we sure that's the best way? Have we tried moving the dependency down the ...
7 years, 2 months ago (2013-10-09 15:48:26 UTC) #8
Sébastien Marchand
So it look like the problem that gyp doesn't like to have a dependency in ...
7 years, 2 months ago (2013-10-15 20:57:20 UTC) #9
Sébastien Marchand
ping ?
7 years, 2 months ago (2013-10-16 16:11:19 UTC) #10
chrisha
lgtm
7 years, 2 months ago (2013-10-16 16:24:05 UTC) #11
Sébastien Marchand
Thanks, committing.
7 years, 2 months ago (2013-10-16 19:23:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/25890006/22001
7 years, 2 months ago (2013-10-16 19:26:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/25890006/22001
7 years, 2 months ago (2013-10-16 20:39:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/25890006/22001
7 years, 2 months ago (2013-10-16 21:22:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sebmarchand@chromium.org/25890006/22001
7 years, 2 months ago (2013-10-17 01:31:30 UTC) #16
commit-bot: I haz the power
7 years, 2 months ago (2013-10-17 08:59:37 UTC) #17
Message was sent while issue was closed.
Change committed as 229085

Powered by Google App Engine
This is Rietveld 408576698