1# Copyright 2015 PDFium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("//build_overrides/pdfium.gni") 6 7# This file contains PDFium-related build flags. 8 9declare_args() { 10 # On Android there's no system FreeType. On Windows and Mac, only a few 11 # methods are used from it. 12 pdfium_bundle_freetype = !is_linux 13 14 # Build PDFium either with or without v8 support. 15 pdf_enable_v8 = pdf_enable_v8_override 16 17 # Build PDFium either with or without XFA Forms support. 18 pdf_enable_xfa = pdf_enable_xfa_override 19 20 # If XFA, also support bmp codec. Ignored if not XFA. 21 pdf_enable_xfa_bmp = true 22 23 # If XFA, also support gif codec. Ignored if not XFA. 24 pdf_enable_xfa_gif = true 25 26 # If XFA, also support png codec. Ignored if not XFA. 27 pdf_enable_xfa_png = true 28 29 # If XFA, also support png codec. Ignored if not XFA. 30 pdf_enable_xfa_tiff = true 31 32 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw everything. 33 pdf_use_skia = pdf_use_skia_override 34 35 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw paths. 36 pdf_use_skia_paths = pdf_use_skia_paths_override 37 38 # Build PDFium with or without experimental win32 GDI APIs. 39 pdf_use_win32_gdi = pdf_use_win32_gdi_override 40 41 # Build PDFium standalone 42 pdf_is_standalone = false 43 44 # Enable coverage information 45 use_coverage = false 46} 47