aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/vars
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2017-02-17 11:28:36 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-17 17:41:39 +0000
commitd8ebf69f0ac4ce91fab30af407ecccfa53df3798 (patch)
tree34619fc826888516e9dd72ba18b88ae7d37e4755 /infra/bots/recipe_modules/vars
parent1bf3fc74b06fcc8121322a7ae68a72eacae79a24 (diff)
Add Flutter compile bot
BUG=skia:6227 Change-Id: I997663e49c407e3ec64c8e67a2ca27700d5081b4 Reviewed-on: https://skia-review.googlesource.com/8448 Commit-Queue: Ravi Mistry <rmistry@google.com> Reviewed-by: Eric Boren <borenet@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/vars')
-rw-r--r--infra/bots/recipe_modules/vars/api.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/infra/bots/recipe_modules/vars/api.py b/infra/bots/recipe_modules/vars/api.py
index faba0ad5c0..2e2923b986 100644
--- a/infra/bots/recipe_modules/vars/api.py
+++ b/infra/bots/recipe_modules/vars/api.py
@@ -73,9 +73,17 @@ class SkiaVarsApi(recipe_api.RecipeApi):
# checkout of Skia obtained through DEPS in pdfium/third_party/skia.
self.need_pdfium_checkout = 'PDFium' in self.builder_name
+ # Some bots also require a checkout of Flutter; in this case we use the
+ # checkout of Skia obtained through DEPS in src/third_party/skia.
+ self.need_flutter_checkout = 'Flutter' in self.builder_name
+
self.skia_dir = self.checkout_root.join('skia')
if self.need_pdfium_checkout:
self.skia_dir = self.checkout_root.join('pdfium', 'third_party', 'skia')
+ elif self.need_flutter_checkout:
+ self.checkout_root = self.checkout_root.join('flutter')
+ self.skia_dir = self.checkout_root.join('src', 'third_party', 'skia')
+
if not self.persistent_checkout:
self.m.path['checkout'] = self.skia_dir