aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipe_modules/flavor/pdfium_flavor.py
diff options
context:
space:
mode:
authorGravatar Eric Boren <borenet@google.com>2016-12-13 08:48:46 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-13 14:23:01 +0000
commit3dc73f3596d93a89f71b0c7e96d5d63dafeaf378 (patch)
treee1eed6dd3b3d7a3a9ec39b0a80f0b9ac5ed1fd50 /infra/bots/recipe_modules/flavor/pdfium_flavor.py
parent4ec2b7179eadf1b94bc81be26477425c0f53a029 (diff)
Add PDFium_SkiaPaths bot
BUG=skia:6049 Change-Id: I90d06f9bb3d6180a0921130b9fe523733211e481 Reviewed-on: https://skia-review.googlesource.com/5849 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Ravi Mistry <rmistry@google.com> Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'infra/bots/recipe_modules/flavor/pdfium_flavor.py')
-rw-r--r--infra/bots/recipe_modules/flavor/pdfium_flavor.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/infra/bots/recipe_modules/flavor/pdfium_flavor.py b/infra/bots/recipe_modules/flavor/pdfium_flavor.py
index 83525fa442..f16f51f229 100644
--- a/infra/bots/recipe_modules/flavor/pdfium_flavor.py
+++ b/infra/bots/recipe_modules/flavor/pdfium_flavor.py
@@ -34,12 +34,15 @@ class PDFiumFlavorUtils(default_flavor.DefaultFlavorUtils):
# Setup gn args.
gn_args = [
- 'pdf_use_skia=true',
'pdf_is_standalone=true',
'clang_use_chrome_plugins=false',
'is_component_build=false',
'is_debug=false',
- ]
+ ]
+ if 'SkiaPaths' in self.m.vars.builder_name:
+ gn_args.append('pdf_use_skia_paths=true')
+ else:
+ gn_args.append('pdf_use_skia=true')
env = kwargs.pop('env', {})