mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-07-30 21:30:41 +08:00
The //.gn change is necessary for use_cxx23 builds. The same line was added to the Chromium //.gn in https://crrev.com/2e50711003a48a8966c0126b5c3cb646b3116979 Roll build/ 8a46ede8e..613f5c13b (187 commits) Roll buildtools/ 5e7f45b2c..e06be5db4 (18 commits) Roll third_party/libc++/src/ be1c391ac..5abc7f839 (17 commits) Roll third_party/llvm-libc/src/ ada036045..9309c117e (181 commits)8a46ede8ea..613f5c13bc5e7f45b2c8..e06be5db47be1c391acc..5abc7f8397ada0360457..9309c117ebCreated with: roll-dep build roll-dep buildtools roll-dep third_party/libc++/src roll-dep third_party/llvm-libc/src Change-Id: I63389c20c6bed7137caba466b8301d122f44b5cd Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/148950 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Andy Phan <andyphan@chromium.org>
66 lines
2.0 KiB
Plaintext
66 lines
2.0 KiB
Plaintext
# Copyright 2016 The PDFium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//build/dotfile_settings.gni")
|
|
|
|
buildconfig = "//build/config/BUILDCONFIG.gn"
|
|
|
|
# The python interpreter to use by default. On Windows, this will look
|
|
# for python3.exe and python3.bat.
|
|
script_executable = "python3"
|
|
|
|
default_args = {
|
|
# Use a production-performant allocator.
|
|
# TODO(tsepez): `enable_pkeys` is a workaround for a partition-alloc build
|
|
# issue and should be removed.
|
|
partition_alloc_is_debug = false
|
|
enable_pkeys = false
|
|
|
|
# PDFs only need to run JavaScript.
|
|
v8_enable_webassembly = false
|
|
|
|
# Turns on compiler optimizations in V8 in Debug build.
|
|
v8_optimized_debug = true
|
|
|
|
# Suppress V8_DEPRECATE_SOON warnings to match the chromium build
|
|
# (at the moment). This is why chromium builds including pdfium
|
|
# currently build against the latest V8, but standalone builds
|
|
# give warnings.
|
|
v8_imminent_deprecation_warnings = false
|
|
|
|
# PDFium does not include the temporal_rs library.
|
|
v8_enable_temporal_support = false
|
|
|
|
# PDFium has its own unsafe-buffers enforcement directories.
|
|
clang_unsafe_buffers_paths = "//unsafe_buffers_paths.txt"
|
|
|
|
# Needed only for std::atomic_ref<T> for large Ts.
|
|
# See https://crbug.com/402171653 for details.
|
|
use_llvm_libatomic = false
|
|
|
|
# PDFium bots only have 14.x. Override Chromium's 15.x requirement.
|
|
mac_sdk_min = "14"
|
|
|
|
# PDFium must stay in C++20 for now.
|
|
use_cxx23 = false
|
|
|
|
# Use Siso instead of Ninja.
|
|
use_siso = true
|
|
|
|
# Adds -Wexit-time-destructors check to match Chromium.
|
|
is_wexit_time_destructors_default = true
|
|
}
|
|
|
|
no_check_targets = [
|
|
# See https://crbug.com/v8/7330 and/or check if these entries exist in
|
|
# Chromium's //.gn file.
|
|
"//v8:cppgc_base",
|
|
"//v8:v8_internal_headers",
|
|
"//v8/src/inspector:inspector",
|
|
"//v8/test/cctest:cctest_sources",
|
|
"//v8/test/unittests:inspector_unittests_sources",
|
|
]
|
|
|
|
expand_directory_allowlist = build_dotfile_settings.expand_directory_allowlist
|