summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-11-02 19:59:38 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 19:59:38 +0000
commit626c2a528fdbb53ddc6fede8ce879f56bfe87716 (patch)
treef97b6d2de024e882443d512d3e4788f6c29467af /BUILD.gn
parentf1be1e87045da36b52326fb269f7006670c0c9ab (diff)
downloadpdfium-626c2a528fdbb53ddc6fede8ce879f56bfe87716.tar.xz
Refactoring of cross refs availability check.
Use CPDF_CrossRefAvail to check crossrefs. Change-Id: Ia333cff4e86eaab5bad17424c1bb8ef9bdbca8ff Reviewed-on: https://pdfium-review.googlesource.com/15510 Commit-Queue: Art Snake <art-snake@yandex-team.ru> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 877b622ffd..60b5776e43 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -576,6 +576,8 @@ static_library("fpdfapi") {
"core/fpdfapi/parser/cpdf_array.h",
"core/fpdfapi/parser/cpdf_boolean.cpp",
"core/fpdfapi/parser/cpdf_boolean.h",
+ "core/fpdfapi/parser/cpdf_cross_ref_avail.cpp",
+ "core/fpdfapi/parser/cpdf_cross_ref_avail.h",
"core/fpdfapi/parser/cpdf_crypto_handler.cpp",
"core/fpdfapi/parser/cpdf_crypto_handler.h",
"core/fpdfapi/parser/cpdf_data_avail.cpp",
@@ -1941,6 +1943,7 @@ test("pdfium_unittests") {
"core/fpdfapi/page/cpdf_streamcontentparser_unittest.cpp",
"core/fpdfapi/page/cpdf_streamparser_unittest.cpp",
"core/fpdfapi/parser/cpdf_array_unittest.cpp",
+ "core/fpdfapi/parser/cpdf_cross_ref_avail_unittest.cpp",
"core/fpdfapi/parser/cpdf_document_unittest.cpp",
"core/fpdfapi/parser/cpdf_hint_tables_unittest.cpp",
"core/fpdfapi/parser/cpdf_indirect_object_holder_unittest.cpp",