Index: infra/bots/recipe_modules/flavor/pdfium_flavor.py |
diff --git a/infra/bots/recipe_modules/flavor/pdfium_flavor.py b/infra/bots/recipe_modules/flavor/pdfium_flavor.py |
index 7aa21b2b02c9e0cb0e63e57f173897b911d47db3..83525fa4421b03758a778db5fd3a1fc7ad0d05f0 100644 |
--- a/infra/bots/recipe_modules/flavor/pdfium_flavor.py |
+++ b/infra/bots/recipe_modules/flavor/pdfium_flavor.py |
@@ -24,6 +24,14 @@ class PDFiumFlavorUtils(default_flavor.DefaultFlavorUtils): |
cwd=pdfium_dir, |
**kwargs) |
+ # Install the sysroot. |
+ self.m.run( |
+ self.m.step, |
+ 'sysroot', |
+ cmd=['python', 'build/linux/sysroot_scripts/install-sysroot.py', |
+ '--arch=amd64'], |
+ cwd=pdfium_dir) |
+ |
# Setup gn args. |
gn_args = [ |
'pdf_use_skia=true', |