| OLD | NEW |
| 1 # Copyright 2015 PDFium Authors. All rights reserved. | 1 # Copyright 2015 PDFium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build_overrides/pdfium.gni") |
| 6 |
| 5 # This file contains PDFium-related build flags. | 7 # This file contains PDFium-related build flags. |
| 6 | 8 |
| 7 declare_args() { | 9 declare_args() { |
| 8 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
| 9 # methods are used from it. | 11 # methods are used from it. |
| 10 pdfium_bundle_freetype = !is_linux | 12 pdfium_bundle_freetype = !is_linux |
| 11 | 13 |
| 12 # Build PDFium either with or without v8 support. | 14 # Build PDFium either with or without v8 support. |
| 13 pdf_enable_v8 = true | 15 pdf_enable_v8 = pdf_enable_v8_override |
| 14 | 16 |
| 15 # Build PDFium either with or without XFA Forms support. | 17 # Build PDFium either with or without XFA Forms support. |
| 16 pdf_enable_xfa = false | 18 pdf_enable_xfa = pdf_enable_xfa_override |
| 17 | 19 |
| 18 # Build PDFium against skia (experimental) rather than agg. | 20 # Build PDFium against skia (experimental) rather than agg. |
| 19 pdf_use_skia = false | 21 pdf_use_skia = pdf_use_skia_override |
| 20 | 22 |
| 21 # Build PDFium standalone | 23 # Build PDFium standalone |
| 22 pdf_is_standalone = false | 24 pdf_is_standalone = false |
| 23 } | 25 } |
| OLD | NEW |