Index: scripts/slave/recipes/codesearch.py |
diff --git a/scripts/slave/recipes/codesearch.py b/scripts/slave/recipes/codesearch.py |
index 1fe78652d500b195aad66bc6918fd25bf46c1bb6..25b3f8677e257bab735151b54a95937cc9840a8a 100644 |
--- a/scripts/slave/recipes/codesearch.py |
+++ b/scripts/slave/recipes/codesearch.py |
@@ -5,6 +5,7 @@ |
DEPS = [ |
'bot_update', |
'chromium', |
+ 'file', |
'gclient', |
'gsutil', |
'path', |
@@ -84,7 +85,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 |