OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("pdfium.gni") | 7 import("pdfium.gni") |
8 | 8 |
9 config("pdfium_common_config") { | 9 config("pdfium_common_config") { |
10 cflags = [] | 10 cflags = [] |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 "core/fpdfapi/font/cpdf_type1font.h", | 413 "core/fpdfapi/font/cpdf_type1font.h", |
414 "core/fpdfapi/font/cpdf_type3char.cpp", | 414 "core/fpdfapi/font/cpdf_type3char.cpp", |
415 "core/fpdfapi/font/cpdf_type3char.h", | 415 "core/fpdfapi/font/cpdf_type3char.h", |
416 "core/fpdfapi/font/cpdf_type3font.cpp", | 416 "core/fpdfapi/font/cpdf_type3font.cpp", |
417 "core/fpdfapi/font/cpdf_type3font.h", | 417 "core/fpdfapi/font/cpdf_type3font.h", |
418 "core/fpdfapi/font/font_int.h", | 418 "core/fpdfapi/font/font_int.h", |
419 "core/fpdfapi/font/fpdf_font.cpp", | 419 "core/fpdfapi/font/fpdf_font.cpp", |
420 "core/fpdfapi/font/fpdf_font_cid.cpp", | 420 "core/fpdfapi/font/fpdf_font_cid.cpp", |
421 "core/fpdfapi/font/ttgsubtable.cpp", | 421 "core/fpdfapi/font/ttgsubtable.cpp", |
422 "core/fpdfapi/font/ttgsubtable.h", | 422 "core/fpdfapi/font/ttgsubtable.h", |
423 "core/fpdfapi/fpdf_page/cpdf_allstates.cpp", | |
424 "core/fpdfapi/fpdf_page/cpdf_allstates.h", | |
425 "core/fpdfapi/fpdf_page/cpdf_clippath.cpp", | |
426 "core/fpdfapi/fpdf_page/cpdf_clippath.h", | |
427 "core/fpdfapi/fpdf_page/cpdf_color.cpp", | |
428 "core/fpdfapi/fpdf_page/cpdf_color.h", | |
429 "core/fpdfapi/fpdf_page/cpdf_colorspace.cpp", | |
430 "core/fpdfapi/fpdf_page/cpdf_colorspace.h", | |
431 "core/fpdfapi/fpdf_page/cpdf_colorstate.cpp", | |
432 "core/fpdfapi/fpdf_page/cpdf_colorstate.h", | |
433 "core/fpdfapi/fpdf_page/cpdf_contentmark.cpp", | |
434 "core/fpdfapi/fpdf_page/cpdf_contentmark.h", | |
435 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.cpp", | |
436 "core/fpdfapi/fpdf_page/cpdf_contentmarkitem.h", | |
437 "core/fpdfapi/fpdf_page/cpdf_countedobject.h", | |
438 "core/fpdfapi/fpdf_page/cpdf_form.cpp", | |
439 "core/fpdfapi/fpdf_page/cpdf_form.h", | |
440 "core/fpdfapi/fpdf_page/cpdf_formobject.cpp", | |
441 "core/fpdfapi/fpdf_page/cpdf_formobject.h", | |
442 "core/fpdfapi/fpdf_page/cpdf_generalstate.cpp", | |
443 "core/fpdfapi/fpdf_page/cpdf_generalstate.h", | |
444 "core/fpdfapi/fpdf_page/cpdf_graphicstates.cpp", | |
445 "core/fpdfapi/fpdf_page/cpdf_graphicstates.h", | |
446 "core/fpdfapi/fpdf_page/cpdf_image.cpp", | |
447 "core/fpdfapi/fpdf_page/cpdf_image.h", | |
448 "core/fpdfapi/fpdf_page/cpdf_imageobject.cpp", | |
449 "core/fpdfapi/fpdf_page/cpdf_imageobject.h", | |
450 "core/fpdfapi/fpdf_page/cpdf_meshstream.cpp", | |
451 "core/fpdfapi/fpdf_page/cpdf_meshstream.h", | |
452 "core/fpdfapi/fpdf_page/cpdf_page.cpp", | |
453 "core/fpdfapi/fpdf_page/cpdf_page.h", | |
454 "core/fpdfapi/fpdf_page/cpdf_pagemodule.cpp", | |
455 "core/fpdfapi/fpdf_page/cpdf_pagemodule.h", | |
456 "core/fpdfapi/fpdf_page/cpdf_pageobject.cpp", | |
457 "core/fpdfapi/fpdf_page/cpdf_pageobject.h", | |
458 "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.cpp", | |
459 "core/fpdfapi/fpdf_page/cpdf_pageobjectholder.h", | |
460 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.cpp", | |
461 "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h", | |
462 "core/fpdfapi/fpdf_page/cpdf_path.cpp", | |
463 "core/fpdfapi/fpdf_page/cpdf_path.h", | |
464 "core/fpdfapi/fpdf_page/cpdf_pathobject.cpp", | |
465 "core/fpdfapi/fpdf_page/cpdf_pathobject.h", | |
466 "core/fpdfapi/fpdf_page/cpdf_pattern.cpp", | |
467 "core/fpdfapi/fpdf_page/cpdf_pattern.h", | |
468 "core/fpdfapi/fpdf_page/cpdf_shadingobject.cpp", | |
469 "core/fpdfapi/fpdf_page/cpdf_shadingobject.h", | |
470 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.cpp", | |
471 "core/fpdfapi/fpdf_page/cpdf_shadingpattern.h", | |
472 "core/fpdfapi/fpdf_page/cpdf_textobject.cpp", | |
473 "core/fpdfapi/fpdf_page/cpdf_textobject.h", | |
474 "core/fpdfapi/fpdf_page/cpdf_textstate.cpp", | |
475 "core/fpdfapi/fpdf_page/cpdf_textstate.h", | |
476 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.cpp", | |
477 "core/fpdfapi/fpdf_page/cpdf_tilingpattern.h", | |
478 "core/fpdfapi/fpdf_page/fpdf_page_colors.cpp", | |
479 "core/fpdfapi/fpdf_page/fpdf_page_doc.cpp", | |
480 "core/fpdfapi/fpdf_page/fpdf_page_func.cpp", | |
481 "core/fpdfapi/fpdf_page/fpdf_page_parser.cpp", | |
482 "core/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp", | |
483 "core/fpdfapi/fpdf_page/pageint.h", | |
484 "core/fpdfapi/fpdf_parser/cfdf_document.cpp", | 423 "core/fpdfapi/fpdf_parser/cfdf_document.cpp", |
485 "core/fpdfapi/fpdf_parser/cfdf_document.h", | 424 "core/fpdfapi/fpdf_parser/cfdf_document.h", |
486 "core/fpdfapi/fpdf_parser/cpdf_array.cpp", | 425 "core/fpdfapi/fpdf_parser/cpdf_array.cpp", |
487 "core/fpdfapi/fpdf_parser/cpdf_array.h", | 426 "core/fpdfapi/fpdf_parser/cpdf_array.h", |
488 "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp", | 427 "core/fpdfapi/fpdf_parser/cpdf_boolean.cpp", |
489 "core/fpdfapi/fpdf_parser/cpdf_boolean.h", | 428 "core/fpdfapi/fpdf_parser/cpdf_boolean.h", |
490 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp", | 429 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.cpp", |
491 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h", | 430 "core/fpdfapi/fpdf_parser/cpdf_crypto_handler.h", |
492 "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp", | 431 "core/fpdfapi/fpdf_parser/cpdf_data_avail.cpp", |
493 "core/fpdfapi/fpdf_parser/cpdf_data_avail.h", | 432 "core/fpdfapi/fpdf_parser/cpdf_data_avail.h", |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 "core/fpdfapi/fpdf_render/cpdf_type3cache.h", | 475 "core/fpdfapi/fpdf_render/cpdf_type3cache.h", |
537 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp", | 476 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.cpp", |
538 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h", | 477 "core/fpdfapi/fpdf_render/cpdf_type3glyphs.h", |
539 "core/fpdfapi/fpdf_render/fpdf_render.cpp", | 478 "core/fpdfapi/fpdf_render/fpdf_render.cpp", |
540 "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp", | 479 "core/fpdfapi/fpdf_render/fpdf_render_cache.cpp", |
541 "core/fpdfapi/fpdf_render/fpdf_render_image.cpp", | 480 "core/fpdfapi/fpdf_render/fpdf_render_image.cpp", |
542 "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", | 481 "core/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", |
543 "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", | 482 "core/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", |
544 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp", | 483 "core/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
545 "core/fpdfapi/fpdf_render/render_int.h", | 484 "core/fpdfapi/fpdf_render/render_int.h", |
| 485 "core/fpdfapi/page/cpdf_allstates.cpp", |
| 486 "core/fpdfapi/page/cpdf_allstates.h", |
| 487 "core/fpdfapi/page/cpdf_clippath.cpp", |
| 488 "core/fpdfapi/page/cpdf_clippath.h", |
| 489 "core/fpdfapi/page/cpdf_color.cpp", |
| 490 "core/fpdfapi/page/cpdf_color.h", |
| 491 "core/fpdfapi/page/cpdf_colorspace.cpp", |
| 492 "core/fpdfapi/page/cpdf_colorspace.h", |
| 493 "core/fpdfapi/page/cpdf_colorstate.cpp", |
| 494 "core/fpdfapi/page/cpdf_colorstate.h", |
| 495 "core/fpdfapi/page/cpdf_contentmark.cpp", |
| 496 "core/fpdfapi/page/cpdf_contentmark.h", |
| 497 "core/fpdfapi/page/cpdf_contentmarkitem.cpp", |
| 498 "core/fpdfapi/page/cpdf_contentmarkitem.h", |
| 499 "core/fpdfapi/page/cpdf_countedobject.h", |
| 500 "core/fpdfapi/page/cpdf_form.cpp", |
| 501 "core/fpdfapi/page/cpdf_form.h", |
| 502 "core/fpdfapi/page/cpdf_formobject.cpp", |
| 503 "core/fpdfapi/page/cpdf_formobject.h", |
| 504 "core/fpdfapi/page/cpdf_generalstate.cpp", |
| 505 "core/fpdfapi/page/cpdf_generalstate.h", |
| 506 "core/fpdfapi/page/cpdf_graphicstates.cpp", |
| 507 "core/fpdfapi/page/cpdf_graphicstates.h", |
| 508 "core/fpdfapi/page/cpdf_image.cpp", |
| 509 "core/fpdfapi/page/cpdf_image.h", |
| 510 "core/fpdfapi/page/cpdf_imageobject.cpp", |
| 511 "core/fpdfapi/page/cpdf_imageobject.h", |
| 512 "core/fpdfapi/page/cpdf_meshstream.cpp", |
| 513 "core/fpdfapi/page/cpdf_meshstream.h", |
| 514 "core/fpdfapi/page/cpdf_page.cpp", |
| 515 "core/fpdfapi/page/cpdf_page.h", |
| 516 "core/fpdfapi/page/cpdf_pagemodule.cpp", |
| 517 "core/fpdfapi/page/cpdf_pagemodule.h", |
| 518 "core/fpdfapi/page/cpdf_pageobject.cpp", |
| 519 "core/fpdfapi/page/cpdf_pageobject.h", |
| 520 "core/fpdfapi/page/cpdf_pageobjectholder.cpp", |
| 521 "core/fpdfapi/page/cpdf_pageobjectholder.h", |
| 522 "core/fpdfapi/page/cpdf_pageobjectlist.cpp", |
| 523 "core/fpdfapi/page/cpdf_pageobjectlist.h", |
| 524 "core/fpdfapi/page/cpdf_path.cpp", |
| 525 "core/fpdfapi/page/cpdf_path.h", |
| 526 "core/fpdfapi/page/cpdf_pathobject.cpp", |
| 527 "core/fpdfapi/page/cpdf_pathobject.h", |
| 528 "core/fpdfapi/page/cpdf_pattern.cpp", |
| 529 "core/fpdfapi/page/cpdf_pattern.h", |
| 530 "core/fpdfapi/page/cpdf_shadingobject.cpp", |
| 531 "core/fpdfapi/page/cpdf_shadingobject.h", |
| 532 "core/fpdfapi/page/cpdf_shadingpattern.cpp", |
| 533 "core/fpdfapi/page/cpdf_shadingpattern.h", |
| 534 "core/fpdfapi/page/cpdf_textobject.cpp", |
| 535 "core/fpdfapi/page/cpdf_textobject.h", |
| 536 "core/fpdfapi/page/cpdf_textstate.cpp", |
| 537 "core/fpdfapi/page/cpdf_textstate.h", |
| 538 "core/fpdfapi/page/cpdf_tilingpattern.cpp", |
| 539 "core/fpdfapi/page/cpdf_tilingpattern.h", |
| 540 "core/fpdfapi/page/fpdf_page_colors.cpp", |
| 541 "core/fpdfapi/page/fpdf_page_doc.cpp", |
| 542 "core/fpdfapi/page/fpdf_page_func.cpp", |
| 543 "core/fpdfapi/page/fpdf_page_parser.cpp", |
| 544 "core/fpdfapi/page/fpdf_page_parser_old.cpp", |
| 545 "core/fpdfapi/page/pageint.h", |
546 ] | 546 ] |
547 configs += [ ":pdfium_core_config" ] | 547 configs += [ ":pdfium_core_config" ] |
548 deps = [ | 548 deps = [ |
549 ":fxcrt", | 549 ":fxcrt", |
550 ] | 550 ] |
551 } | 551 } |
552 | 552 |
553 static_library("fpdftext") { | 553 static_library("fpdftext") { |
554 sources = [ | 554 sources = [ |
555 "core/fpdftext/cpdf_linkextract.cpp", | 555 "core/fpdftext/cpdf_linkextract.cpp", |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1631 ":pdfium_core_config", | 1631 ":pdfium_core_config", |
1632 ":xfa_warnings", | 1632 ":xfa_warnings", |
1633 ] | 1633 ] |
1634 } | 1634 } |
1635 } | 1635 } |
1636 | 1636 |
1637 test("pdfium_unittests") { | 1637 test("pdfium_unittests") { |
1638 sources = [ | 1638 sources = [ |
1639 "core/fpdfapi/font/fpdf_font_cid_unittest.cpp", | 1639 "core/fpdfapi/font/fpdf_font_cid_unittest.cpp", |
1640 "core/fpdfapi/font/fpdf_font_unittest.cpp", | 1640 "core/fpdfapi/font/fpdf_font_unittest.cpp", |
1641 "core/fpdfapi/fpdf_page/fpdf_page_parser_old_unittest.cpp", | |
1642 "core/fpdfapi/fpdf_page/fpdf_page_parser_unittest.cpp", | |
1643 "core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp", | 1641 "core/fpdfapi/fpdf_parser/cpdf_array_unittest.cpp", |
1644 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", | 1642 "core/fpdfapi/fpdf_parser/cpdf_object_unittest.cpp", |
1645 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", | 1643 "core/fpdfapi/fpdf_parser/cpdf_parser_unittest.cpp", |
1646 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", | 1644 "core/fpdfapi/fpdf_parser/cpdf_simple_parser_unittest.cpp", |
1647 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", | 1645 "core/fpdfapi/fpdf_parser/cpdf_syntax_parser_unittest.cpp", |
1648 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", | 1646 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_unittest.cpp", |
| 1647 "core/fpdfapi/page/fpdf_page_parser_old_unittest.cpp", |
| 1648 "core/fpdfapi/page/fpdf_page_parser_unittest.cpp", |
1649 "core/fpdfdoc/cpdf_filespec_unittest.cpp", | 1649 "core/fpdfdoc/cpdf_filespec_unittest.cpp", |
1650 "core/fpdfdoc/cpdf_formfield_unittest.cpp", | 1650 "core/fpdfdoc/cpdf_formfield_unittest.cpp", |
1651 "core/fpdftext/fpdf_text_int_unittest.cpp", | 1651 "core/fpdftext/fpdf_text_int_unittest.cpp", |
1652 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", | 1652 "core/fxcodec/codec/fx_codec_jpx_unittest.cpp", |
1653 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp", | 1653 "core/fxcodec/jbig2/JBig2_Image_unittest.cpp", |
1654 "core/fxcrt/cfx_count_ref_unittest.cpp", | 1654 "core/fxcrt/cfx_count_ref_unittest.cpp", |
1655 "core/fxcrt/cfx_observable_unittest.cpp", | 1655 "core/fxcrt/cfx_observable_unittest.cpp", |
1656 "core/fxcrt/cfx_retain_ptr_unittest.cpp", | 1656 "core/fxcrt/cfx_retain_ptr_unittest.cpp", |
1657 "core/fxcrt/cfx_string_pool_template_unittest.cpp", | 1657 "core/fxcrt/cfx_string_pool_template_unittest.cpp", |
1658 "core/fxcrt/cfx_weak_ptr_unittest.cpp", | 1658 "core/fxcrt/cfx_weak_ptr_unittest.cpp", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 } | 1698 } |
1699 configs += [ ":pdfium_core_config" ] | 1699 configs += [ ":pdfium_core_config" ] |
1700 if (is_android) { | 1700 if (is_android) { |
1701 ignore_all_data_deps = true | 1701 ignore_all_data_deps = true |
1702 use_raw_android_executable = true | 1702 use_raw_android_executable = true |
1703 } | 1703 } |
1704 } | 1704 } |
1705 | 1705 |
1706 test("pdfium_embeddertests") { | 1706 test("pdfium_embeddertests") { |
1707 sources = [ | 1707 sources = [ |
1708 "core/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | |
1709 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", | 1708 "core/fpdfapi/fpdf_parser/cpdf_parser_embeddertest.cpp", |
1710 "core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp", | 1709 "core/fpdfapi/fpdf_parser/cpdf_security_handler_embeddertest.cpp", |
1711 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1710 "core/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
1712 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", | 1711 "core/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", |
1713 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", | 1712 "core/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp", |
| 1713 "core/fpdfapi/page/fpdf_page_func_embeddertest.cpp", |
1714 "core/fxcodec/codec/fx_codec_embeddertest.cpp", | 1714 "core/fxcodec/codec/fx_codec_embeddertest.cpp", |
1715 "core/fxge/ge/fx_ge_text_embeddertest.cpp", | 1715 "core/fxge/ge/fx_ge_text_embeddertest.cpp", |
1716 "fpdfsdk/fpdf_dataavail_embeddertest.cpp", | 1716 "fpdfsdk/fpdf_dataavail_embeddertest.cpp", |
1717 "fpdfsdk/fpdfdoc_embeddertest.cpp", | 1717 "fpdfsdk/fpdfdoc_embeddertest.cpp", |
1718 "fpdfsdk/fpdfedit_embeddertest.cpp", | 1718 "fpdfsdk/fpdfedit_embeddertest.cpp", |
1719 "fpdfsdk/fpdfext_embeddertest.cpp", | 1719 "fpdfsdk/fpdfext_embeddertest.cpp", |
1720 "fpdfsdk/fpdfformfill_embeddertest.cpp", | 1720 "fpdfsdk/fpdfformfill_embeddertest.cpp", |
1721 "fpdfsdk/fpdfsave_embeddertest.cpp", | 1721 "fpdfsdk/fpdfsave_embeddertest.cpp", |
1722 "fpdfsdk/fpdftext_embeddertest.cpp", | 1722 "fpdfsdk/fpdftext_embeddertest.cpp", |
1723 "fpdfsdk/fpdfview_c_api_test.c", | 1723 "fpdfsdk/fpdfview_c_api_test.c", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1756 } | 1756 } |
1757 | 1757 |
1758 if (pdf_is_standalone) { | 1758 if (pdf_is_standalone) { |
1759 source_set("samples") { | 1759 source_set("samples") { |
1760 testonly = true | 1760 testonly = true |
1761 deps = [ | 1761 deps = [ |
1762 "//samples", | 1762 "//samples", |
1763 ] | 1763 ] |
1764 } | 1764 } |
1765 } | 1765 } |
OLD | NEW |