DescriptionBUG=92528
Build chrome.exe into intermediate dir then hard-link it into the output dir.
This allows for incremental linking of both chrome.exe and chrome.dll; otherwise, their incremental link files collide as $(OutDir)/chrome.ilk
There are some drawback/caveats to this approach.
1. Post-build steps are not always run. For example, if you do a project-only, relink on the project it seems to relink, but not run the post-build step.
2. On filesystems that don't support linking, it falls back to a copy which is a bit wasteful, but it's only applied to the chrome.exe target, not the dll target, so it's only 4 MB (as opposed to ~165MB) in Debug mode.
Another approach to doing this in the gyp files would be to introduce an intermediate step for chrome.exe and turn the current chrome target into a copy step (which should get rid of any flakiness in post-build approach).
Patch Set 1 #Patch Set 2 : add an explanatory comment #Patch Set 3 : respect 80-column limit #Patch Set 4 : The /j param isn't supported on XP #
Total comments: 2
Patch Set 5 : switch to hardlink_failsafe.bat #Messages
Total messages: 10 (0 generated)
|