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

Unified Diff: scripts/slave/recipe_modules/filter/example.py

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 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
Index: scripts/slave/recipe_modules/filter/example.py
diff --git a/scripts/slave/recipe_modules/filter/example.py b/scripts/slave/recipe_modules/filter/example.py
index 05939bc726e1d98c93f1ed2bc0fac6778cc3ea8b..f731b256aca925875e2047194877167e2181ad16 100644
--- a/scripts/slave/recipe_modules/filter/example.py
+++ b/scripts/slave/recipe_modules/filter/example.py
@@ -4,6 +4,7 @@
DEPS = [
'chromium',
+ 'depot_tools/infra_paths',
'filter',
'recipe_engine/json',
'recipe_engine/path',
@@ -18,7 +19,7 @@ def RunSteps(api):
additional_compile_targets = api.m.properties.get(
'additional_compile_targets')
- api.path['checkout'] = api.path['slave_build']
+ api.path['checkout'] = api.infra_paths['slave_build']
api.chromium.set_config('chromium')
api.filter.does_patch_require_compile(
affected_files=list(api.m.properties.get('affected_files', ['foo.cc'])),

Powered by Google App Engine
This is Rietveld 408576698