aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/compile.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/compile.py')
-rw-r--r--infra/bots/recipes/compile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/infra/bots/recipes/compile.py b/infra/bots/recipes/compile.py
index 96ed7a9cbc..e5e553cd16 100644
--- a/infra/bots/recipes/compile.py
+++ b/infra/bots/recipes/compile.py
@@ -8,7 +8,7 @@
DEPS = [
'build',
- 'core',
+ 'checkout',
'recipe_engine/context',
'recipe_engine/file',
'recipe_engine/json',
@@ -28,12 +28,12 @@ def RunSteps(api):
# Check out code.
if 'NoDEPS' in api.properties['buildername']:
checkout_root = api.path['start_dir']
- api.core.checkout_git(checkout_root=checkout_root)
+ api.checkout.git(checkout_root=checkout_root)
else:
- checkout_root = api.core.default_checkout_root
+ checkout_root = api.checkout.default_checkout_root
if 'Flutter' in api.vars.builder_name:
checkout_root = checkout_root.join('flutter')
- api.core.checkout_bot_update(checkout_root=checkout_root)
+ api.checkout.bot_update(checkout_root=checkout_root)
api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir)