Index: scripts/slave/recipes/chromium_codesearch.py |
diff --git a/scripts/slave/recipes/chromium_codesearch.py b/scripts/slave/recipes/chromium_codesearch.py |
index 88c02a128f51371a80d69ea0d7cd549fae5b387b..2570a9494a04ef8b3c180c34631de3cdf505a7b2 100644 |
--- a/scripts/slave/recipes/chromium_codesearch.py |
+++ b/scripts/slave/recipes/chromium_codesearch.py |
@@ -6,6 +6,7 @@ from recipe_engine.types import freeze |
DEPS = [ |
'depot_tools/bot_update', |
+ 'depot_tools/infra_paths', |
'chromium', |
'commit_position', |
'file', |
@@ -166,7 +167,7 @@ def RunSteps(api): |
if platform == 'chromeos': |
result = GenerateCompilationDatabase(api, debug_path, targets, 'linux') |
api.python('Filter out duplicate compilation units', |
- api.path['build'].join('scripts', 'slave', 'chromium', |
+ api.infra_paths['build'].join('scripts', 'slave', 'chromium', |
'filter_compilations.py'), |
['--compdb-input', debug_path.join('compile_commands.json'), |
'--compdb-filter', api.raw_io.input(data=result.stdout), |
@@ -203,7 +204,7 @@ def RunSteps(api): |
index_pack_name_with_revision = 'index_pack_%s_%s.zip' % ( |
platform, commit_position) |
api.python('create index pack', |
- api.path['build'].join('scripts', 'slave', 'chromium', |
+ api.infra_paths['build'].join('scripts', 'slave', 'chromium', |
'package_index.py'), |
['--path-to-compdb', debug_path.join('compile_commands.json'), |
'--path-to-archive-output', debug_path.join(index_pack_name)]) |
@@ -221,7 +222,7 @@ def RunSteps(api): |
tarball_name_with_revision = 'chromium_src_%s_%s.tar.bz2' % ( |
platform,commit_position) |
api.python('archive source', |
- api.path['build'].join('scripts','slave', |
+ api.infra_paths['build'].join('scripts','slave', |
'archive_source_codesearch.py'), |
['src', 'build', 'infra', 'tools', '-f', |
tarball_name]) |
@@ -229,7 +230,7 @@ def RunSteps(api): |
# Upload the source code. |
api.gsutil.upload( |
name='upload source tarball', |
- source=api.path['slave_build'].join(tarball_name), |
+ source=api.infra_paths['slave_build'].join(tarball_name), |
bucket=BUCKET_NAME, |
dest='%s/%s' % (environment, tarball_name_with_revision) |
) |