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:
parent
32799a45ec
commit
b55d98dda1
@ -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(
|
||||||
|
@ -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": {
|
||||||
|
Loading…
Reference in New Issue
Block a user