aboutsummaryrefslogtreecommitdiff
path: root/pdfiumfxcodec.bp
blob: f8b5fb74cffa1f1b064e409ca0c2c7346a11f32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cc_library_static {
    name: "libpdfiumfxcodec",
    defaults: ["pdfium-core"],

    cflags: [
        "-Wno-pointer-to-int-cast",
        "-DUSE_SYSTEM_ZLIB",
        "-DUSE_SYSTEM_LIBJPEG",
    ],

    static_libs: [
        "libpdfiumfxcrt",
        "libpdfiumlcms2",
        "libpdfiumfx_libopenjpeg",
    ],

    shared_libs: [
        "libz",
        "libjpeg",
    ],

    srcs: [
        "core/fxcodec/codec/ccodec_scanlinedecoder.cpp",
        "core/fxcodec/codec/fx_codec.cpp",
        "core/fxcodec/codec/fx_codec_fax.cpp",
        "core/fxcodec/codec/fx_codec_flate.cpp",
        "core/fxcodec/codec/fx_codec_icc.cpp",
        "core/fxcodec/codec/fx_codec_jbig.cpp",
        "core/fxcodec/codec/fx_codec_jpeg.cpp",
        "core/fxcodec/codec/fx_codec_jpx_opj.cpp",
        "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp",
        "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp",
        "core/fxcodec/jbig2/JBig2_BitStream.cpp",
        "core/fxcodec/jbig2/JBig2_Context.cpp",
        "core/fxcodec/jbig2/JBig2_GrdProc.cpp",
        "core/fxcodec/jbig2/JBig2_GrrdProc.cpp",
        "core/fxcodec/jbig2/JBig2_HtrdProc.cpp",
        "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp",
        "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp",
        "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp",
        "core/fxcodec/jbig2/JBig2_Image.cpp",
        "core/fxcodec/jbig2/JBig2_PatternDict.cpp",
        "core/fxcodec/jbig2/JBig2_PddProc.cpp",
        "core/fxcodec/jbig2/JBig2_SddProc.cpp",
        "core/fxcodec/jbig2/JBig2_Segment.cpp",
        "core/fxcodec/jbig2/JBig2_SymbolDict.cpp",
        "core/fxcodec/jbig2/JBig2_TrdProc.cpp",
    ],
}