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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 "core/fxge/android/cfpf_skiafilefont.h", | 752 "core/fxge/android/cfpf_skiafilefont.h", |
753 "core/fxge/android/cfpf_skiafont.cpp", | 753 "core/fxge/android/cfpf_skiafont.cpp", |
754 "core/fxge/android/cfpf_skiafont.h", | 754 "core/fxge/android/cfpf_skiafont.h", |
755 "core/fxge/android/cfpf_skiafontdescriptor.h", | 755 "core/fxge/android/cfpf_skiafontdescriptor.h", |
756 "core/fxge/android/cfpf_skiafontmgr.cpp", | 756 "core/fxge/android/cfpf_skiafontmgr.cpp", |
757 "core/fxge/android/cfpf_skiafontmgr.h", | 757 "core/fxge/android/cfpf_skiafontmgr.h", |
758 "core/fxge/android/cfpf_skiapathfont.h", | 758 "core/fxge/android/cfpf_skiapathfont.h", |
759 "core/fxge/android/cfx_androidfontinfo.cpp", | 759 "core/fxge/android/cfx_androidfontinfo.cpp", |
760 "core/fxge/android/cfx_androidfontinfo.h", | 760 "core/fxge/android/cfx_androidfontinfo.h", |
761 "core/fxge/android/fx_android_imp.cpp", | 761 "core/fxge/android/fx_android_imp.cpp", |
762 "core/fxge/apple/apple_int.h", | |
763 "core/fxge/apple/cfx_quartzdevice.h", | |
764 "core/fxge/apple/fx_mac_imp.cpp", | |
765 "core/fxge/apple/fx_quartz_device.cpp", | |
766 "core/fxge/cfx_facecache.h", | 762 "core/fxge/cfx_facecache.h", |
767 "core/fxge/cfx_fontcache.h", | 763 "core/fxge/cfx_fontcache.h", |
768 "core/fxge/cfx_fontmapper.h", | 764 "core/fxge/cfx_fontmapper.h", |
769 "core/fxge/cfx_fontmgr.h", | 765 "core/fxge/cfx_fontmgr.h", |
770 "core/fxge/cfx_fxgedevice.h", | 766 "core/fxge/cfx_fxgedevice.h", |
771 "core/fxge/cfx_gemodule.h", | 767 "core/fxge/cfx_gemodule.h", |
772 "core/fxge/cfx_graphstate.h", | 768 "core/fxge/cfx_graphstate.h", |
773 "core/fxge/cfx_graphstatedata.h", | 769 "core/fxge/cfx_graphstatedata.h", |
774 "core/fxge/cfx_pathdata.h", | 770 "core/fxge/cfx_pathdata.h", |
775 "core/fxge/cfx_renderdevice.h", | 771 "core/fxge/cfx_renderdevice.h", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 ] | 843 ] |
848 } | 844 } |
849 | 845 |
850 if (pdf_use_skia) { | 846 if (pdf_use_skia) { |
851 sources += [ "core/fxge/skia/fx_skia_device.cpp" ] | 847 sources += [ "core/fxge/skia/fx_skia_device.cpp" ] |
852 deps += [ "//skia" ] | 848 deps += [ "//skia" ] |
853 } else { | 849 } else { |
854 sources += [ | 850 sources += [ |
855 "core/fxge/agg/fx_agg_driver.cpp", | 851 "core/fxge/agg/fx_agg_driver.cpp", |
856 "core/fxge/agg/fx_agg_driver.h", | 852 "core/fxge/agg/fx_agg_driver.h", |
857 "core/fxge/apple/fx_apple_platform.cpp", | |
858 ] | 853 ] |
859 deps += [ "third_party:fx_agg" ] | 854 deps += [ "third_party:fx_agg" ] |
| 855 |
| 856 if (is_mac) { |
| 857 sources += [ "core/fxge/apple/fx_apple_platform.cpp" ] |
| 858 } |
860 } | 859 } |
861 | 860 |
862 if (is_win) { | 861 if (is_win) { |
863 sources += [ | 862 sources += [ |
864 "core/fxge/win32/dwrite_int.h", | 863 "core/fxge/win32/dwrite_int.h", |
865 "core/fxge/win32/fx_win32_device.cpp", | 864 "core/fxge/win32/fx_win32_device.cpp", |
866 "core/fxge/win32/fx_win32_dib.cpp", | 865 "core/fxge/win32/fx_win32_dib.cpp", |
867 "core/fxge/win32/fx_win32_dwrite.cpp", | 866 "core/fxge/win32/fx_win32_dwrite.cpp", |
868 "core/fxge/win32/fx_win32_gdipext.cpp", | 867 "core/fxge/win32/fx_win32_gdipext.cpp", |
869 "core/fxge/win32/fx_win32_print.cpp", | 868 "core/fxge/win32/fx_win32_print.cpp", |
870 "core/fxge/win32/win32_int.h", | 869 "core/fxge/win32/win32_int.h", |
871 ] | 870 ] |
872 configs -= [ "//build/config/win:lean_and_mean" ] | 871 configs -= [ "//build/config/win:lean_and_mean" ] |
873 } | 872 } |
| 873 |
| 874 if (is_mac) { |
| 875 sources += [ |
| 876 "core/fxge/apple/apple_int.h", |
| 877 "core/fxge/apple/fx_mac_imp.cpp", |
| 878 "core/fxge/apple/fx_quartz_device.cpp", |
| 879 ] |
| 880 } |
874 } | 881 } |
875 | 882 |
876 static_library("fxedit") { | 883 static_library("fxedit") { |
877 sources = [ | 884 sources = [ |
878 "fpdfsdk/fxedit/fx_edit.h", | 885 "fpdfsdk/fxedit/fx_edit.h", |
879 "fpdfsdk/fxedit/fxet_ap.cpp", | 886 "fpdfsdk/fxedit/fxet_ap.cpp", |
880 "fpdfsdk/fxedit/fxet_edit.cpp", | 887 "fpdfsdk/fxedit/fxet_edit.cpp", |
881 "fpdfsdk/fxedit/fxet_edit.h", | 888 "fpdfsdk/fxedit/fxet_edit.h", |
882 "fpdfsdk/fxedit/fxet_list.cpp", | 889 "fpdfsdk/fxedit/fxet_list.cpp", |
883 "fpdfsdk/fxedit/fxet_list.h", | 890 "fpdfsdk/fxedit/fxet_list.h", |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1759 "//samples", | 1766 "//samples", |
1760 ] | 1767 ] |
1761 } | 1768 } |
1762 group("fuzzers") { | 1769 group("fuzzers") { |
1763 testonly = true | 1770 testonly = true |
1764 deps = [ | 1771 deps = [ |
1765 "//testing/libfuzzer", | 1772 "//testing/libfuzzer", |
1766 ] | 1773 ] |
1767 } | 1774 } |
1768 } | 1775 } |
OLD | NEW |