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

Unified Diff: scripts/slave/recipe_modules/pgo/api.py

Issue 1514853004: Use MSVS2015 for the fyi PGO builds (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years 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 | « scripts/slave/recipe_modules/chromium/config.py ('k') | scripts/slave/recipes/chromium_pgo.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/pgo/api.py
diff --git a/scripts/slave/recipe_modules/pgo/api.py b/scripts/slave/recipe_modules/pgo/api.py
index cb51aef60169027c3cafbebf8e815be7c146bde2..69ae10223f66d1e2aa769e559d189de916b98e6c 100644
--- a/scripts/slave/recipe_modules/pgo/api.py
+++ b/scripts/slave/recipe_modules/pgo/api.py
@@ -48,6 +48,8 @@ class PGOApi(recipe_api.RecipeApi):
"""
self.m.chromium.set_config(bot_config['chromium_config_instrument'],
**bot_config.get('chromium_config_kwargs'))
+ for c in bot_config.get('chromium_apply_config', []):
+ self.m.chromium.apply_config(c)
self.m.chromium.runhooks(name='Runhooks: Instrumentation phase.')
# Remove the profile files from the previous builds.
self.m.file.rmwildcard('*.pg[cd]', str(self.m.chromium.output_dir))
@@ -83,6 +85,8 @@ class PGOApi(recipe_api.RecipeApi):
"""
self.m.chromium.set_config(bot_config['chromium_config_optimize'],
**bot_config.get('chromium_config_kwargs'))
+ for c in bot_config.get('chromium_apply_config', []):
+ self.m.chromium.apply_config(c)
self.m.chromium.runhooks(name='Runhooks: Optimization phase.')
# Increase the stack size of pgomgr.exe.
« no previous file with comments | « scripts/slave/recipe_modules/chromium/config.py ('k') | scripts/slave/recipes/chromium_pgo.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698