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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 static_library("pdfium") { | 63 static_library("pdfium") { |
64 sources = [ | 64 sources = [ |
65 "fpdfsdk/cba_annotiterator.cpp", | 65 "fpdfsdk/cba_annotiterator.cpp", |
66 "fpdfsdk/cfx_systemhandler.cpp", | 66 "fpdfsdk/cfx_systemhandler.cpp", |
67 "fpdfsdk/cfx_systemhandler.h", | 67 "fpdfsdk/cfx_systemhandler.h", |
68 "fpdfsdk/cpdfsdk_annot.cpp", | 68 "fpdfsdk/cpdfsdk_annot.cpp", |
69 "fpdfsdk/cpdfsdk_annothandlermgr.cpp", | 69 "fpdfsdk/cpdfsdk_annothandlermgr.cpp", |
70 "fpdfsdk/cpdfsdk_annotiterator.cpp", | 70 "fpdfsdk/cpdfsdk_annotiterator.cpp", |
71 "fpdfsdk/cpdfsdk_baannot.cpp", | 71 "fpdfsdk/cpdfsdk_baannot.cpp", |
72 "fpdfsdk/cpdfsdk_baannothandler.cpp", | 72 "fpdfsdk/cpdfsdk_baannothandler.cpp", |
73 "fpdfsdk/cpdfsdk_bfannothandler.cpp", | |
74 "fpdfsdk/cpdfsdk_datetime.cpp", | 73 "fpdfsdk/cpdfsdk_datetime.cpp", |
75 "fpdfsdk/cpdfsdk_interform.cpp", | 74 "fpdfsdk/cpdfsdk_interform.cpp", |
76 "fpdfsdk/cpdfsdk_widget.cpp", | 75 "fpdfsdk/cpdfsdk_widget.cpp", |
| 76 "fpdfsdk/cpdfsdk_widgethandler.cpp", |
77 "fpdfsdk/fpdf_dataavail.cpp", | 77 "fpdfsdk/fpdf_dataavail.cpp", |
78 "fpdfsdk/fpdf_ext.cpp", | 78 "fpdfsdk/fpdf_ext.cpp", |
79 "fpdfsdk/fpdf_flatten.cpp", | 79 "fpdfsdk/fpdf_flatten.cpp", |
80 "fpdfsdk/fpdf_progressive.cpp", | 80 "fpdfsdk/fpdf_progressive.cpp", |
81 "fpdfsdk/fpdf_searchex.cpp", | 81 "fpdfsdk/fpdf_searchex.cpp", |
82 "fpdfsdk/fpdf_sysfontinfo.cpp", | 82 "fpdfsdk/fpdf_sysfontinfo.cpp", |
83 "fpdfsdk/fpdf_transformpage.cpp", | 83 "fpdfsdk/fpdf_transformpage.cpp", |
84 "fpdfsdk/fpdfdoc.cpp", | 84 "fpdfsdk/fpdfdoc.cpp", |
85 "fpdfsdk/fpdfeditimg.cpp", | 85 "fpdfsdk/fpdfeditimg.cpp", |
86 "fpdfsdk/fpdfeditpage.cpp", | 86 "fpdfsdk/fpdfeditpage.cpp", |
87 "fpdfsdk/fpdfformfill.cpp", | 87 "fpdfsdk/fpdfformfill.cpp", |
88 "fpdfsdk/fpdfppo.cpp", | 88 "fpdfsdk/fpdfppo.cpp", |
89 "fpdfsdk/fpdfsave.cpp", | 89 "fpdfsdk/fpdfsave.cpp", |
90 "fpdfsdk/fpdftext.cpp", | 90 "fpdfsdk/fpdftext.cpp", |
91 "fpdfsdk/fpdfview.cpp", | 91 "fpdfsdk/fpdfview.cpp", |
92 "fpdfsdk/fsdk_actionhandler.cpp", | 92 "fpdfsdk/fsdk_actionhandler.cpp", |
93 "fpdfsdk/fsdk_mgr.cpp", | 93 "fpdfsdk/fsdk_mgr.cpp", |
94 "fpdfsdk/fsdk_pauseadapter.cpp", | 94 "fpdfsdk/fsdk_pauseadapter.cpp", |
95 "fpdfsdk/include/cba_annotiterator.h", | 95 "fpdfsdk/include/cba_annotiterator.h", |
96 "fpdfsdk/include/cpdfsdk_annot.h", | 96 "fpdfsdk/include/cpdfsdk_annot.h", |
97 "fpdfsdk/include/cpdfsdk_annothandlermgr.h", | 97 "fpdfsdk/include/cpdfsdk_annothandlermgr.h", |
98 "fpdfsdk/include/cpdfsdk_annotiterator.h", | 98 "fpdfsdk/include/cpdfsdk_annotiterator.h", |
99 "fpdfsdk/include/cpdfsdk_baannot.h", | 99 "fpdfsdk/include/cpdfsdk_baannot.h", |
100 "fpdfsdk/include/cpdfsdk_baannothandler.h", | 100 "fpdfsdk/include/cpdfsdk_baannothandler.h", |
101 "fpdfsdk/include/cpdfsdk_bfannothandler.h", | |
102 "fpdfsdk/include/cpdfsdk_datetime.h", | 101 "fpdfsdk/include/cpdfsdk_datetime.h", |
103 "fpdfsdk/include/cpdfsdk_interform.h", | 102 "fpdfsdk/include/cpdfsdk_interform.h", |
104 "fpdfsdk/include/cpdfsdk_widget.h", | 103 "fpdfsdk/include/cpdfsdk_widget.h", |
| 104 "fpdfsdk/include/cpdfsdk_widgethandler.h", |
105 "fpdfsdk/include/fsdk_actionhandler.h", | 105 "fpdfsdk/include/fsdk_actionhandler.h", |
106 "fpdfsdk/include/fsdk_pauseadapter.h", | 106 "fpdfsdk/include/fsdk_pauseadapter.h", |
107 "fpdfsdk/include/pdfsdk_fieldaction.h", | 107 "fpdfsdk/include/pdfsdk_fieldaction.h", |
108 "fpdfsdk/pdfsdk_fieldaction.cpp", | 108 "fpdfsdk/pdfsdk_fieldaction.cpp", |
109 "public/fpdf_dataavail.h", | 109 "public/fpdf_dataavail.h", |
110 "public/fpdf_doc.h", | 110 "public/fpdf_doc.h", |
111 "public/fpdf_edit.h", | 111 "public/fpdf_edit.h", |
112 "public/fpdf_ext.h", | 112 "public/fpdf_ext.h", |
113 "public/fpdf_flatten.h", | 113 "public/fpdf_flatten.h", |
114 "public/fpdf_formfill.h", | 114 "public/fpdf_formfill.h", |
(...skipping 22 matching lines...) Expand all Loading... |
137 ":fxedit", | 137 ":fxedit", |
138 ":fxge", | 138 ":fxge", |
139 ":javascript", | 139 ":javascript", |
140 ":pdfwindow", | 140 ":pdfwindow", |
141 "third_party:bigint", | 141 "third_party:bigint", |
142 "third_party:pdfium_base", | 142 "third_party:pdfium_base", |
143 ] | 143 ] |
144 | 144 |
145 if (pdf_enable_xfa) { | 145 if (pdf_enable_xfa) { |
146 sources += [ | 146 sources += [ |
147 "fpdfsdk/cpdfsdk_xfaannothandler.cpp", | |
148 "fpdfsdk/cpdfsdk_xfawidget.cpp", | 147 "fpdfsdk/cpdfsdk_xfawidget.cpp", |
149 "fpdfsdk/include/cpdfsdk_xfaannothandler.h", | 148 "fpdfsdk/cpdfsdk_xfawidgethandler.cpp", |
150 "fpdfsdk/include/cpdfsdk_xfawidget.h", | 149 "fpdfsdk/include/cpdfsdk_xfawidget.h", |
| 150 "fpdfsdk/include/cpdfsdk_xfawidgethandler.h", |
151 ] | 151 ] |
152 | 152 |
153 deps += [ ":fpdfxfa" ] | 153 deps += [ ":fpdfxfa" ] |
154 } | 154 } |
155 | 155 |
156 if (is_win) { | 156 if (is_win) { |
157 libs += [ | 157 libs += [ |
158 "advapi32.lib", | 158 "advapi32.lib", |
159 "gdi32.lib", | 159 "gdi32.lib", |
160 "user32.lib", | 160 "user32.lib", |
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1709 } | 1709 } |
1710 | 1710 |
1711 if (pdf_is_standalone) { | 1711 if (pdf_is_standalone) { |
1712 source_set("samples") { | 1712 source_set("samples") { |
1713 testonly = true | 1713 testonly = true |
1714 deps = [ | 1714 deps = [ |
1715 "//samples", | 1715 "//samples", |
1716 ] | 1716 ] |
1717 } | 1717 } |
1718 } | 1718 } |
OLD | NEW |