OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("pdfium.gni") | 6 import("pdfium.gni") |
7 | 7 |
8 config("pdfium_config") { | 8 config("pdfium_config") { |
9 cflags = [] | 9 cflags = [] |
10 include_dirs = [ "third_party/freetype/include" ] | 10 include_dirs = [ "third_party/freetype/include" ] |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 "public/fpdf_save.h", | 90 "public/fpdf_save.h", |
91 "public/fpdf_searchex.h", | 91 "public/fpdf_searchex.h", |
92 "public/fpdf_sysfontinfo.h", | 92 "public/fpdf_sysfontinfo.h", |
93 "public/fpdf_text.h", | 93 "public/fpdf_text.h", |
94 "public/fpdf_transformpage.h", | 94 "public/fpdf_transformpage.h", |
95 "public/fpdfview.h", | 95 "public/fpdfview.h", |
96 ] | 96 ] |
97 | 97 |
98 libs = [] | 98 libs = [] |
99 configs -= [ "//build/config/compiler:chromium_code" ] | 99 configs -= [ "//build/config/compiler:chromium_code" ] |
100 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 100 configs += [ |
101 ":pdfium_config", | |
102 "//build/config/compiler:no_chromium_code", | |
103 ] | |
101 | 104 |
102 deps = [ | 105 deps = [ |
103 "third_party:bigint", | 106 "third_party:bigint", |
104 "third_party:pdfium_base", | 107 "third_party:pdfium_base", |
105 ":fdrm", | 108 ":fdrm", |
106 ":formfiller", | 109 ":formfiller", |
107 ":fpdfapi", | 110 ":fpdfapi", |
108 ":fpdfdoc", | 111 ":fpdfdoc", |
109 ":fpdftext", | 112 ":fpdftext", |
110 ":fpdfxfa", | 113 ":fpdfxfa", |
111 ":fxcodec", | 114 ":fxcodec", |
112 ":fxcrt", | 115 ":fxcrt", |
113 ":fxedit", | 116 ":fxedit", |
114 ":fxge", | 117 ":fxge", |
115 ":javascript", | 118 ":javascript", |
116 ":pdfwindow", | 119 ":pdfwindow", |
117 ] | 120 ] |
118 | 121 |
119 if (pdf_enable_xfa) { | 122 if (pdf_enable_xfa) { |
120 deps += [ ":xfa" ] | 123 deps += [ ":xfa" ] |
121 } | 124 } |
122 | 125 |
123 if (is_win) { | 126 if (is_win) { |
124 libs += [ "advapi32.lib", "gdi32.lib", "user32.lib" ] | 127 libs += [ |
128 "advapi32.lib", | |
129 "gdi32.lib", | |
130 "user32.lib", | |
131 ] | |
125 } | 132 } |
126 | 133 |
127 if (is_mac) { | 134 if (is_mac) { |
128 libs += [ "AppKit.framework", "CoreFoundation.framework" ] | 135 libs += [ |
136 "AppKit.framework", | |
137 "CoreFoundation.framework", | |
138 ] | |
129 } | 139 } |
130 | 140 |
131 if (pdfium_bundle_freetype) { | 141 if (pdfium_bundle_freetype) { |
132 deps += [ "third_party:fx_freetype" ] | 142 deps += [ "third_party:fx_freetype" ] |
133 } else { | 143 } else { |
134 libs += [ "freetype" ] | 144 libs += [ "freetype" ] |
135 } | 145 } |
136 } | 146 } |
137 | 147 |
138 source_set("test_support") { | 148 source_set("test_support") { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
176 ] | 186 ] |
177 | 187 |
178 static_library("fdrm") { | 188 static_library("fdrm") { |
179 sources = [ | 189 sources = [ |
180 "core/include/fdrm/fx_crypt.h", | 190 "core/include/fdrm/fx_crypt.h", |
181 "core/src/fdrm/crypto/fx_crypt.cpp", | 191 "core/src/fdrm/crypto/fx_crypt.cpp", |
182 "core/src/fdrm/crypto/fx_crypt_aes.cpp", | 192 "core/src/fdrm/crypto/fx_crypt_aes.cpp", |
183 "core/src/fdrm/crypto/fx_crypt_sha.cpp", | 193 "core/src/fdrm/crypto/fx_crypt_sha.cpp", |
184 ] | 194 ] |
185 configs -= [ "//build/config/compiler:chromium_code" ] | 195 configs -= [ "//build/config/compiler:chromium_code" ] |
186 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 196 configs += [ |
197 ":pdfium_config", | |
198 "//build/config/compiler:no_chromium_code", | |
199 ] | |
187 } | 200 } |
188 | 201 |
189 static_library("fpdfdoc") { | 202 static_library("fpdfdoc") { |
190 sources = [ | 203 sources = [ |
191 "core/include/fpdfdoc/fpdf_ap.h", | 204 "core/include/fpdfdoc/fpdf_ap.h", |
192 "core/include/fpdfdoc/fpdf_doc.h", | 205 "core/include/fpdfdoc/fpdf_doc.h", |
193 "core/include/fpdfdoc/fpdf_tagged.h", | 206 "core/include/fpdfdoc/fpdf_tagged.h", |
194 "core/include/fpdfdoc/fpdf_vt.h", | 207 "core/include/fpdfdoc/fpdf_vt.h", |
195 "core/src/fpdfdoc/doc_action.cpp", | 208 "core/src/fpdfdoc/doc_action.cpp", |
196 "core/src/fpdfdoc/doc_annot.cpp", | 209 "core/src/fpdfdoc/doc_annot.cpp", |
197 "core/src/fpdfdoc/doc_ap.cpp", | 210 "core/src/fpdfdoc/doc_ap.cpp", |
198 "core/src/fpdfdoc/doc_basic.cpp", | 211 "core/src/fpdfdoc/doc_basic.cpp", |
199 "core/src/fpdfdoc/doc_bookmark.cpp", | 212 "core/src/fpdfdoc/doc_bookmark.cpp", |
200 "core/src/fpdfdoc/doc_form.cpp", | 213 "core/src/fpdfdoc/doc_form.cpp", |
201 "core/src/fpdfdoc/doc_formcontrol.cpp", | 214 "core/src/fpdfdoc/doc_formcontrol.cpp", |
202 "core/src/fpdfdoc/doc_formfield.cpp", | 215 "core/src/fpdfdoc/doc_formfield.cpp", |
203 "core/src/fpdfdoc/doc_link.cpp", | 216 "core/src/fpdfdoc/doc_link.cpp", |
204 "core/src/fpdfdoc/doc_metadata.cpp", | 217 "core/src/fpdfdoc/doc_metadata.cpp", |
205 "core/src/fpdfdoc/doc_ocg.cpp", | 218 "core/src/fpdfdoc/doc_ocg.cpp", |
206 "core/src/fpdfdoc/doc_tagged.cpp", | 219 "core/src/fpdfdoc/doc_tagged.cpp", |
207 "core/src/fpdfdoc/doc_utils.cpp", | 220 "core/src/fpdfdoc/doc_utils.cpp", |
208 "core/src/fpdfdoc/doc_utils.h", | 221 "core/src/fpdfdoc/doc_utils.h", |
209 "core/src/fpdfdoc/doc_viewerPreferences.cpp", | 222 "core/src/fpdfdoc/doc_viewerPreferences.cpp", |
210 "core/src/fpdfdoc/doc_vt.cpp", | 223 "core/src/fpdfdoc/doc_vt.cpp", |
211 "core/src/fpdfdoc/doc_vtmodule.cpp", | 224 "core/src/fpdfdoc/doc_vtmodule.cpp", |
212 "core/src/fpdfdoc/pdf_vt.h", | 225 "core/src/fpdfdoc/pdf_vt.h", |
213 "core/src/fpdfdoc/tagged_int.h", | 226 "core/src/fpdfdoc/tagged_int.h", |
214 ] | 227 ] |
215 configs -= [ "//build/config/compiler:chromium_code" ] | 228 configs -= [ "//build/config/compiler:chromium_code" ] |
216 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 229 configs += [ |
230 ":pdfium_config", | |
231 "//build/config/compiler:no_chromium_code", | |
232 ] | |
217 } | 233 } |
218 | 234 |
219 | |
220 static_library("fpdfapi") { | 235 static_library("fpdfapi") { |
221 sources = [ | 236 sources = [ |
222 "core/include/fpdfapi/fpdfapi.h", | |
223 "core/include/fpdfapi/fpdf_module.h", | 237 "core/include/fpdfapi/fpdf_module.h", |
224 "core/include/fpdfapi/fpdf_objects.h", | 238 "core/include/fpdfapi/fpdf_objects.h", |
225 "core/include/fpdfapi/fpdf_page.h", | 239 "core/include/fpdfapi/fpdf_page.h", |
226 "core/include/fpdfapi/fpdf_pageobj.h", | 240 "core/include/fpdfapi/fpdf_pageobj.h", |
227 "core/include/fpdfapi/fpdf_parser.h", | 241 "core/include/fpdfapi/fpdf_parser.h", |
228 "core/include/fpdfapi/fpdf_render.h", | 242 "core/include/fpdfapi/fpdf_render.h", |
229 "core/include/fpdfapi/fpdf_resource.h", | 243 "core/include/fpdfapi/fpdf_resource.h", |
230 "core/include/fpdfapi/fpdf_serial.h", | 244 "core/include/fpdfapi/fpdf_serial.h", |
245 "core/include/fpdfapi/fpdfapi.h", | |
231 "core/src/fpdfapi/fpdf_basic_module.cpp", | 246 "core/src/fpdfapi/fpdf_basic_module.cpp", |
232 "core/src/fpdfapi/fpdf_cmaps/cmap_int.h", | |
233 "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", | 247 "core/src/fpdfapi/fpdf_cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", |
234 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp", | 248 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-H_0.cpp", |
235 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp", | 249 "core/src/fpdfapi/fpdf_cmaps/CNS1/B5pc-V_0.cpp", |
236 "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp", | |
237 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp", | 250 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-H_0.cpp", |
238 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp", | 251 "core/src/fpdfapi/fpdf_cmaps/CNS1/CNS-EUC-V_0.cpp", |
239 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp", | 252 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-H_0.cpp", |
240 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp", | 253 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETen-B5-V_0.cpp", |
241 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp", | 254 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-H_0.cpp", |
242 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp", | 255 "core/src/fpdfapi/fpdf_cmaps/CNS1/ETenms-B5-V_0.cpp", |
243 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp", | 256 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-H_5.cpp", |
244 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp", | 257 "core/src/fpdfapi/fpdf_cmaps/CNS1/HKscs-B5-V_5.cpp", |
245 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp", | 258 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-H_3.cpp", |
246 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp", | 259 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UCS2-V_3.cpp", |
247 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp", | 260 "core/src/fpdfapi/fpdf_cmaps/CNS1/UniCNS-UTF16-H_0.cpp", |
248 "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp", | 261 "core/src/fpdfapi/fpdf_cmaps/CNS1/cmaps_cns1.cpp", |
249 "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp", | 262 "core/src/fpdfapi/fpdf_cmaps/GB1/Adobe-GB1-UCS2_5.cpp", |
250 "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp", | |
251 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp", | 263 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-H_0.cpp", |
252 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp", | 264 "core/src/fpdfapi/fpdf_cmaps/GB1/GB-EUC-V_0.cpp", |
253 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp", | 265 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-H_2.cpp", |
254 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp", | 266 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK-EUC-V_2.cpp", |
255 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp", | 267 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-H_5.cpp", |
256 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp", | 268 "core/src/fpdfapi/fpdf_cmaps/GB1/GBK2K-V_5.cpp", |
257 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp", | 269 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-H_2.cpp", |
258 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp", | 270 "core/src/fpdfapi/fpdf_cmaps/GB1/GBKp-EUC-V_2.cpp", |
259 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp", | 271 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-H_0.cpp", |
260 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp", | 272 "core/src/fpdfapi/fpdf_cmaps/GB1/GBpc-EUC-V_0.cpp", |
261 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp", | 273 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-H_4.cpp", |
262 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp", | 274 "core/src/fpdfapi/fpdf_cmaps/GB1/UniGB-UCS2-V_4.cpp", |
275 "core/src/fpdfapi/fpdf_cmaps/GB1/cmaps_gb1.cpp", | |
263 "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp", | 276 "core/src/fpdfapi/fpdf_cmaps/Japan1/83pv-RKSJ-H_1.cpp", |
264 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp", | 277 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-H_2.cpp", |
265 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp", | 278 "core/src/fpdfapi/fpdf_cmaps/Japan1/90ms-RKSJ-V_2.cpp", |
266 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp", | 279 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-H_2.cpp", |
267 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp", | 280 "core/src/fpdfapi/fpdf_cmaps/Japan1/90msp-RKSJ-V_2.cpp", |
268 "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp", | 281 "core/src/fpdfapi/fpdf_cmaps/Japan1/90pv-RKSJ-H_1.cpp", |
269 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp", | 282 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-H_1.cpp", |
270 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp", | 283 "core/src/fpdfapi/fpdf_cmaps/Japan1/Add-RKSJ-V_1.cpp", |
271 "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp", | 284 "core/src/fpdfapi/fpdf_cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp", |
272 "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp", | |
273 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp", | 285 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-H_1.cpp", |
274 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp", | 286 "core/src/fpdfapi/fpdf_cmaps/Japan1/EUC-V_1.cpp", |
275 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp", | 287 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-H_2.cpp", |
276 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp", | 288 "core/src/fpdfapi/fpdf_cmaps/Japan1/Ext-RKSJ-V_2.cpp", |
277 "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp", | 289 "core/src/fpdfapi/fpdf_cmaps/Japan1/H_1.cpp", |
278 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp", | 290 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp", |
279 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp", | 291 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp", |
280 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp", | 292 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-H_4.cpp", |
281 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp", | 293 "core/src/fpdfapi/fpdf_cmaps/Japan1/UniJIS-UCS2-V_4.cpp", |
282 "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp", | 294 "core/src/fpdfapi/fpdf_cmaps/Japan1/V_1.cpp", |
295 "core/src/fpdfapi/fpdf_cmaps/Japan1/cmaps_japan1.cpp", | |
283 "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp", | 296 "core/src/fpdfapi/fpdf_cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp", |
284 "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp", | |
285 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp", | 297 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-H_0.cpp", |
286 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp", | 298 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSC-EUC-V_0.cpp", |
287 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp", | 299 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-H_1.cpp", |
288 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp", | 300 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-HW-V_1.cpp", |
289 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp", | 301 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-H_1.cpp", |
290 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp", | 302 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCms-UHC-V_1.cpp", |
291 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp", | 303 "core/src/fpdfapi/fpdf_cmaps/Korea1/KSCpc-EUC-H_0.cpp", |
292 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp", | 304 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-H_1.cpp", |
293 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp", | 305 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UCS2-V_1.cpp", |
294 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp", | 306 "core/src/fpdfapi/fpdf_cmaps/Korea1/UniKS-UTF16-H_0.cpp", |
307 "core/src/fpdfapi/fpdf_cmaps/Korea1/cmaps_korea1.cpp", | |
308 "core/src/fpdfapi/fpdf_cmaps/cmap_int.h", | |
309 "core/src/fpdfapi/fpdf_cmaps/fpdf_cmaps.cpp", | |
295 "core/src/fpdfapi/fpdf_edit/editint.h", | 310 "core/src/fpdfapi/fpdf_edit/editint.h", |
296 "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp", | 311 "core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp", |
297 "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp", | 312 "core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp", |
298 "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp", | 313 "core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp", |
299 "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp", | 314 "core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp", |
300 "core/src/fpdfapi/fpdf_font/common.h", | 315 "core/src/fpdfapi/fpdf_font/common.h", |
301 "core/src/fpdfapi/fpdf_font/font_int.h", | 316 "core/src/fpdfapi/fpdf_font/font_int.h", |
302 "core/src/fpdfapi/fpdf_font/fpdf_font.cpp", | 317 "core/src/fpdfapi/fpdf_font/fpdf_font.cpp", |
303 "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp", | 318 "core/src/fpdfapi/fpdf_font/fpdf_font_charset.cpp", |
304 "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp", | 319 "core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp", |
(...skipping 21 matching lines...) Expand all Loading... | |
326 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", | 341 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", |
327 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", | 342 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", |
328 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", | 343 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", |
329 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", | 344 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", |
330 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", | 345 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", |
331 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", | 346 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", |
332 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", | 347 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
333 "core/src/fpdfapi/fpdf_render/render_int.h", | 348 "core/src/fpdfapi/fpdf_render/render_int.h", |
334 ] | 349 ] |
335 configs -= [ "//build/config/compiler:chromium_code" ] | 350 configs -= [ "//build/config/compiler:chromium_code" ] |
336 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 351 configs += [ |
352 ":pdfium_config", | |
353 "//build/config/compiler:no_chromium_code", | |
354 ] | |
337 } | 355 } |
338 | 356 |
339 static_library("fpdftext") { | 357 static_library("fpdftext") { |
340 sources = [ | 358 sources = [ |
341 "core/include/fpdftext/fpdf_text.h", | 359 "core/include/fpdftext/fpdf_text.h", |
342 "core/src/fpdftext/fpdf_text.cpp", | 360 "core/src/fpdftext/fpdf_text.cpp", |
343 "core/src/fpdftext/fpdf_text_int.cpp", | 361 "core/src/fpdftext/fpdf_text_int.cpp", |
344 "core/src/fpdftext/fpdf_text_search.cpp", | 362 "core/src/fpdftext/fpdf_text_search.cpp", |
345 "core/src/fpdftext/text_int.h", | 363 "core/src/fpdftext/text_int.h", |
346 "core/src/fpdftext/txtproc.h", | 364 "core/src/fpdftext/txtproc.h", |
347 "core/src/fpdftext/unicodenormalization.cpp", | 365 "core/src/fpdftext/unicodenormalization.cpp", |
348 "core/src/fpdftext/unicodenormalizationdata.cpp", | 366 "core/src/fpdftext/unicodenormalizationdata.cpp", |
349 "core/src/fpdftext/unicodenormalizationdata.h", | 367 "core/src/fpdftext/unicodenormalizationdata.h", |
350 ] | 368 ] |
351 configs -= [ "//build/config/compiler:chromium_code" ] | 369 configs -= [ "//build/config/compiler:chromium_code" ] |
352 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 370 configs += [ |
371 ":pdfium_config", | |
372 "//build/config/compiler:no_chromium_code", | |
373 ] | |
353 } | 374 } |
354 | 375 |
355 static_library("fxcodec") { | 376 static_library("fxcodec") { |
356 deps = [ | 377 deps = [ |
357 "third_party:fx_lcms2", | 378 "third_party:fx_lcms2", |
358 "third_party:fx_libjpeg", | 379 "third_party:fx_libjpeg", |
359 "third_party:fx_libopenjpeg", | 380 "third_party:fx_libopenjpeg", |
360 "third_party:fx_lpng", | 381 "third_party:fx_lpng", |
361 "third_party:fx_tiff", | 382 "third_party:fx_tiff", |
362 "third_party:fx_zlib", | 383 "third_party:fx_zlib", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
424 "core/src/fxcodec/lgif/fx_gif.cpp", | 445 "core/src/fxcodec/lgif/fx_gif.cpp", |
425 "core/src/fxcodec/lgif/fx_gif.h", | 446 "core/src/fxcodec/lgif/fx_gif.h", |
426 ] | 447 ] |
427 configs -= [ "//build/config/compiler:chromium_code" ] | 448 configs -= [ "//build/config/compiler:chromium_code" ] |
428 | 449 |
429 if (is_posix) { | 450 if (is_posix) { |
430 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | 451 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
431 # conversion to check that an address is 16-bit aligned (benign). | 452 # conversion to check that an address is 16-bit aligned (benign). |
432 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 453 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
433 } | 454 } |
434 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 455 configs += [ |
456 ":pdfium_config", | |
457 "//build/config/compiler:no_chromium_code", | |
458 ] | |
459 } | |
460 | |
461 config("fxge_warnings") { | |
462 if (is_clang) { | |
463 cflags = [ | |
464 # http://code.google.com/p/pdfium/issues/detail?id=188 | |
465 "-Wno-switch", | |
466 ] | |
467 } | |
435 } | 468 } |
436 | 469 |
437 static_library("fxcrt") { | 470 static_library("fxcrt") { |
438 sources = [ | 471 sources = [ |
439 "core/include/fxcrt/fx_arb.h", | 472 "core/include/fxcrt/fx_arb.h", |
440 "core/include/fxcrt/fx_basic.h", | 473 "core/include/fxcrt/fx_basic.h", |
441 "core/include/fxcrt/fx_coordinates.h", | 474 "core/include/fxcrt/fx_coordinates.h", |
442 "core/include/fxcrt/fx_ext.h", | 475 "core/include/fxcrt/fx_ext.h", |
443 "core/include/fxcrt/fx_memory.h", | 476 "core/include/fxcrt/fx_memory.h", |
444 "core/include/fxcrt/fx_safe_types.h", | 477 "core/include/fxcrt/fx_safe_types.h", |
445 "core/include/fxcrt/fx_stream.h", | 478 "core/include/fxcrt/fx_stream.h", |
446 "core/include/fxcrt/fx_string.h", | 479 "core/include/fxcrt/fx_string.h", |
447 "core/include/fxcrt/fx_system.h", | 480 "core/include/fxcrt/fx_system.h", |
448 "core/include/fxcrt/fx_ucd.h", | 481 "core/include/fxcrt/fx_ucd.h", |
449 "core/include/fxcrt/fx_xml.h", | 482 "core/include/fxcrt/fx_xml.h", |
450 "core/src/fxcrt/extension.h", | 483 "core/src/fxcrt/extension.h", |
451 "core/src/fxcrt/fxcrt_platforms.cpp", | |
452 "core/src/fxcrt/fxcrt_platforms.h", | |
453 "core/src/fxcrt/fxcrt_posix.cpp", | |
454 "core/src/fxcrt/fxcrt_posix.h", | |
455 "core/src/fxcrt/fxcrt_windows.cpp", | |
456 "core/src/fxcrt/fxcrt_windows.h", | |
457 "core/src/fxcrt/fx_arabic.cpp", | 484 "core/src/fxcrt/fx_arabic.cpp", |
458 "core/src/fxcrt/fx_arabic.h", | 485 "core/src/fxcrt/fx_arabic.h", |
459 "core/src/fxcrt/fx_basic_array.cpp", | 486 "core/src/fxcrt/fx_basic_array.cpp", |
460 "core/src/fxcrt/fx_basic_bstring.cpp", | 487 "core/src/fxcrt/fx_basic_bstring.cpp", |
461 "core/src/fxcrt/fx_basic_buffer.cpp", | 488 "core/src/fxcrt/fx_basic_buffer.cpp", |
462 "core/src/fxcrt/fx_basic_coords.cpp", | 489 "core/src/fxcrt/fx_basic_coords.cpp", |
463 "core/src/fxcrt/fx_basic_gcc.cpp", | 490 "core/src/fxcrt/fx_basic_gcc.cpp", |
464 "core/src/fxcrt/fx_basic_list.cpp", | 491 "core/src/fxcrt/fx_basic_list.cpp", |
465 "core/src/fxcrt/fx_basic_maps.cpp", | 492 "core/src/fxcrt/fx_basic_maps.cpp", |
466 "core/src/fxcrt/fx_basic_memmgr.cpp", | 493 "core/src/fxcrt/fx_basic_memmgr.cpp", |
467 "core/src/fxcrt/fx_basic_plex.cpp", | 494 "core/src/fxcrt/fx_basic_plex.cpp", |
468 "core/src/fxcrt/fx_basic_utf.cpp", | 495 "core/src/fxcrt/fx_basic_utf.cpp", |
469 "core/src/fxcrt/fx_basic_util.cpp", | 496 "core/src/fxcrt/fx_basic_util.cpp", |
470 "core/src/fxcrt/fx_basic_wstring.cpp", | 497 "core/src/fxcrt/fx_basic_wstring.cpp", |
471 "core/src/fxcrt/fx_extension.cpp", | 498 "core/src/fxcrt/fx_extension.cpp", |
472 "core/src/fxcrt/fx_ucddata.cpp", | 499 "core/src/fxcrt/fx_ucddata.cpp", |
473 "core/src/fxcrt/fx_unicode.cpp", | 500 "core/src/fxcrt/fx_unicode.cpp", |
474 "core/src/fxcrt/fx_xml_composer.cpp", | 501 "core/src/fxcrt/fx_xml_composer.cpp", |
475 "core/src/fxcrt/fx_xml_parser.cpp", | 502 "core/src/fxcrt/fx_xml_parser.cpp", |
503 "core/src/fxcrt/fxcrt_platforms.cpp", | |
504 "core/src/fxcrt/fxcrt_platforms.h", | |
505 "core/src/fxcrt/fxcrt_posix.cpp", | |
506 "core/src/fxcrt/fxcrt_posix.h", | |
507 "core/src/fxcrt/fxcrt_windows.cpp", | |
508 "core/src/fxcrt/fxcrt_windows.h", | |
476 "core/src/fxcrt/plex.h", | 509 "core/src/fxcrt/plex.h", |
477 "core/src/fxcrt/xml_int.h", | 510 "core/src/fxcrt/xml_int.h", |
478 ] | 511 ] |
479 configs -= [ "//build/config/compiler:chromium_code" ] | 512 configs -= [ "//build/config/compiler:chromium_code" ] |
480 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 513 configs += [ |
514 ":pdfium_config", | |
515 "//build/config/compiler:no_chromium_code", | |
516 ] | |
481 } | 517 } |
482 | 518 |
483 static_library("fxge") { | 519 static_library("fxge") { |
484 deps = [ | 520 deps = [ |
485 "third_party:fx_agg", | 521 "third_party:fx_agg", |
486 ] | 522 ] |
487 sources = [ | 523 sources = [ |
488 "core/include/fxge/fpf.h", | 524 "core/include/fxge/fpf.h", |
489 "core/include/fxge/fx_dib.h", | 525 "core/include/fxge/fx_dib.h", |
490 "core/include/fxge/fx_font.h", | 526 "core/include/fxge/fx_font.h", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
537 "core/src/fxge/ge/fx_ge_font.cpp", | 573 "core/src/fxge/ge/fx_ge_font.cpp", |
538 "core/src/fxge/ge/fx_ge_fontmap.cpp", | 574 "core/src/fxge/ge/fx_ge_fontmap.cpp", |
539 "core/src/fxge/ge/fx_ge_linux.cpp", | 575 "core/src/fxge/ge/fx_ge_linux.cpp", |
540 "core/src/fxge/ge/fx_ge_path.cpp", | 576 "core/src/fxge/ge/fx_ge_path.cpp", |
541 "core/src/fxge/ge/fx_ge_ps.cpp", | 577 "core/src/fxge/ge/fx_ge_ps.cpp", |
542 "core/src/fxge/ge/fx_ge_text.cpp", | 578 "core/src/fxge/ge/fx_ge_text.cpp", |
543 "core/src/fxge/ge/text_int.h", | 579 "core/src/fxge/ge/text_int.h", |
544 ] | 580 ] |
545 | 581 |
546 configs -= [ "//build/config/compiler:chromium_code" ] | 582 configs -= [ "//build/config/compiler:chromium_code" ] |
547 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 583 configs += [ |
584 ":pdfium_config", | |
585 "//build/config/compiler:no_chromium_code", | |
586 ":fxge_warnings", | |
Tom Sepez
2015/10/22 18:46:14
nit: I think if we were sorting this, the colon-pr
| |
587 ] | |
548 | 588 |
549 if (pdf_use_skia) { | 589 if (pdf_use_skia) { |
550 sources = [ | 590 sources = [ |
551 "core/src/fxge/skia/fx_skia_blitter_new.cpp", | 591 "core/src/fxge/skia/fx_skia_blitter_new.cpp", |
552 "core/src/fxge/skia/fx_skia_device.cpp", | 592 "core/src/fxge/skia/fx_skia_device.cpp", |
553 ] | 593 ] |
554 include_dirs = [ | 594 include_dirs = [ |
555 "//third_party/skia/include/config", | 595 "//third_party/skia/include/config", |
556 "//third_party/skia/include/core", | 596 "//third_party/skia/include/core", |
557 "//third_party/skia/include/effects", | 597 "//third_party/skia/include/effects", |
558 "//third_party/skia/include/images", | 598 "//third_party/skia/include/images", |
559 "//third_party/skia/include/lazy", | 599 "//third_party/skia/include/lazy", |
560 "//third_party/skia/include/pathops", | 600 "//third_party/skia/include/pathops", |
561 "//third_party/skia/include/utils", | 601 "//third_party/skia/include/utils", |
562 "//third_party/skia/src/core", | 602 "//third_party/skia/src/core", |
563 ] | 603 ] |
564 deps = [ "//skia" ] | 604 deps = [ |
Tom Sepez
2015/10/22 18:46:14
nit: I'd prefer this being a single line in both p
| |
605 "//skia", | |
606 ] | |
565 } | 607 } |
566 | 608 |
567 if (is_win) { | 609 if (is_win) { |
568 sources += [ | 610 sources += [ |
569 "core/src/fxge/win32/dwrite_int.h", | 611 "core/src/fxge/win32/dwrite_int.h", |
570 "core/src/fxge/win32/fx_win32_device.cpp", | 612 "core/src/fxge/win32/fx_win32_device.cpp", |
571 "core/src/fxge/win32/fx_win32_dib.cpp", | 613 "core/src/fxge/win32/fx_win32_dib.cpp", |
572 "core/src/fxge/win32/fx_win32_dwrite.cpp", | 614 "core/src/fxge/win32/fx_win32_dwrite.cpp", |
573 "core/src/fxge/win32/fx_win32_gdipext.cpp", | 615 "core/src/fxge/win32/fx_win32_gdipext.cpp", |
574 "core/src/fxge/win32/fx_win32_print.cpp", | 616 "core/src/fxge/win32/fx_win32_print.cpp", |
(...skipping 12 matching lines...) Expand all Loading... | |
587 "fpdfsdk/include/fxedit/fxet_edit.h", | 629 "fpdfsdk/include/fxedit/fxet_edit.h", |
588 "fpdfsdk/include/fxedit/fxet_list.h", | 630 "fpdfsdk/include/fxedit/fxet_list.h", |
589 "fpdfsdk/include/fxedit/fxet_stub.h", | 631 "fpdfsdk/include/fxedit/fxet_stub.h", |
590 "fpdfsdk/src/fxedit/fxet_ap.cpp", | 632 "fpdfsdk/src/fxedit/fxet_ap.cpp", |
591 "fpdfsdk/src/fxedit/fxet_edit.cpp", | 633 "fpdfsdk/src/fxedit/fxet_edit.cpp", |
592 "fpdfsdk/src/fxedit/fxet_list.cpp", | 634 "fpdfsdk/src/fxedit/fxet_list.cpp", |
593 "fpdfsdk/src/fxedit/fxet_module.cpp", | 635 "fpdfsdk/src/fxedit/fxet_module.cpp", |
594 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp", | 636 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp", |
595 ] | 637 ] |
596 configs -= [ "//build/config/compiler:chromium_code" ] | 638 configs -= [ "//build/config/compiler:chromium_code" ] |
597 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 639 configs += [ |
640 ":pdfium_config", | |
641 "//build/config/compiler:no_chromium_code", | |
642 ] | |
598 } | 643 } |
599 | 644 |
600 static_library("pdfwindow") { | 645 static_library("pdfwindow") { |
601 sources = [ | 646 sources = [ |
602 "fpdfsdk/include/pdfwindow/IPDFWindow.h", | 647 "fpdfsdk/include/pdfwindow/IPDFWindow.h", |
603 "fpdfsdk/include/pdfwindow/PDFWindow.h", | 648 "fpdfsdk/include/pdfwindow/PDFWindow.h", |
604 "fpdfsdk/include/pdfwindow/PWL_Button.h", | 649 "fpdfsdk/include/pdfwindow/PWL_Button.h", |
605 "fpdfsdk/include/pdfwindow/PWL_Caret.h", | 650 "fpdfsdk/include/pdfwindow/PWL_Caret.h", |
606 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", | 651 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", |
607 "fpdfsdk/include/pdfwindow/PWL_Edit.h", | 652 "fpdfsdk/include/pdfwindow/PWL_Edit.h", |
(...skipping 22 matching lines...) Expand all Loading... | |
630 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", | 675 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", |
631 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", | 676 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", |
632 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", | 677 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", |
633 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", | 678 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", |
634 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", | 679 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", |
635 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", | 680 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", |
636 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", | 681 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", |
637 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", | 682 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", |
638 ] | 683 ] |
639 configs -= [ "//build/config/compiler:chromium_code" ] | 684 configs -= [ "//build/config/compiler:chromium_code" ] |
640 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 685 configs += [ |
686 ":pdfium_config", | |
687 "//build/config/compiler:no_chromium_code", | |
688 ] | |
641 } | 689 } |
642 | 690 |
643 static_library("javascript") { | 691 static_library("javascript") { |
644 sources = [ | 692 sources = [ |
645 "fpdfsdk/include/javascript/IJavaScript.h", | 693 "fpdfsdk/include/javascript/IJavaScript.h", |
646 ] | 694 ] |
647 if (pdf_enable_v8) { | 695 if (pdf_enable_v8) { |
648 sources += [ | 696 sources += [ |
649 "fpdfsdk/src/javascript/Consts.cpp", | 697 "fpdfsdk/src/javascript/Consts.cpp", |
650 "fpdfsdk/src/javascript/Consts.h", | 698 "fpdfsdk/src/javascript/Consts.h", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
721 "fpdfsdk/src/formfiller/FFL_CheckBox.cpp", | 769 "fpdfsdk/src/formfiller/FFL_CheckBox.cpp", |
722 "fpdfsdk/src/formfiller/FFL_ComboBox.cpp", | 770 "fpdfsdk/src/formfiller/FFL_ComboBox.cpp", |
723 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp", | 771 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp", |
724 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp", | 772 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp", |
725 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", | 773 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", |
726 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", | 774 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", |
727 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 775 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
728 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 776 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
729 ] | 777 ] |
730 configs -= [ "//build/config/compiler:chromium_code" ] | 778 configs -= [ "//build/config/compiler:chromium_code" ] |
731 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 779 configs += [ |
780 ":pdfium_config", | |
781 "//build/config/compiler:no_chromium_code", | |
782 ] | |
732 } | 783 } |
733 | 784 |
734 static_library("fpdfxfa") { | 785 static_library("fpdfxfa") { |
735 sources = [ | 786 sources = [ |
736 "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp", | 787 "fpdfsdk/src/fpdfxfa/fpdfxfa_app.cpp", |
737 "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp", | 788 "fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp", |
738 "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp", | 789 "fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp", |
739 "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp", | 790 "fpdfsdk/src/fpdfxfa/fpdfxfa_util.cpp", |
740 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h", | 791 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h", |
741 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h", | 792 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h", |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1436 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", | 1487 "xfa/src/fxfa/src/parser/xfa_utils_imp_unittest.cpp", |
1437 ] | 1488 ] |
1438 deps = [ | 1489 deps = [ |
1439 "//testing/gtest", | 1490 "//testing/gtest", |
1440 "//testing/gtest:gtest_main", | 1491 "//testing/gtest:gtest_main", |
1441 ":pdfium", | 1492 ":pdfium", |
1442 ":test_support", | 1493 ":test_support", |
1443 ] | 1494 ] |
1444 include_dirs = [ "." ] | 1495 include_dirs = [ "." ] |
1445 configs -= [ "//build/config/compiler:chromium_code" ] | 1496 configs -= [ "//build/config/compiler:chromium_code" ] |
1446 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1497 configs += [ |
1498 ":pdfium_config", | |
1499 "//build/config/compiler:no_chromium_code", | |
1500 ] | |
1447 } | 1501 } |
1448 | 1502 |
1449 test("pdfium_embeddertests") { | 1503 test("pdfium_embeddertests") { |
1450 sources = [ | 1504 sources = [ |
1451 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 1505 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
1452 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 1506 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
1453 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1507 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
1454 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1508 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
1455 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 1509 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
1456 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 1510 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
(...skipping 21 matching lines...) Expand all Loading... | |
1478 deps += [ | 1532 deps += [ |
1479 "//v8", | 1533 "//v8", |
1480 "//v8:v8_libplatform", | 1534 "//v8:v8_libplatform", |
1481 ] | 1535 ] |
1482 include_dirs += [ | 1536 include_dirs += [ |
1483 "//v8", | 1537 "//v8", |
1484 "//v8/include", | 1538 "//v8/include", |
1485 ] | 1539 ] |
1486 } | 1540 } |
1487 configs -= [ "//build/config/compiler:chromium_code" ] | 1541 configs -= [ "//build/config/compiler:chromium_code" ] |
1488 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1542 configs += [ |
1543 ":pdfium_config", | |
1544 "//build/config/compiler:no_chromium_code", | |
1545 ] | |
1489 } | 1546 } |
OLD | NEW |