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

Unified Diff: build/common.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 | « no previous file | build/internal/release_impl_official.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index c79e8e76ee7ce79ea4b8f3becf125a1544c84c49..b62f02e58fdd52c0fd2b7921166f7ee39db965c5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1087,6 +1087,9 @@
# process type.
'chrome_multiple_dll%': '0',
+ # Experimental setting to optimize Chrome's DLLs with PGO.
+ 'chrome_pgo_phase%': '0',
+
# The default settings for third party code for treating
# warnings-as-errors. Ideally, this would not be required, however there
# is some third party code that takes a long time to fix/roll. So, this
@@ -4530,6 +4533,12 @@
'variables': {
'optimize%': 'size',
},
+ 'msvs_settings': {
+ 'VCLinkerTool': {
+ # Set /LTCG for the official builds.
+ 'LinkTimeCodeGeneration': '1',
+ },
+ },
'target_conditions': [
['optimize=="size"', {
'msvs_settings': {
« no previous file with comments | « no previous file | build/internal/release_impl_official.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698