aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/flavor
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2017-03-02 09:23:47 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-02 15:25:41 +0000
commitbb5af6b70086cca8cbaa17b6ecfd462be3ab0b9e (patch)
treedfad6009b0938af9c04efdc9ccc6da1005b5917b /infra/bots/recipe_modules/flavor
parent9c220e00896e8d344e9cfde5934b00fb011d14b8 (diff)
Fix flutter compile bot
BUG=skia:6310 Change-Id: I540ea1b8a4e4c4faa8fa0f5550f25023763c3fea Reviewed-on: https://skia-review.googlesource.com/9135 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/flavor')
-rw-r--r--infra/bots/recipe_modules/flavor/flutter_flavor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/flavor/flutter_flavor.py b/infra/bots/recipe_modules/flavor/flutter_flavor.py
index d87fcdba06..a4b1e79440 100644
--- a/infra/bots/recipe_modules/flavor/flutter_flavor.py
+++ b/infra/bots/recipe_modules/flavor/flutter_flavor.py
@@ -36,6 +36,9 @@ class FlutterFlavorUtils(default_flavor.DefaultFlavorUtils):
gn_args.append('--android')
out_dir = 'android_' + out_dir
+ # Delete out_dir so that we start from a clean slate. See skbug/6310.
+ self.m.run.rmtree(flutter_dir.join('out', out_dir))
+
# Run GN.
self.m.run(
self.m.step,