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

Side by Side Diff: chrome/chrome_dll.gypi

Issue 7792103: Install link wrapper in runhooks, and turn incremental on by default (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: more cases in link sim Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'target_defaults': { 5 'target_defaults': {
6 'variables': { 6 'variables': {
7 'chrome_dll_target': 0, 7 'chrome_dll_target': 0,
8 }, 8 },
9 'target_conditions': [ 9 'target_conditions': [
10 ['chrome_dll_target==1', { 10 ['chrome_dll_target==1', {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 # TODO(sgk): left-over from pre-gyp build, figure out 142 # TODO(sgk): left-over from pre-gyp build, figure out
143 # if we still need them and/or how to update to gyp. 143 # if we still need them and/or how to update to gyp.
144 #'app/check_dependents.bat', 144 #'app/check_dependents.bat',
145 #'app/chrome.dll.deps', 145 #'app/chrome.dll.deps',
146 ], 146 ],
147 'msvs_settings': { 147 'msvs_settings': {
148 'VCLinkerTool': { 148 'VCLinkerTool': {
149 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', 149 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib',
150 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb', 150 'ProgramDatabaseFile': '$(OutDir)\\chrome_dll.pdb',
151 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
152 'UseLibraryDependencyInputs': "true",
151 'conditions': [ 153 'conditions': [
152 ['optimize_with_syzygy==1', { 154 ['optimize_with_syzygy==1', {
153 # When syzygy is enabled we use build chrome_dll as an 155 # When syzygy is enabled we use build chrome_dll as an
154 # intermediate target then have a subsequent step which 156 # intermediate target then have a subsequent step which
155 # optimizes it to its final location 157 # optimizes it to its final location
156 'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb ', 158 'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb ',
157 'OutputFile': '$(OutDir)\\initial\\chrome.dll', 159 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
158 }], ['incremental_chrome_dll==1', { 160 }]
159 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
160 'UseLibraryDependencyInputs': "true",
161 }],
162 ], 161 ],
163 }, 162 },
164 }, 163 },
165 'conditions': [ 164 'conditions': [
166 ['incremental_chrome_dll==1 and optimize_with_syzygy==0', { 165 ['optimize_with_syzygy==0', {
167 # Linking to a different directory and then hardlinking back 166 # Linking to a different directory and then hardlinking back
168 # to OutDir is a workaround to avoid having the .ilk for 167 # to OutDir is a workaround to avoid having the .ilk for
169 # chrome.exe and chrome.dll conflicting. See crbug.com/92528 168 # chrome.exe and chrome.dll conflicting. See crbug.com/92528
170 # for more information. Done on the dll instead of the exe so 169 # for more information. Done on the dll instead of the exe so
171 # that people launching from VS don't need to modify 170 # that people launching from VS don't need to modify
172 # $(TargetPath) for the exe. 171 # $(TargetPath) for the exe.
173 'msvs_postbuild': 'tools\\build\\win\\hardlink_failsafe.bat $( OutDir)\\initial\\chrome.dll $(OutDir)\\chrome.dll' 172 'msvs_postbuild': 'tools\\build\\win\\hardlink_failsafe.bat $( OutDir)\\initial\\chrome.dll $(OutDir)\\chrome.dll'
174 }] 173 }]
175 ] 174 ]
176 }], # OS=="win" 175 }], # OS=="win"
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 'LinkIncremental': '<(msvs_debug_link_nonincremental)', 749 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
751 }, 750 },
752 }, 751 },
753 }, 752 },
754 }, 753 },
755 }, # target chrome_dll 754 }, # target chrome_dll
756 ], 755 ],
757 }], 756 }],
758 ], 757 ],
759 } 758 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698