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

Unified Diff: chrome/chrome_dll.gypi

Issue 187813008: Add PGO targets to Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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/internal/release_impl_official.gypi ('k') | no next file » | 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 13756e105d071a7e2c7d19b3a42a87dea3e1f791..63887c64631fe18f059d39e355af31676749336a 100644
--- a/chrome/chrome_dll.gypi
+++ b/chrome/chrome_dll.gypi
@@ -220,6 +220,20 @@
'chrome_dll_pdb_workaround',
],
}],
+ ['chrome_pgo_phase==1', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkTimeCodeGeneration': '2',
+ },
+ },
+ }],
+ ['chrome_pgo_phase==2', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkTimeCodeGeneration': '3',
+ },
+ },
+ }],
]
}],
['chrome_multiple_dll==1', {
@@ -368,6 +382,22 @@
'dependencies': [
'<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf',
],
+ 'conditions': [
+ ['chrome_pgo_phase==1', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkTimeCodeGeneration': '2',
+ },
+ },
+ }],
+ ['chrome_pgo_phase==2', {
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ 'LinkTimeCodeGeneration': '3',
+ },
+ },
+ }],
+ ]
}],
],
}, # target chrome_child_dll
« no previous file with comments | « build/internal/release_impl_official.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698