mirror of
https://pdfium.googlesource.com/pdfium
synced 2026-08-02 05:04:39 +08:00
Allow future use of non-public APIs in the test programs. Also, this has become far too complex to serve as a useful sample. Fixed: pdfium:1895 Change-Id: I8ff3113a4aebbaf24d1cbcc46746c37436f46dbb Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/118911 Reviewed-by: Thomas Sepez <tsepez@google.com> Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
# Copyright 2023 The PDFium Authors
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("../../pdfium.gni")
|
|
|
|
if (pdf_is_standalone) {
|
|
# Generates the list of inputs required by `test_runner.py` tests.
|
|
action("test_runner_py") {
|
|
testonly = true
|
|
|
|
write_runtime_deps = "${root_out_dir}/${target_name}.runtime_deps"
|
|
|
|
sources = [ write_runtime_deps ]
|
|
outputs = [ "${root_out_dir}/${target_name}.json" ]
|
|
|
|
script = "generate_cas_paths.py"
|
|
args = [
|
|
"--root",
|
|
rebase_path("../..", root_build_dir),
|
|
] + rebase_path(sources + outputs, root_build_dir)
|
|
|
|
# Unbuilt runtime dependencies.
|
|
data = [
|
|
".",
|
|
"../SUPPRESSIONS",
|
|
"../SUPPRESSIONS_EXACT_MATCHING",
|
|
"../SUPPRESSIONS_IMAGE_DIFF",
|
|
"../corpus/",
|
|
"../../.vpython3",
|
|
"../../build/skia_gold_common/",
|
|
"../../build/util/lib/",
|
|
"../../third_party/test_fonts/",
|
|
"../../tools/resultdb/",
|
|
"../../tools/skia_goldctl/",
|
|
]
|
|
|
|
# Built runtime dependencies.
|
|
data_deps = [
|
|
"../:pdfium_test",
|
|
"../../:pdfium_diff",
|
|
]
|
|
|
|
# Force `data_deps` to be built before this target, rather than in parallel.
|
|
deps = data_deps
|
|
}
|
|
}
|