Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 16ef8e5ecbdc72ef99d6bec9b7a31dd8b5704257..4263bf73cab8eeb84cf9f1f53e9c8d0ff72f3f6c 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -420,52 +420,6 @@ static_library("fpdfapi") { |
"core/fpdfapi/font/fpdf_font_cid.cpp", |
"core/fpdfapi/font/ttgsubtable.cpp", |
"core/fpdfapi/font/ttgsubtable.h", |
- "core/fpdfapi/fpdf_parser/cfdf_document.cpp", |
- "core/fpdfapi/fpdf_parser/cfdf_document.h", |
- "core/fpdfapi/fpdf_parser/cpdf_array.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_array.h", |
- "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_boolean.h", |
- "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h", |
- "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_data_avail.h", |
- "core/fpdfapi/fpdf_parser/cpdf_dictionary.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_dictionary.h", |
- "core/fpdfapi/fpdf_parser/cpdf_document.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_document.h", |
- "core/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_hint_tables.h", |
- "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.h", |
- "core/fpdfapi/fpdf_parser/cpdf_name.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_name.h", |
- "core/fpdfapi/fpdf_parser/cpdf_null.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_null.h", |
- "core/fpdfapi/fpdf_parser/cpdf_number.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_number.h", |
- "core/fpdfapi/fpdf_parser/cpdf_object.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_object.h", |
- "core/fpdfapi/fpdf_parser/cpdf_parser.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_parser.h", |
- "core/fpdfapi/fpdf_parser/cpdf_reference.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_reference.h", |
- "core/fpdfapi/fpdf_parser/cpdf_security_handler.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_security_handler.h", |
- "core/fpdfapi/fpdf_parser/cpdf_simple_parser.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_simple_parser.h", |
- "core/fpdfapi/fpdf_parser/cpdf_stream.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_stream.h", |
- "core/fpdfapi/fpdf_parser/cpdf_stream_acc.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h", |
- "core/fpdfapi/fpdf_parser/cpdf_string.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_string.h", |
- "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_syntax_parser.h", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_decode.h", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_utility.h", |
"core/fpdfapi/fpdf_render/cpdf_pagerendercache.h", |
"core/fpdfapi/fpdf_render/cpdf_progressiverenderer.h", |
"core/fpdfapi/fpdf_render/cpdf_rendercontext.h", |
@@ -543,6 +497,52 @@ static_library("fpdfapi") { |
"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", |
+ "core/fpdfapi/parser/cpdf_array.cpp", |
+ "core/fpdfapi/parser/cpdf_array.h", |
+ "core/fpdfapi/parser/cpdf_boolean.cpp", |
+ "core/fpdfapi/parser/cpdf_boolean.h", |
+ "core/fpdfapi/parser/cpdf_crypto_handler.cpp", |
+ "core/fpdfapi/parser/cpdf_crypto_handler.h", |
+ "core/fpdfapi/parser/cpdf_data_avail.cpp", |
+ "core/fpdfapi/parser/cpdf_data_avail.h", |
+ "core/fpdfapi/parser/cpdf_dictionary.cpp", |
+ "core/fpdfapi/parser/cpdf_dictionary.h", |
+ "core/fpdfapi/parser/cpdf_document.cpp", |
+ "core/fpdfapi/parser/cpdf_document.h", |
+ "core/fpdfapi/parser/cpdf_hint_tables.cpp", |
+ "core/fpdfapi/parser/cpdf_hint_tables.h", |
+ "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp", |
+ "core/fpdfapi/parser/cpdf_indirect_object_holder.h", |
+ "core/fpdfapi/parser/cpdf_name.cpp", |
+ "core/fpdfapi/parser/cpdf_name.h", |
+ "core/fpdfapi/parser/cpdf_null.cpp", |
+ "core/fpdfapi/parser/cpdf_null.h", |
+ "core/fpdfapi/parser/cpdf_number.cpp", |
+ "core/fpdfapi/parser/cpdf_number.h", |
+ "core/fpdfapi/parser/cpdf_object.cpp", |
+ "core/fpdfapi/parser/cpdf_object.h", |
+ "core/fpdfapi/parser/cpdf_parser.cpp", |
+ "core/fpdfapi/parser/cpdf_parser.h", |
+ "core/fpdfapi/parser/cpdf_reference.cpp", |
+ "core/fpdfapi/parser/cpdf_reference.h", |
+ "core/fpdfapi/parser/cpdf_security_handler.cpp", |
+ "core/fpdfapi/parser/cpdf_security_handler.h", |
+ "core/fpdfapi/parser/cpdf_simple_parser.cpp", |
+ "core/fpdfapi/parser/cpdf_simple_parser.h", |
+ "core/fpdfapi/parser/cpdf_stream.cpp", |
+ "core/fpdfapi/parser/cpdf_stream.h", |
+ "core/fpdfapi/parser/cpdf_stream_acc.cpp", |
+ "core/fpdfapi/parser/cpdf_stream_acc.h", |
+ "core/fpdfapi/parser/cpdf_string.cpp", |
+ "core/fpdfapi/parser/cpdf_string.h", |
+ "core/fpdfapi/parser/cpdf_syntax_parser.cpp", |
+ "core/fpdfapi/parser/cpdf_syntax_parser.h", |
+ "core/fpdfapi/parser/fpdf_parser_decode.cpp", |
+ "core/fpdfapi/parser/fpdf_parser_decode.h", |
+ "core/fpdfapi/parser/fpdf_parser_utility.cpp", |
+ "core/fpdfapi/parser/fpdf_parser_utility.h", |
] |
configs += [ ":pdfium_core_config" ] |
deps = [ |
@@ -1638,14 +1638,14 @@ test("pdfium_unittests") { |
sources = [ |
"core/fpdfapi/font/fpdf_font_cid_unittest.cpp", |
"core/fpdfapi/font/fpdf_font_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
"core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp", |
"core/fpdfapi/page/fpdf_page_parser_unittest.cpp", |
+ "core/fpdfapi/parser/cpdf_array_unittest.cpp", |
+ "core/fpdfapi/parser/cpdf_object_unittest.cpp", |
+ "core/fpdfapi/parser/cpdf_parser_unittest.cpp", |
+ "core/fpdfapi/parser/cpdf_simple_parser_unittest.cpp", |
+ "core/fpdfapi/parser/cpdf_syntax_parser_unittest.cpp", |
+ "core/fpdfapi/parser/fpdf_parser_decode_unittest.cpp", |
"core/fpdfdoc/cpdf_filespec_unittest.cpp", |
"core/fpdfdoc/cpdf_formfield_unittest.cpp", |
"core/fpdftext/fpdf_text_int_unittest.cpp", |
@@ -1705,12 +1705,12 @@ test("pdfium_unittests") { |
test("pdfium_embeddertests") { |
sources = [ |
- "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", |
- "core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp", |
- "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
"core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", |
"core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
"core/fpdfapi/page/fpdf_page_func_embeddertest.cpp", |
+ "core/fpdfapi/parser/cpdf_parser_embeddertest.cpp", |
+ "core/fpdfapi/parser/cpdf_security_handler_embeddertest.cpp", |
+ "core/fpdfapi/parser/fpdf_parser_decode_embeddertest.cpp", |
"core/fxcodec/codec/fx_codec_embeddertest.cpp", |
"core/fxge/ge/fx_ge_text_embeddertest.cpp", |
"fpdfsdk/fpdf_dataavail_embeddertest.cpp", |