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

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

Issue 1101673005: Extract functions from path recipe module so that step can depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 8 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 | « scripts/slave/recipe_modules/pgo/__init__.py ('k') | scripts/slave/recipe_modules/skia/api.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 e4676ec2901cab372225f96c627feffd44e2b23b..a7921c0dae7bca287687a894729db2ac29ec6e95 100644
--- a/scripts/slave/recipe_modules/pgo/api.py
+++ b/scripts/slave/recipe_modules/pgo/api.py
@@ -50,7 +50,7 @@ class PGOApi(recipe_api.RecipeApi):
**bot_config.get('chromium_config_kwargs'))
self.m.chromium.runhooks(name='Runhooks: Instrumentation phase.')
# Remove the profile files from the previous builds.
- self.m.path.rmwildcard('*.pg[cd]', str(self.m.chromium.output_dir))
+ self.m.file.rmwildcard('*.pg[cd]', str(self.m.chromium.output_dir))
self.m.chromium.compile(name='Compile: Instrumentation phase.',
force_clobber=bot_config.get('clobber', False))
« no previous file with comments | « scripts/slave/recipe_modules/pgo/__init__.py ('k') | scripts/slave/recipe_modules/skia/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698