Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: pdfium.gyp

Issue 402463002: Replace agg with skia (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix clang compile error Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 'variables': {
3 'pdf_use_skia%': 0,
4 },
5 'target_defaults': { 2 'target_defaults': {
6 'defines' : [ 3 'defines' : [
7 'FOXIT_CHROME_BUILD', 4 'FOXIT_CHROME_BUILD',
8 '_FXFT_VERSION_=2501', 5 '_FXFT_VERSION_=2501',
9 '_FPDFSDK_LIB', 6 '_FPDFSDK_LIB',
10 '_NO_GDIPLUS_', # workaround text rendering issues on Windows 7 '_NO_GDIPLUS_', # workaround text rendering issues on Windows
11 ], 8 ],
12 'conditions': [ 9 'conditions': [
13 ['pdf_use_skia==1', {
14 'defines': ['_SKIA_SUPPORT_'],
15 }],
16 ['OS=="linux"', { 10 ['OS=="linux"', {
17 'cflags!': [ 11 'cflags!': [
18 '-fno-exceptions', 12 '-fno-exceptions',
19 ], 13 ],
20 'conditions': [ 14 'conditions': [
21 ['target_arch=="x64"', { 15 ['target_arch=="x64"', {
22 'defines' : [ 16 'defines' : [
23 '_FX_CPU_=_FX_X64_', 17 '_FX_CPU_=_FX_X64_',
24 ], 18 ],
25 'cflags': [ 19 'cflags': [
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 'core/src/fxcrt/fx_unicode.cpp', 537 'core/src/fxcrt/fx_unicode.cpp',
544 'core/src/fxcrt/fx_xml_composer.cpp', 538 'core/src/fxcrt/fx_xml_composer.cpp',
545 'core/src/fxcrt/fx_xml_parser.cpp', 539 'core/src/fxcrt/fx_xml_parser.cpp',
546 'core/src/fxcrt/plex.h', 540 'core/src/fxcrt/plex.h',
547 'core/src/fxcrt/xml_int.h', 541 'core/src/fxcrt/xml_int.h',
548 ], 542 ],
549 }, 543 },
550 { 544 {
551 'target_name': 'fxge', 545 'target_name': 'fxge',
552 'type': 'static_library', 546 'type': 'static_library',
547 'dependencies': [
548 '<(DEPTH)/skia/skia.gyp:skia',
549 ],
553 'ldflags': [ '-L<(PRODUCT_DIR)',], 550 'ldflags': [ '-L<(PRODUCT_DIR)',],
554 'sources': [ 551 'sources': [
555 'core/include/fxge/fpf.h', 552 'core/include/fxge/fpf.h',
556 'core/include/fxge/fx_dib.h', 553 'core/include/fxge/fx_dib.h',
557 'core/include/fxge/fx_font.h', 554 'core/include/fxge/fx_font.h',
558 'core/include/fxge/fx_freetype.h', 555 'core/include/fxge/fx_freetype.h',
559 'core/include/fxge/fx_ge.h', 556 'core/include/fxge/fx_ge.h',
560 'core/include/fxge/fx_ge_apple.h', 557 'core/include/fxge/fx_ge_apple.h',
561 'core/include/fxge/fx_ge_win32.h', 558 'core/include/fxge/fx_ge_win32.h',
562 'core/src/fxge/agg/include/fxfx_agg_basics.h',
563 'core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h',
564 'core/src/fxge/agg/include/fxfx_agg_conv_dash.h',
565 'core/src/fxge/agg/include/fxfx_agg_conv_stroke.h',
566 'core/src/fxge/agg/include/fxfx_agg_curves.h',
567 'core/src/fxge/agg/include/fxfx_agg_path_storage.h',
568 'core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h',
569 'core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h',
570 'core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h',
571 'core/src/fxge/agg/include/fxfx_agg_scanline_u.h',
572 'core/src/fxge/agg/include/fx_agg_driver.h',
573 'core/src/fxge/agg/src/fxfx_agg_curves.cpp',
574 'core/src/fxge/agg/src/fxfx_agg_driver.cpp',
575 'core/src/fxge/agg/src/fxfx_agg_path_storage.cpp',
576 'core/src/fxge/agg/src/fxfx_agg_rasterizer_scanline_aa.cpp',
577 'core/src/fxge/agg/src/fxfx_agg_vcgen_dash.cpp',
578 'core/src/fxge/agg/src/fxfx_agg_vcgen_stroke.cpp',
579 'core/src/fxge/android/fpf_skiafont.cpp', 559 'core/src/fxge/android/fpf_skiafont.cpp',
580 'core/src/fxge/android/fpf_skiafont.h', 560 'core/src/fxge/android/fpf_skiafont.h',
581 'core/src/fxge/android/fpf_skiafontmgr.cpp', 561 'core/src/fxge/android/fpf_skiafontmgr.cpp',
582 'core/src/fxge/android/fpf_skiafontmgr.h', 562 'core/src/fxge/android/fpf_skiafontmgr.h',
583 'core/src/fxge/android/fpf_skiamodule.cpp', 563 'core/src/fxge/android/fpf_skiamodule.cpp',
584 'core/src/fxge/android/fpf_skiamodule.h', 564 'core/src/fxge/android/fpf_skiamodule.h',
585 'core/src/fxge/android/fx_android_font.cpp', 565 'core/src/fxge/android/fx_android_font.cpp',
586 'core/src/fxge/android/fx_android_font.h', 566 'core/src/fxge/android/fx_android_font.h',
587 'core/src/fxge/android/fx_android_imp.cpp', 567 'core/src/fxge/android/fx_android_imp.cpp',
588 'core/src/fxge/android/fx_fpf.h', 568 'core/src/fxge/android/fx_fpf.h',
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 'core/src/fxge/fx_freetype/src/fxft_type1cid.c', 622 'core/src/fxge/fx_freetype/src/fxft_type1cid.c',
643 'core/src/fxge/ge/fx_ge.cpp', 623 'core/src/fxge/ge/fx_ge.cpp',
644 'core/src/fxge/ge/fx_ge_device.cpp', 624 'core/src/fxge/ge/fx_ge_device.cpp',
645 'core/src/fxge/ge/fx_ge_font.cpp', 625 'core/src/fxge/ge/fx_ge_font.cpp',
646 'core/src/fxge/ge/fx_ge_fontmap.cpp', 626 'core/src/fxge/ge/fx_ge_fontmap.cpp',
647 'core/src/fxge/ge/fx_ge_linux.cpp', 627 'core/src/fxge/ge/fx_ge_linux.cpp',
648 'core/src/fxge/ge/fx_ge_path.cpp', 628 'core/src/fxge/ge/fx_ge_path.cpp',
649 'core/src/fxge/ge/fx_ge_ps.cpp', 629 'core/src/fxge/ge/fx_ge_ps.cpp',
650 'core/src/fxge/ge/fx_ge_text.cpp', 630 'core/src/fxge/ge/fx_ge_text.cpp',
651 'core/src/fxge/ge/text_int.h', 631 'core/src/fxge/ge/text_int.h',
632 'core/src/fxge/skia/fx_skia_blitter.cpp',
633 'core/src/fxge/skia/fx_skia_driver.cpp',
652 ], 634 ],
653 'conditions': [ 635 'conditions': [
654 ['pdf_use_skia==1', {
655 'sources': [
656 'core/src/fxge/skia/fx_skia_blitter_new.cpp',
657 'core/src/fxge/skia/fx_skia_device.cpp',
658 ],
659 'dependencies': [
660 '<(DEPTH)/skia/skia.gyp:skia',
661 ],
662 'include_dirs': [
663 '<(DEPTH)/third_party/skia/include/config',
664 '<(DEPTH)/third_party/skia/include/core',
665 '<(DEPTH)/third_party/skia/include/effects',
666 '<(DEPTH)/third_party/skia/include/images',
667 '<(DEPTH)/third_party/skia/include/lazy',
668 '<(DEPTH)/third_party/skia/include/pathops',
669 '<(DEPTH)/third_party/skia/include/utils',
670 '<(DEPTH)/third_party/skia/src/core',
671 ],
672 }],
673 ['OS=="win"', { 636 ['OS=="win"', {
674 'defines!': [ 637 'defines!': [
675 'NOMINMAX', 638 'NOMINMAX',
676 'WIN32_LEAN_AND_MEAN' 639 'WIN32_LEAN_AND_MEAN'
677 ], 640 ],
678 'sources': [ 641 'sources': [
679 'core/src/fxge/win32/dwrite_int.h', 642 'core/src/fxge/win32/dwrite_int.h',
680 'core/src/fxge/win32/fx_win32_device.cpp', 643 'core/src/fxge/win32/fx_win32_device.cpp',
681 'core/src/fxge/win32/fx_win32_dib.cpp', 644 'core/src/fxge/win32/fx_win32_dib.cpp',
682 'core/src/fxge/win32/fx_win32_dwrite.cpp', 645 'core/src/fxge/win32/fx_win32_dwrite.cpp',
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 'fpdfsdk/src/formfiller/FFL_ListBox.cpp', 813 'fpdfsdk/src/formfiller/FFL_ListBox.cpp',
851 'fpdfsdk/src/formfiller/FFL_Notify.cpp', 814 'fpdfsdk/src/formfiller/FFL_Notify.cpp',
852 'fpdfsdk/src/formfiller/FFL_PushButton.cpp', 815 'fpdfsdk/src/formfiller/FFL_PushButton.cpp',
853 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp', 816 'fpdfsdk/src/formfiller/FFL_RadioButton.cpp',
854 'fpdfsdk/src/formfiller/FFL_TextField.cpp', 817 'fpdfsdk/src/formfiller/FFL_TextField.cpp',
855 'fpdfsdk/src/formfiller/FFL_Utils.cpp', 818 'fpdfsdk/src/formfiller/FFL_Utils.cpp',
856 ], 819 ],
857 }, 820 },
858 ], 821 ],
859 } 822 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfview.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698