1 cc_library_static { 2 name: "libpdfiumfxcodec", 3 defaults: ["pdfium-defaults"], 4 5 cflags: [ 6 "-DOPJ_STATIC", 7 "-DV8_DEPRECATION_WARNINGS", 8 "-D_CRT_SECURE_NO_WARNINGS", 9 10 // Mask some warnings. These are benign, but we probably want to fix them 11 // upstream at some point. 12 "-Wno-sign-compare", 13 "-Wno-pointer-to-int-cast", 14 "-Wno-unused-parameter", 15 ], 16 17 shared_libs: ["libz"], 18 19 srcs: [ 20 "core/fxcodec/codec/fx_codec.cpp", 21 "core/fxcodec/codec/fx_codec_fax.cpp", 22 "core/fxcodec/codec/fx_codec_flate.cpp", 23 "core/fxcodec/codec/fx_codec_icc.cpp", 24 "core/fxcodec/codec/fx_codec_jbig.cpp", 25 "core/fxcodec/codec/fx_codec_jpeg.cpp", 26 "core/fxcodec/codec/fx_codec_jpx_opj.cpp", 27 "core/fxcodec/jbig2/JBig2_ArithDecoder.cpp", 28 "core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp", 29 "core/fxcodec/jbig2/JBig2_BitStream.cpp", 30 "core/fxcodec/jbig2/JBig2_Context.cpp", 31 "core/fxcodec/jbig2/JBig2_GrdProc.cpp", 32 "core/fxcodec/jbig2/JBig2_GrrdProc.cpp", 33 "core/fxcodec/jbig2/JBig2_GsidProc.cpp", 34 "core/fxcodec/jbig2/JBig2_HtrdProc.cpp", 35 "core/fxcodec/jbig2/JBig2_HuffmanDecoder.cpp", 36 "core/fxcodec/jbig2/JBig2_HuffmanTable.cpp", 37 "core/fxcodec/jbig2/JBig2_HuffmanTable_Standard.cpp", 38 "core/fxcodec/jbig2/JBig2_Image.cpp", 39 "core/fxcodec/jbig2/JBig2_PatternDict.cpp", 40 "core/fxcodec/jbig2/JBig2_PddProc.cpp", 41 "core/fxcodec/jbig2/JBig2_SddProc.cpp", 42 "core/fxcodec/jbig2/JBig2_Segment.cpp", 43 "core/fxcodec/jbig2/JBig2_SymbolDict.cpp", 44 "core/fxcodec/jbig2/JBig2_TrdProc.cpp", 45 ], 46 } 47