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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 if (is_clang) { | 673 if (is_clang) { |
674 cflags = [ | 674 cflags = [ |
675 # http://code.google.com/p/pdfium/issues/detail?id=188 | 675 # http://code.google.com/p/pdfium/issues/detail?id=188 |
676 "-Wno-switch", | 676 "-Wno-switch", |
677 ] | 677 ] |
678 } | 678 } |
679 } | 679 } |
680 | 680 |
681 static_library("fxcrt") { | 681 static_library("fxcrt") { |
682 sources = [ | 682 sources = [ |
| 683 "core/fxcrt/cfx_count_ref.h", |
| 684 "core/fxcrt/cfx_observable.h", |
| 685 "core/fxcrt/cfx_retain_ptr.h", |
683 "core/fxcrt/cfx_string_c_template.h", | 686 "core/fxcrt/cfx_string_c_template.h", |
684 "core/fxcrt/cfx_string_data_template.h", | 687 "core/fxcrt/cfx_string_data_template.h", |
| 688 "core/fxcrt/cfx_string_pool_template.h", |
| 689 "core/fxcrt/cfx_weak_ptr.h", |
685 "core/fxcrt/extension.h", | 690 "core/fxcrt/extension.h", |
| 691 "core/fxcrt/fx_basic.h", |
686 "core/fxcrt/fx_basic_array.cpp", | 692 "core/fxcrt/fx_basic_array.cpp", |
687 "core/fxcrt/fx_basic_bstring.cpp", | 693 "core/fxcrt/fx_basic_bstring.cpp", |
688 "core/fxcrt/fx_basic_buffer.cpp", | 694 "core/fxcrt/fx_basic_buffer.cpp", |
689 "core/fxcrt/fx_basic_coords.cpp", | 695 "core/fxcrt/fx_basic_coords.cpp", |
690 "core/fxcrt/fx_basic_gcc.cpp", | 696 "core/fxcrt/fx_basic_gcc.cpp", |
691 "core/fxcrt/fx_basic_list.cpp", | 697 "core/fxcrt/fx_basic_list.cpp", |
692 "core/fxcrt/fx_basic_memmgr.cpp", | 698 "core/fxcrt/fx_basic_memmgr.cpp", |
693 "core/fxcrt/fx_basic_plex.cpp", | 699 "core/fxcrt/fx_basic_plex.cpp", |
694 "core/fxcrt/fx_basic_utf.cpp", | 700 "core/fxcrt/fx_basic_utf.cpp", |
695 "core/fxcrt/fx_basic_util.cpp", | 701 "core/fxcrt/fx_basic_util.cpp", |
696 "core/fxcrt/fx_basic_wstring.cpp", | 702 "core/fxcrt/fx_basic_wstring.cpp", |
697 "core/fxcrt/fx_bidi.cpp", | 703 "core/fxcrt/fx_bidi.cpp", |
698 "core/fxcrt/fx_bidi.h", | 704 "core/fxcrt/fx_bidi.h", |
| 705 "core/fxcrt/fx_coordinates.h", |
| 706 "core/fxcrt/fx_ext.h", |
699 "core/fxcrt/fx_extension.cpp", | 707 "core/fxcrt/fx_extension.cpp", |
| 708 "core/fxcrt/fx_memory.h", |
| 709 "core/fxcrt/fx_safe_types.h", |
| 710 "core/fxcrt/fx_stream.h", |
| 711 "core/fxcrt/fx_string.h", |
| 712 "core/fxcrt/fx_system.h", |
| 713 "core/fxcrt/fx_ucd.h", |
700 "core/fxcrt/fx_ucddata.cpp", | 714 "core/fxcrt/fx_ucddata.cpp", |
701 "core/fxcrt/fx_unicode.cpp", | 715 "core/fxcrt/fx_unicode.cpp", |
| 716 "core/fxcrt/fx_xml.h", |
702 "core/fxcrt/fx_xml_composer.cpp", | 717 "core/fxcrt/fx_xml_composer.cpp", |
703 "core/fxcrt/fx_xml_parser.cpp", | 718 "core/fxcrt/fx_xml_parser.cpp", |
704 "core/fxcrt/fxcrt_posix.cpp", | 719 "core/fxcrt/fxcrt_posix.cpp", |
705 "core/fxcrt/fxcrt_posix.h", | 720 "core/fxcrt/fxcrt_posix.h", |
706 "core/fxcrt/fxcrt_stream.cpp", | 721 "core/fxcrt/fxcrt_stream.cpp", |
707 "core/fxcrt/fxcrt_windows.cpp", | 722 "core/fxcrt/fxcrt_windows.cpp", |
708 "core/fxcrt/fxcrt_windows.h", | 723 "core/fxcrt/fxcrt_windows.h", |
709 "core/fxcrt/include/cfx_count_ref.h", | |
710 "core/fxcrt/include/cfx_observable.h", | |
711 "core/fxcrt/include/cfx_retain_ptr.h", | |
712 "core/fxcrt/include/cfx_string_pool_template.h", | |
713 "core/fxcrt/include/cfx_weak_ptr.h", | |
714 "core/fxcrt/include/fx_basic.h", | |
715 "core/fxcrt/include/fx_coordinates.h", | |
716 "core/fxcrt/include/fx_ext.h", | |
717 "core/fxcrt/include/fx_memory.h", | |
718 "core/fxcrt/include/fx_safe_types.h", | |
719 "core/fxcrt/include/fx_stream.h", | |
720 "core/fxcrt/include/fx_string.h", | |
721 "core/fxcrt/include/fx_system.h", | |
722 "core/fxcrt/include/fx_ucd.h", | |
723 "core/fxcrt/include/fx_xml.h", | |
724 "core/fxcrt/plex.h", | 724 "core/fxcrt/plex.h", |
725 "core/fxcrt/xml_int.h", | 725 "core/fxcrt/xml_int.h", |
726 ] | 726 ] |
727 configs += [ ":pdfium_core_config" ] | 727 configs += [ ":pdfium_core_config" ] |
728 visibility += [ "third_party:*" ] | 728 visibility += [ "third_party:*" ] |
729 deps = [ | 729 deps = [ |
730 "third_party:pdfium_base", | 730 "third_party:pdfium_base", |
731 ] | 731 ] |
732 public_deps = [ | 732 public_deps = [ |
733 "third_party:pdfium_base", | 733 "third_party:pdfium_base", |
734 ] | 734 ] |
735 | 735 |
736 if (pdf_enable_xfa) { | 736 if (pdf_enable_xfa) { |
737 sources += [ | 737 sources += [ |
738 "core/fxcrt/fx_arabic.cpp", | 738 "core/fxcrt/fx_arabic.cpp", |
| 739 "core/fxcrt/fx_arabic.h", |
| 740 "core/fxcrt/fx_arb.h", |
739 "core/fxcrt/fx_basic_maps.cpp", | 741 "core/fxcrt/fx_basic_maps.cpp", |
740 "core/fxcrt/include/fx_arabic.h", | |
741 "core/fxcrt/include/fx_arb.h", | |
742 ] | 742 ] |
743 } | 743 } |
744 } | 744 } |
745 | 745 |
746 static_library("fxge") { | 746 static_library("fxge") { |
747 sources = [ | 747 sources = [ |
748 "core/fxge/android/fpf_skiafont.cpp", | 748 "core/fxge/android/fpf_skiafont.cpp", |
749 "core/fxge/android/fpf_skiafont.h", | 749 "core/fxge/android/fpf_skiafont.h", |
750 "core/fxge/android/fpf_skiafontmgr.cpp", | 750 "core/fxge/android/fpf_skiafontmgr.cpp", |
751 "core/fxge/android/fpf_skiafontmgr.h", | 751 "core/fxge/android/fpf_skiafontmgr.h", |
(...skipping 1004 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 |