K. Moon | 832a694 | 2022-10-31 20:11:31 +0000 | [diff] [blame] | 1 | # Copyright 2016 The PDFium Authors |
dsinclair | 685bb88 | 2016-04-20 07:32:39 -0700 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Lei Zhang | 3836eb0 | 2022-12-03 01:31:26 +0000 | [diff] [blame] | 5 | # TODO(crbug.com/pdfium/1932): Switch back to //build/config/BUILDCONFIG.gn if |
| 6 | # appropriate. |
| 7 | buildconfig = "//build_overrides/BUILDCONFIG.gn" |
Nicolas Pena | e818bcb | 2017-02-09 14:37:49 -0500 | [diff] [blame] | 8 | |
K. Moon | 00a55f8 | 2021-10-04 16:58:40 +0000 | [diff] [blame] | 9 | # The python interpreter to use by default. On Windows, this will look |
| 10 | # for python3.exe and python3.bat. |
| 11 | script_executable = "python3" |
| 12 | |
Nicolas Pena | e818bcb | 2017-02-09 14:37:49 -0500 | [diff] [blame] | 13 | default_args = { |
Lei Zhang | 96c19b3 | 2021-09-09 00:19:52 +0000 | [diff] [blame] | 14 | # PDFs only need to run JavaScript. |
| 15 | v8_enable_webassembly = false |
| 16 | |
Nicolas Pena | e818bcb | 2017-02-09 14:37:49 -0500 | [diff] [blame] | 17 | # Turns on compiler optimizations in V8 in Debug build. |
| 18 | v8_optimized_debug = true |
Lei Zhang | e88bb29 | 2022-07-01 17:28:22 +0000 | [diff] [blame] | 19 | |
| 20 | # PDFium is currently incompatible with the V8 Sandbox. |
| 21 | # See https://crbug.com/v8/13014 for details. |
| 22 | v8_enable_sandbox = false |
Nicolas Pena | e818bcb | 2017-02-09 14:37:49 -0500 | [diff] [blame] | 23 | } |
Lei Zhang | bfc5f60 | 2018-10-11 19:28:08 +0000 | [diff] [blame] | 24 | |
Lei Zhang | 2420447 | 2020-08-22 00:51:02 +0000 | [diff] [blame] | 25 | no_check_targets = [ |
Lei Zhang | ca1ec1d | 2022-12-03 01:29:08 +0000 | [diff] [blame] | 26 | # See https://crbug.com/v8/7330 and/or check if these entries exist in |
| 27 | # Chromium's //.gn file. |
Dan Elphick | 05673a3 | 2021-09-09 15:42:55 +0000 | [diff] [blame] | 28 | "//v8:cppgc_base", |
| 29 | "//v8:v8_internal_headers", |
| 30 | "//v8/src/inspector:inspector", |
| 31 | "//v8/test/cctest:cctest_sources", |
Hui Yingst | f00bbeb | 2022-09-08 19:36:34 +0000 | [diff] [blame] | 32 | "//v8/test/unittests:inspector_unittests_sources", |
Lei Zhang | bfc5f60 | 2018-10-11 19:28:08 +0000 | [diff] [blame] | 33 | ] |