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 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 declare_args() { | 9 declare_args() { |
10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 ] | 310 ] |
311 configs -= [ "//build/config/compiler:chromium_code" ] | 311 configs -= [ "//build/config/compiler:chromium_code" ] |
312 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 312 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
313 } | 313 } |
314 | 314 |
315 static_library("fxcodec") { | 315 static_library("fxcodec") { |
316 deps = [ | 316 deps = [ |
317 "third_party:fx_lcms2", | 317 "third_party:fx_lcms2", |
318 "third_party:fx_libjpeg", | 318 "third_party:fx_libjpeg", |
319 "third_party:fx_libopenjpeg", | 319 "third_party:fx_libopenjpeg", |
| 320 "third_party:fx_lpng", |
| 321 "third_party:fx_tiff", |
320 "third_party:fx_zlib", | 322 "third_party:fx_zlib", |
321 ] | 323 ] |
322 sources = [ | 324 sources = [ |
323 "core/include/fxcodec/fx_codec.h", | 325 "core/include/fxcodec/fx_codec.h", |
324 "core/include/fxcodec/fx_codec_def.h", | 326 "core/include/fxcodec/fx_codec_def.h", |
325 "core/include/fxcodec/fx_codec_flate.h", | 327 "core/include/fxcodec/fx_codec_flate.h", |
326 "core/include/fxcodec/fx_codec_provider.h", | 328 "core/include/fxcodec/fx_codec_provider.h", |
327 "core/src/fxcodec/codec/codec_int.h", | 329 "core/src/fxcodec/codec/codec_int.h", |
328 "core/src/fxcodec/codec/fx_codec.cpp", | 330 "core/src/fxcodec/codec/fx_codec.cpp", |
329 "core/src/fxcodec/codec/fx_codec_bmp.cpp", | 331 "core/src/fxcodec/codec/fx_codec_bmp.cpp", |
330 "core/src/fxcodec/codec/fx_codec_fax.cpp", | 332 "core/src/fxcodec/codec/fx_codec_fax.cpp", |
331 "core/src/fxcodec/codec/fx_codec_flate.cpp", | 333 "core/src/fxcodec/codec/fx_codec_flate.cpp", |
332 "core/src/fxcodec/codec/fx_codec_gif.cpp", | 334 "core/src/fxcodec/codec/fx_codec_gif.cpp", |
333 "core/src/fxcodec/codec/fx_codec_icc.cpp", | 335 "core/src/fxcodec/codec/fx_codec_icc.cpp", |
334 "core/src/fxcodec/codec/fx_codec_jbig.cpp", | 336 "core/src/fxcodec/codec/fx_codec_jbig.cpp", |
335 "core/src/fxcodec/codec/fx_codec_jbig_enc.cpp", | 337 "core/src/fxcodec/codec/fx_codec_jbig_enc.cpp", |
336 "core/src/fxcodec/codec/fx_codec_jpeg.cpp", | 338 "core/src/fxcodec/codec/fx_codec_jpeg.cpp", |
337 "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp", | 339 "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp", |
338 "core/src/fxcodec/codec/fx_codec_png.cpp", | 340 "core/src/fxcodec/codec/fx_codec_png.cpp", |
339 "core/src/fxcodec/codec/fx_codec_progress.cpp", | 341 "core/src/fxcodec/codec/fx_codec_progress.cpp", |
340 "core/src/fxcodec/codec/fx_codec_progress.h", | 342 "core/src/fxcodec/codec/fx_codec_progress.h", |
341 "core/src/fxcodec/codec/fx_codec_tiff.cpp", | 343 "core/src/fxcodec/codec/fx_codec_tiff.cpp", |
342 "core/src/fxcodec/fx_lpng/src/fx_png.c", | |
343 "core/src/fxcodec/fx_lpng/src/fx_pngerror.c", | |
344 "core/src/fxcodec/fx_lpng/src/fx_pngget.c", | |
345 "core/src/fxcodec/fx_lpng/src/fx_pngmem.c", | |
346 "core/src/fxcodec/fx_lpng/src/fx_pngpread.c", | |
347 "core/src/fxcodec/fx_lpng/src/fx_pngread.c", | |
348 "core/src/fxcodec/fx_lpng/src/fx_pngrio.c", | |
349 "core/src/fxcodec/fx_lpng/src/fx_pngrtran.c", | |
350 "core/src/fxcodec/fx_lpng/src/fx_pngrutil.c", | |
351 "core/src/fxcodec/fx_lpng/src/fx_pngset.c", | |
352 "core/src/fxcodec/fx_lpng/src/fx_pngtrans.c", | |
353 "core/src/fxcodec/fx_lpng/src/fx_pngwio.c", | |
354 "core/src/fxcodec/fx_lpng/src/fx_pngwrite.c", | |
355 "core/src/fxcodec/fx_lpng/src/fx_pngwtran.c", | |
356 "core/src/fxcodec/fx_lpng/src/fx_pngwutil.c", | |
357 "core/src/fxcodec/fx_tiff/include/fx_tiffiop.h", | |
358 "core/src/fxcodec/fx_tiff/src/fx_tif_aux.c", | |
359 "core/src/fxcodec/fx_tiff/src/fx_tif_close.c", | |
360 "core/src/fxcodec/fx_tiff/src/fx_tif_codec.c", | |
361 "core/src/fxcodec/fx_tiff/src/fx_tif_color.c", | |
362 "core/src/fxcodec/fx_tiff/src/fx_tif_compress.c", | |
363 "core/src/fxcodec/fx_tiff/src/fx_tif_dir.c", | |
364 "core/src/fxcodec/fx_tiff/src/fx_tif_dirinfo.c", | |
365 "core/src/fxcodec/fx_tiff/src/fx_tif_dirread.c", | |
366 "core/src/fxcodec/fx_tiff/src/fx_tif_dirwrite.c", | |
367 "core/src/fxcodec/fx_tiff/src/fx_tif_dumpmode.c", | |
368 "core/src/fxcodec/fx_tiff/src/fx_tif_error.c", | |
369 "core/src/fxcodec/fx_tiff/src/fx_tif_extension.c", | |
370 "core/src/fxcodec/fx_tiff/src/fx_tif_fax3.c", | |
371 "core/src/fxcodec/fx_tiff/src/fx_tif_fax3sm.c", | |
372 "core/src/fxcodec/fx_tiff/src/fx_tif_flush.c", | |
373 "core/src/fxcodec/fx_tiff/src/fx_tif_getimage.c", | |
374 "core/src/fxcodec/fx_tiff/src/fx_tif_jpeg.c", | |
375 "core/src/fxcodec/fx_tiff/src/fx_tif_luv.c", | |
376 "core/src/fxcodec/fx_tiff/src/fx_tif_lzw.c", | |
377 "core/src/fxcodec/fx_tiff/src/fx_tif_next.c", | |
378 "core/src/fxcodec/fx_tiff/src/fx_tif_ojpeg.c", | |
379 "core/src/fxcodec/fx_tiff/src/fx_tif_open.c", | |
380 "core/src/fxcodec/fx_tiff/src/fx_tif_packbits.c", | |
381 "core/src/fxcodec/fx_tiff/src/fx_tif_pixarlog.c", | |
382 "core/src/fxcodec/fx_tiff/src/fx_tif_predict.c", | |
383 "core/src/fxcodec/fx_tiff/src/fx_tif_print.c", | |
384 "core/src/fxcodec/fx_tiff/src/fx_tif_read.c", | |
385 "core/src/fxcodec/fx_tiff/src/fx_tif_strip.c", | |
386 "core/src/fxcodec/fx_tiff/src/fx_tif_swab.c", | |
387 "core/src/fxcodec/fx_tiff/src/fx_tif_thunder.c", | |
388 "core/src/fxcodec/fx_tiff/src/fx_tif_tile.c", | |
389 "core/src/fxcodec/fx_tiff/src/fx_tif_version.c", | |
390 "core/src/fxcodec/fx_tiff/src/fx_tif_warning.c", | |
391 "core/src/fxcodec/fx_tiff/src/fx_tif_write.c", | |
392 "core/src/fxcodec/fx_tiff/src/fx_tif_zip.c", | |
393 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp", | 344 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.cpp", |
394 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h", | 345 "core/src/fxcodec/jbig2/JBig2_ArithDecoder.h", |
395 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp", | 346 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp", |
396 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h", | 347 "core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.h", |
397 "core/src/fxcodec/jbig2/JBig2_BitStream.cpp", | 348 "core/src/fxcodec/jbig2/JBig2_BitStream.cpp", |
398 "core/src/fxcodec/jbig2/JBig2_BitStream.h", | 349 "core/src/fxcodec/jbig2/JBig2_BitStream.h", |
399 "core/src/fxcodec/jbig2/JBig2_Context.cpp", | 350 "core/src/fxcodec/jbig2/JBig2_Context.cpp", |
400 "core/src/fxcodec/jbig2/JBig2_Context.h", | 351 "core/src/fxcodec/jbig2/JBig2_Context.h", |
401 "core/src/fxcodec/jbig2/JBig2_Define.h", | 352 "core/src/fxcodec/jbig2/JBig2_Define.h", |
402 "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp", | 353 "core/src/fxcodec/jbig2/JBig2_GrdProc.cpp", |
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1487 ":pdfium" | 1438 ":pdfium" |
1488 ] | 1439 ] |
1489 include_dirs = [ | 1440 include_dirs = [ |
1490 ".", | 1441 ".", |
1491 "//v8", | 1442 "//v8", |
1492 "//v8/include", | 1443 "//v8/include", |
1493 ] | 1444 ] |
1494 configs -= [ "//build/config/compiler:chromium_code" ] | 1445 configs -= [ "//build/config/compiler:chromium_code" ] |
1495 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1446 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
1496 } | 1447 } |
OLD | NEW |