• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_static {
2    name: "libpdfiumfxcodec",
3    defaults: ["pdfium-core"],
4
5    cflags: [
6        "-Wno-pointer-to-int-cast",
7        "-DUSE_SYSTEM_ZLIB",
8        "-DUSE_SYSTEM_LIBJPEG",
9    ],
10
11    static_libs: [
12        "libpdfiumfxcrt",
13        "libpdfiumlcms2",
14        "libpdfiumfx_libopenjpeg",
15    ],
16
17    shared_libs: [
18        "libz",
19        "libjpeg",
20    ],
21
22    srcs: [
23        "core/fxcodec/codec/ccodec_scanlinedecoder.cpp",
24        "core/fxcodec/codec/fx_codec.cpp",
25        "core/fxcodec/codec/fx_codec_fax.cpp",
26        "core/fxcodec/codec/fx_codec_flate.cpp",
27        "core/fxcodec/codec/fx_codec_icc.cpp",
28        "core/fxcodec/codec/fx_codec_jbig.cpp",
29        "core/fxcodec/codec/fx_codec_jpeg.cpp",
30        "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
31        "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
32        "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
33        "core/fxcodec/jbig2/JBig2_BitStream.cpp",
34        "core/fxcodec/jbig2/JBig2_Context.cpp",
35        "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
36        "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
37        "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
38        "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
39        "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
40        "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
41        "core/fxcodec/jbig2/JBig2_Image.cpp",
42        "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
43        "core/fxcodec/jbig2/JBig2_PddProc.cpp",
44        "core/fxcodec/jbig2/JBig2_SddProc.cpp",
45        "core/fxcodec/jbig2/JBig2_Segment.cpp",
46        "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
47        "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
48    ],
49}
50