summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-07 08:42:11 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-07 08:42:11 -0800
commit014b012278b7438ef8d4b66730b8598c7eb4623a (patch)
tree75ea0ea37d0b239412133290d7b24cc975bfcc66 /BUILD.gn
parent240dec52b2e6502e7deb27a3535af3b1a3e23428 (diff)
downloadpdfium-014b012278b7438ef8d4b66730b8598c7eb4623a.tar.xz
Clean up fpdf_page_parsers
- The code in fpdf_page_parser is only called by CPDF_StreamContentParser, so moved there. - Split fpdf_page_parser_old into its two classes - Renamed the corresponding unittests accordingly. - Moved PDF_ReplaceAbbr to namespace - Fixed few nits - Added TODO because CPDF_StreamParser has a lot of code similar to CPDF_SyntaxParser Review-Url: https://codereview.chromium.org/2474303003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 4 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 0cf5f54c77..bf6918d7bc 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -432,6 +432,7 @@ static_library("fpdfapi") {
"core/fpdfapi/page/cpdf_contentmark.h",
"core/fpdfapi/page/cpdf_contentmarkitem.cpp",
"core/fpdfapi/page/cpdf_contentmarkitem.h",
+ "core/fpdfapi/page/cpdf_contentparser.cpp",
"core/fpdfapi/page/cpdf_countedobject.h",
"core/fpdfapi/page/cpdf_docpagedata.cpp",
"core/fpdfapi/page/cpdf_docpagedata.h",
@@ -471,6 +472,7 @@ static_library("fpdfapi") {
"core/fpdfapi/page/cpdf_shadingpattern.h",
"core/fpdfapi/page/cpdf_streamcontentparser.cpp",
"core/fpdfapi/page/cpdf_streamcontentparser.h",
+ "core/fpdfapi/page/cpdf_streamparser.cpp",
"core/fpdfapi/page/cpdf_textobject.cpp",
"core/fpdfapi/page/cpdf_textobject.h",
"core/fpdfapi/page/cpdf_textstate.cpp",
@@ -479,8 +481,6 @@ static_library("fpdfapi") {
"core/fpdfapi/page/cpdf_tilingpattern.h",
"core/fpdfapi/page/fpdf_page_colors.cpp",
"core/fpdfapi/page/fpdf_page_func.cpp",
- "core/fpdfapi/page/fpdf_page_parser.cpp",
- "core/fpdfapi/page/fpdf_page_parser_old.cpp",
"core/fpdfapi/page/pageint.h",
"core/fpdfapi/parser/cfdf_document.cpp",
"core/fpdfapi/parser/cfdf_document.h",
@@ -1636,8 +1636,8 @@ test("pdfium_unittests") {
sources = [
"core/fpdfapi/font/fpdf_font_cid_unittest.cpp",
"core/fpdfapi/font/fpdf_font_unittest.cpp",
- "core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp",
- "core/fpdfapi/page/fpdf_page_parser_unittest.cpp",
+ "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_document_unittest.cpp",
"core/fpdfapi/parser/cpdf_object_unittest.cpp",