Fix emulator build error
[platform/framework/web/chromium-efl.git] / build_overrides / pdfium.gni
1 # Copyright 2016 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//base/allocator/partition_allocator/partition_alloc.gni")
6
7 # Enable use of Javascript in PDFs.
8 pdf_enable_v8_override = true
9
10 # Enable XFA forms in Chromium builds on a per-platform basis
11 pdf_enable_xfa_override = is_chromeos || is_linux || is_mac || is_win
12
13 # Build PDFium either using the bundled FreeType, or using a third-party
14 # FreeType, configured by the embedder in //build/config/freetype.
15 pdf_bundle_freetype_override = false
16
17 # Build PDFium with PartitionAlloc support and direct the fxcrt layer to
18 # use it as the memory allocator instead of `malloc()`.
19 pdf_use_partition_alloc_override = use_partition_alloc
20
21 # Allow to use Skia backend at run time.
22 pdf_use_skia_override = true