blob: b2bf99d0ce671f6732098f8e2e455933c9324133 [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001# Copyright 2016 The PDFium Authors
dsinclair685bb882016-04-20 07:32:39 -07002# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Lei Zhang3836eb02022-12-03 01:31:26 +00005# TODO(crbug.com/pdfium/1932): Switch back to //build/config/BUILDCONFIG.gn if
6# appropriate.
7buildconfig = "//build_overrides/BUILDCONFIG.gn"
Nicolas Penae818bcb2017-02-09 14:37:49 -05008
K. Moon00a55f82021-10-04 16:58:40 +00009# The python interpreter to use by default. On Windows, this will look
10# for python3.exe and python3.bat.
11script_executable = "python3"
12
Nicolas Penae818bcb2017-02-09 14:37:49 -050013default_args = {
Lei Zhang96c19b32021-09-09 00:19:52 +000014 # PDFs only need to run JavaScript.
15 v8_enable_webassembly = false
16
Nicolas Penae818bcb2017-02-09 14:37:49 -050017 # Turns on compiler optimizations in V8 in Debug build.
18 v8_optimized_debug = true
Lei Zhange88bb292022-07-01 17:28:22 +000019
20 # PDFium is currently incompatible with the V8 Sandbox.
21 # See https://crbug.com/v8/13014 for details.
22 v8_enable_sandbox = false
Nicolas Penae818bcb2017-02-09 14:37:49 -050023}
Lei Zhangbfc5f602018-10-11 19:28:08 +000024
Lei Zhang24204472020-08-22 00:51:02 +000025no_check_targets = [
Lei Zhangca1ec1d2022-12-03 01:29:08 +000026 # See https://crbug.com/v8/7330 and/or check if these entries exist in
27 # Chromium's //.gn file.
Dan Elphick05673a32021-09-09 15:42:55 +000028 "//v8:cppgc_base",
29 "//v8:v8_internal_headers",
30 "//v8/src/inspector:inspector",
31 "//v8/test/cctest:cctest_sources",
Hui Yingstf00bbeb2022-09-08 19:36:34 +000032 "//v8/test/unittests:inspector_unittests_sources",
Lei Zhangbfc5f602018-10-11 19:28:08 +000033]