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

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: Simpler approach (but require to build 2 times the same target). 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') | build/internal/release_impl_official.gypi » ('J')
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 353d2762ce5ed0d36f1816860cb0240b3b2542d3..720cb0d19af57c6cc6d58cecc0ae6d66dc56b32d 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
@@ -4537,6 +4540,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') | build/internal/release_impl_official.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698