• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 The PDFium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5buildconfig = "//build/config/BUILDCONFIG.gn"
6
7# The python interpreter to use by default. On Windows, this will look
8# for python3.exe and python3.bat.
9script_executable = "python3"
10
11default_args = {
12  # PDFs only need to run JavaScript.
13  v8_enable_webassembly = false
14
15  # Turns on compiler optimizations in V8 in Debug build.
16  v8_optimized_debug = true
17
18  # PDFium is currently incompatible with the V8 Sandbox.
19  # See https://crbug.com/v8/13014 for details.
20  v8_enable_sandbox = false
21
22  # Suppress V8_DEPRECATE_SOON warnings to match the chromium build
23  # (at the moment). This is why chromium builds including pdfium
24  # currently build against the latest V8, but standalone builds
25  # give warnings.
26  v8_imminent_deprecation_warnings = false
27
28  # PDFium has its own unsafe-buffers enforcement directories.
29  clang_unsafe_buffers_paths = "//pdfium_unsafe_buffers_paths.txt"
30}
31
32no_check_targets = [
33  # See https://crbug.com/v8/7330 and/or check if these entries exist in
34  # Chromium's //.gn file.
35  "//v8:cppgc_base",
36  "//v8:v8_internal_headers",
37  "//v8/src/inspector:inspector",
38  "//v8/test/cctest:cctest_sources",
39  "//v8/test/unittests:inspector_unittests_sources",
40]
41