aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/compile.py
diff options
context:
space:
mode:
authorGravatar Robert Iannucci <iannucci@google.com>2017-05-12 19:09:38 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-05-15 13:46:22 +0000
commit297a7efd54495a06a7473eb8d99b211fd511766c (patch)
tree44b09641b37f75abe50d849a1082b6d9b6c6a459 /infra/bots/recipes/compile.py
parent9018952290a468886c819405c6d9495b4aa5d7d4 (diff)
[skia] convert recipes and module to new context module
This is a syntax-only change to convert to the new (documented) context module. R=borenet@google.com Bug: skia: Change-Id: Id907c309d3cf38b85a46f6d8d7ce90ed58ba026f Reviewed-on: https://skia-review.googlesource.com/16840 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipes/compile.py')
-rw-r--r--infra/bots/recipes/compile.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/bots/recipes/compile.py b/infra/bots/recipes/compile.py
index 6b1c61c539..222b25532b 100644
--- a/infra/bots/recipes/compile.py
+++ b/infra/bots/recipes/compile.py
@@ -8,6 +8,7 @@
DEPS = [
'core',
+ 'recipe_engine/context',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/platform',
@@ -49,7 +50,7 @@ def RunSteps(api):
try:
for target in build_targets:
- with api.step.context({'env': env}):
+ with api.context(env=env):
api.flavor.compile(target)
api.run.copy_build_products(
api.flavor.out_dir,