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") | 5 import("//build_overrides/pdfium.gni") |
6 | 6 |
7 # This file contains PDFium-related build flags. | 7 # This file contains PDFium-related build flags. |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # 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 |
11 # methods are used from it. | 11 # methods are used from it. |
12 pdfium_bundle_freetype = !is_linux | 12 pdfium_bundle_freetype = !is_linux |
13 | 13 |
14 # Build PDFium either with or without v8 support. | 14 # Build PDFium either with or without v8 support. |
15 pdf_enable_v8 = pdf_enable_v8_override | 15 pdf_enable_v8 = pdf_enable_v8_override |
16 | 16 |
17 # Build PDFium either with or without XFA Forms support. | 17 # Build PDFium either with or without XFA Forms support. |
18 pdf_enable_xfa = pdf_enable_xfa_override | 18 pdf_enable_xfa = pdf_enable_xfa_override |
19 | 19 |
20 # Build PDFium against skia (experimental) rather than agg. | 20 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw e
verything. |
21 pdf_use_skia = pdf_use_skia_override | 21 pdf_use_skia = pdf_use_skia_override |
22 | 22 |
| 23 # Build PDFium against skia (experimental) rather than agg. Use Skia to draw p
aths. |
| 24 pdf_use_skia_paths = pdf_use_skia_paths_override |
| 25 |
23 # Build PDFium with or without experimental win32 GDI APIs. | 26 # Build PDFium with or without experimental win32 GDI APIs. |
24 pdf_use_win32_gdi = pdf_use_win32_gdi_override | 27 pdf_use_win32_gdi = pdf_use_win32_gdi_override |
25 | 28 |
26 # Build PDFium standalone | 29 # Build PDFium standalone |
27 pdf_is_standalone = false | 30 pdf_is_standalone = false |
28 } | 31 } |
OLD | NEW |