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

Unified Diff: chrome/chrome.gyp

Issue 187813008: Add PGO targets to Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: It almost works ! 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
Index: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 426549065a3fddd70a7e66216bde9ed2c263c517..cbc0bad7b2dc55a21c328cd32709e7562b6b87da 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -100,9 +100,26 @@
],
'conditions': [
['OS!="ios"', {
+ 'conditions': [
+ ['chrome_pgo!=1', {
+ 'variables': {
+ 'chrome_dll_target_name': 'chrome_dll',
+ 'chrome_main_dll_target_name': 'chrome_main_dll',
+ 'chrome_main_dll_product_name': 'chrome',
+ 'chrome_child_dll_target_name': 'chrome_child_dll',
+ 'chrome_child_dll_product_name': 'chrome_child',
+ },
+ 'includes': [
+ 'chrome_dll.gypi',
+ ],
+ }, {
+ 'includes': [
+ 'chrome_pgo.gypi',
+ ],
+ }],
+ ],
'includes': [
'chrome_browser_extensions.gypi',
- 'chrome_dll.gypi',
'chrome_exe.gypi',
'chrome_installer.gypi',
'chrome_renderer.gypi',

Powered by Google App Engine
This is Rietveld 408576698