summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorArtem Strygin <art-snake@yandex-team.ru>2017-08-14 23:35:52 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-08-14 22:30:41 +0000
commitf57cad4f5dd0436d5b207d362afb34fc5f3f9acb (patch)
tree6beef6ce505b2baf0d976e545a5ac8a625e5ff95 /BUILD.gn
parent93c886b7ce59f6e65fe885330558c52f51cfcab9 (diff)
downloadpdfium-f57cad4f5dd0436d5b207d362afb34fc5f3f9acb.tar.xz
Add CPDF_ObjectWalker.
It is allow us to walk on all non-null sub-objects in an object in depth, include itself, Change-Id: Ia23051073984411668112422b47cf7a4460aa078 Reviewed-on: https://pdfium-review.googlesource.com/8910 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 93196a491a..bfe38046a5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -604,6 +604,8 @@ static_library("fpdfapi") {
"core/fpdfapi/parser/cpdf_number.h",
"core/fpdfapi/parser/cpdf_object.cpp",
"core/fpdfapi/parser/cpdf_object.h",
+ "core/fpdfapi/parser/cpdf_object_walker.cpp",
+ "core/fpdfapi/parser/cpdf_object_walker.h",
"core/fpdfapi/parser/cpdf_parser.cpp",
"core/fpdfapi/parser/cpdf_parser.h",
"core/fpdfapi/parser/cpdf_read_validator.cpp",
@@ -1897,6 +1899,7 @@ test("pdfium_unittests") {
"core/fpdfapi/parser/cpdf_array_unittest.cpp",
"core/fpdfapi/parser/cpdf_document_unittest.cpp",
"core/fpdfapi/parser/cpdf_object_unittest.cpp",
+ "core/fpdfapi/parser/cpdf_object_walker_unittest.cpp",
"core/fpdfapi/parser/cpdf_parser_unittest.cpp",
"core/fpdfapi/parser/cpdf_read_validator_unittest.cpp",
"core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp",