mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
This CL creates a new pdfium_unsafe_buffers_paths.txt in the top-level directory which lists which sub-directories have been made safe against C-style pointer arithmetic. Change-Id: Ibe3e7bc2e3e85e573119a6123c93bc70d91f0330 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/117850 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Thomas Sepez <tsepez@google.com>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 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.
|
|
|
|
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 = {
|
|
# PDFs only need to run JavaScript.
|
|
v8_enable_webassembly = false
|
|
|
|
# Turns on compiler optimizations in V8 in Debug build.
|
|
v8_optimized_debug = true
|
|
|
|
# PDFium is currently incompatible with the V8 Sandbox.
|
|
# See https://crbug.com/v8/13014 for details.
|
|
v8_enable_sandbox = false
|
|
|
|
# PDFium has its own unsafe-buffers enforcement directories.
|
|
clang_unsafe_buffers_paths = "//pdfium_unsafe_buffers_paths.txt"
|
|
}
|
|
|
|
no_check_targets = [
|
|
# TODO(crbug.com/326607005): Remove the exceptions for googletest once it is
|
|
# possible to support Abseil flags in tests without regressing things (e.g.
|
|
# no added static initializers) in production binaries.
|
|
"//third_party/googletest:gmock",
|
|
"//third_party/googletest:gtest",
|
|
|
|
# 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",
|
|
]
|