From 297a7efd54495a06a7473eb8d99b211fd511766c Mon Sep 17 00:00:00 2001 From: Robert Iannucci Date: Fri, 12 May 2017 19:09:38 -0700 Subject: [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 Reviewed-by: Eric Boren --- infra/bots/recipes/compile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'infra/bots/recipes/compile.py') 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, -- cgit v1.2.3