Index: scripts/slave/recipes/infra/luci_gae.py |
diff --git a/scripts/slave/recipes/infra/luci_gae.py b/scripts/slave/recipes/infra/luci_gae.py |
index b8b2b681c405985b789e0a4a488c74e9683f0781..d89cdee2703be2e8d7e40ff4a4537b0d3f0378cb 100644 |
--- a/scripts/slave/recipes/infra/luci_gae.py |
+++ b/scripts/slave/recipes/infra/luci_gae.py |
@@ -6,6 +6,7 @@ DEPS = [ |
'depot_tools/bot_update', |
'depot_tools/gclient', |
'depot_tools/git', |
+ 'depot_tools/presubmit', |
'recipe_engine/json', |
'recipe_engine/path', |
'recipe_engine/properties', |
@@ -22,7 +23,7 @@ def _run_presubmit(api, patch_root, bot_update_step): |
# infra/go/env.py takes care of this. |
presubmit_cmd = [ |
'python', # env.py will replace with this its sys.executable. |
- api.path['depot_tools'].join('presubmit_support.py'), |
+ api.presubmit.presubmit_support_path, |
'--root', api.path['slave_build'].join(patch_root), |
'--commit', |
'--verbose', '--verbose', |
@@ -89,6 +90,7 @@ def GenTests(api): |
yield ( |
api.test('luci_gae') + |
api.properties.git_scheduled( |
+ path_config='kitchen', |
buildername='luci-gae-linux64', |
mastername='chromium.infra', |
repository='https://chromium.googlesource.com/external/github.com/luci/gae', |
@@ -97,6 +99,7 @@ def GenTests(api): |
yield ( |
api.test('presubmit_try_job') + |
api.properties.tryserver( |
+ path_config='kitchen', |
mastername='tryserver.infra', |
buildername='Luci-GAE Presubmit', |
) + api.step_data('presubmit', api.json.output([[]])) |