Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 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 | |
| 5 | # This file contains PDFium-related build flags. |
| 6 | |
| 7 | declare_args() { |
| 8 | # On Android there's no system FreeType. On Windows and Mac, only a few |
| 9 | # methods are used from it. |
| 10 | pdfium_bundle_freetype = !is_linux |
| 11 | |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 12 | # Build PDFium either with or without v8 support. |
| 13 | pdf_enable_v8 = true |
| 14 | |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 15 | # Build PDFium either with or without XFA Forms support. |
Tom Sepez | 7156859 | 2016-03-08 08:59:16 -0800 | [diff] [blame] | 16 | pdf_enable_xfa = false |
Tom Sepez | a8a39e2 | 2015-10-12 15:47:07 -0700 | [diff] [blame] | 17 | |
| 18 | # Build PDFium against skia (experimental) rather than agg. |
| 19 | pdf_use_skia = false |
Tom Sepez | 452b4f3 | 2015-10-13 09:27:27 -0700 | [diff] [blame] | 20 | } |