diff options
-rw-r--r-- | infra/bots/recipe_modules/flavor/pdfium_flavor.py | 11 | ||||
-rw-r--r-- | infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/infra/bots/recipe_modules/flavor/pdfium_flavor.py b/infra/bots/recipe_modules/flavor/pdfium_flavor.py index 12a4f808e9..7aa21b2b02 100644 --- a/infra/bots/recipe_modules/flavor/pdfium_flavor.py +++ b/infra/bots/recipe_modules/flavor/pdfium_flavor.py @@ -25,8 +25,15 @@ class PDFiumFlavorUtils(default_flavor.DefaultFlavorUtils): **kwargs) # Setup gn args. - gn_args = ['pdf_use_skia=true', 'pdf_is_standalone=true', - 'clang_use_chrome_plugins=false'] + gn_args = [ + '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['CHROMIUM_BUILDTOOLS_PATH'] = str(pdfium_dir.join('buildtools')) self.m.run( diff --git a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json index 272c444744..0e138cc4d4 100644 --- a/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json +++ b/infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json @@ -100,7 +100,7 @@ "gn", "gen", "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", "env": { |