Index: scripts/slave/recipes/chromium_codesearch.py |
diff --git a/scripts/slave/recipes/chromium_codesearch.py b/scripts/slave/recipes/chromium_codesearch.py |
index e3af82deeb5c59133e6c31276a343b0544d77925..c7b118ba6bade633611391d021ac575d577892b4 100644 |
--- a/scripts/slave/recipes/chromium_codesearch.py |
+++ b/scripts/slave/recipes/chromium_codesearch.py |
@@ -8,6 +8,7 @@ DEPS = [ |
'bot_update', |
'chromium', |
'commit_position', |
+ 'file', |
'gclient', |
'gsutil', |
'json', |
@@ -190,7 +191,7 @@ def GenSteps(api): |
# Remove the llvm-build directory, so that gclient runhooks will download |
# the pre-built clang binary and not use the locally compiled binary from |
# the 'compile translation_unit clang tool' step. |
- api.path.rmtree('llvm-build', |
+ api.file.rmtree('llvm-build', |
api.path['checkout'].join('third_party', 'llvm-build')) |
# Upload the index pack |