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': { |