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

Issue 7633024: Link chrome.exe to its IntDir and then hardlink to OutDir (Closed)

Created:
9 years, 4 months ago by scottmg
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Link chrome.exe to its IntDir and then hardlink to OutDir as a postbuild on msvs. This avoids a clash between the .ilk files for chrome.exe and chrome.dll which disables incremental linking for chrome_dll. BUG=92528 TEST=No new functionality, no link/run problems Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97074

Patch Set 1 #

Patch Set 2 : only use IntDir on 2008 to avoid breaking 2010 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -13 lines) Patch
M chrome/chrome_exe.gypi View 1 2 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
scottmg
OK, I just took Roger's patch from http://codereview.chromium.org/7634025/ and made it VS 2008-only for now ...
9 years, 4 months ago (2011-08-16 16:50:29 UTC) #1
M-A Ruel
I prefer to not use msvs_postbuild. Why not an action with the output defined instead?
9 years, 4 months ago (2011-08-16 16:55:11 UTC) #2
Roger McFarlane (Google)
Actions run before the build step. On 16 August 2011 12:55, <maruel@chromium.org> wrote: > I ...
9 years, 4 months ago (2011-08-16 17:09:55 UTC) #3
M-A Ruel
On 2011/08/16 17:09:55, Roger McFarlane (Google) wrote: > Actions run before the build step. You ...
9 years, 4 months ago (2011-08-16 17:12:38 UTC) #4
scottmg
On Tue, Aug 16, 2011 at 10:12 AM, <maruel@chromium.org> wrote: > On 2011/08/16 17:09:55, Roger ...
9 years, 4 months ago (2011-08-16 17:15:01 UTC) #5
scottmg
On Tue, Aug 16, 2011 at 10:14 AM, Scott Graham <scottmg@chromium.org> wrote: > On Tue, ...
9 years, 4 months ago (2011-08-16 20:36:21 UTC) #6
M-A Ruel
Sorry I just thought about it and process_outputs_as_sources is indeed processed before linking. In theory ...
9 years, 4 months ago (2011-08-16 20:41:33 UTC) #7
scottmg
On Tue, Aug 16, 2011 at 1:41 PM, Marc-Antoine Ruel <maruel@chromium.org> wrote: > Sorry I ...
9 years, 4 months ago (2011-08-16 20:43:42 UTC) #8
scottmg
On Tue, Aug 16, 2011 at 1:43 PM, Scott Graham <scottmg@chromium.org> wrote: > On Tue, ...
9 years, 4 months ago (2011-08-16 20:47:15 UTC) #9
scottmg
On Tue, Aug 16, 2011 at 1:47 PM, Scott Graham <scottmg@chromium.org> wrote: > On Tue, ...
9 years, 4 months ago (2011-08-16 20:55:01 UTC) #10
M-A Ruel
On 2011/08/16 20:55:01, scottmg wrote: > So, if you don't object, I think *will* go ...
9 years, 4 months ago (2011-08-16 20:59:58 UTC) #11
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 4 months ago (2011-08-16 21:03:44 UTC) #12
M-A Ruel
lgtm
9 years, 4 months ago (2011-08-16 21:10:43 UTC) #13
commit-bot: I haz the power
Change committed as 97074
9 years, 4 months ago (2011-08-17 01:01:00 UTC) #14
scottmg
9 years, 4 months ago (2011-08-17 15:15:13 UTC) #15
Hmm, this is bad for running in the debugger. Sigh, didn't think this
would be so difficult.

Without changing the Debugging > Command to $(OutDir)\chrome.exe, from
the default of $(TargetPath) chrome will just exit immediately after
launch because by default it can't find chrome.dll, because of course
it's running from the copy it built in $(IntDir).

I'm back to thinking it would be better to rename either the exe or
the dll now rather than doing this tricky stuff.





On Tue, Aug 16, 2011 at 6:01 PM,  <commit-bot@chromium.org> wrote:
> Change committed as 97074
>
> http://codereview.chromium.org/7633024/
>

Powered by Google App Engine
This is Rietveld 408576698