pdfium: Fix the pdfium builder.

BUG=skia:5715
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2300703007

Review-Url: https://codereview.chromium.org/2300703007
This commit is contained in:
jcgregorio 2016-09-02 12:36:05 -07:00 committed by Commit bot
parent 32799a45ec
commit b55d98dda1
2 changed files with 10 additions and 3 deletions

View File

@ -25,8 +25,15 @@ class PDFiumFlavorUtils(default_flavor.DefaultFlavorUtils):
**kwargs) **kwargs)
# Setup gn args. # Setup gn args.
gn_args = ['pdf_use_skia=true', 'pdf_is_standalone=true', gn_args = [
'clang_use_chrome_plugins=false'] 'pdf_use_skia=true',
'pdf_is_standalone=true',
'clang_use_chrome_plugins=false',
'is_component_build=false',
'is_debug=false',
]
env = kwargs.pop('env', {}) env = kwargs.pop('env', {})
env['CHROMIUM_BUILDTOOLS_PATH'] = str(pdfium_dir.join('buildtools')) env['CHROMIUM_BUILDTOOLS_PATH'] = str(pdfium_dir.join('buildtools'))
self.m.run( self.m.run(

View File

@ -100,7 +100,7 @@
"gn", "gn",
"gen", "gen",
"out/skia", "out/skia",
"--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins=false" "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins=false is_component_build=false is_debug=false"
], ],
"cwd": "[CUSTOM_/_B_WORK]/pdfium", "cwd": "[CUSTOM_/_B_WORK]/pdfium",
"env": { "env": {