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

Unified Diff: chrome/chrome_dll.gypi

Issue 7670031: restore OutputFile for chrome.exe, do moving hardlink on dll instead (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_exe.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_dll.gypi
diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi
index 18d8fa0968e0de0d950f1f4ff9bbaf8b6005bbcf..04a39fbcc4c0427dd08b7ab283b47e319ec00d01 100644
--- a/chrome/chrome_dll.gypi
+++ b/chrome/chrome_dll.gypi
@@ -154,12 +154,24 @@
# optimizes it to its final location
'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb',
'OutputFile': '$(OutDir)\\initial\\chrome.dll',
+ }], ['incremental_chrome_dll==1', {
Roger McFarlane (Chromium) 2011/08/17 19:12:35 If I understand what you intend, the flow of these
+ 'OutputFile': '$(OutDir)\\incremental\\chrome.dll',
+ 'UseLibraryDependencyInputs': "true",
}, {
'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb',
}],
],
},
},
+ 'conditions': [['incremental_chrome_dll==1', {
Roger McFarlane (Chromium) 2011/08/17 19:12:35 Perhaps 'incremental_chrome_dll==1 && optimize_wit
+ # Linking to a different directory and then hardlinking back to
+ # OutDiris a workaround to avoid having the .ilk for chrome.exe
Roger McFarlane (Chromium) 2011/08/17 19:12:35 OutDiris -> Outdir is
+ # and chrome.dll conflicting. See crbug.com/92528 for more
+ # information. Done on the dll instead of the exe so that
+ # people launching from VS don't need to modify $(TargetPath)
+ # for the exe.
+ 'msvs_postbuild': 'tools\\build\\win\\hardlink_failsafe.bat $(OutDir)\\incremental\\chrome.dll $(OutDir)\\chrome.dll'
+ }]]
}], # OS=="win"
['OS=="mac"', {
# The main browser executable's name is <(mac_product_name).
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_exe.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698