1 cc_library_static { 2 name: "libpdfiumopenjpeg", 3 defaults: ["pdfium-defaults"], 4 5 cflags: [ 6 // Mask some warnings. These are benign, but we probably want to fix them 7 // upstream at some point. 8 "-Wno-sign-compare", 9 "-Wno-unused-parameter", 10 ], 11 12 srcs: [ 13 "libopenjpeg20/bio.c", 14 "libopenjpeg20/cio.c", 15 "libopenjpeg20/dwt.c", 16 "libopenjpeg20/event.c", 17 "libopenjpeg20/function_list.c", 18 "libopenjpeg20/image.c", 19 "libopenjpeg20/invert.c", 20 "libopenjpeg20/j2k.c", 21 "libopenjpeg20/jp2.c", 22 "libopenjpeg20/mct.c", 23 "libopenjpeg20/mqc.c", 24 "libopenjpeg20/openjpeg.c", 25 "libopenjpeg20/opj_clock.c", 26 "libopenjpeg20/pi.c", 27 "libopenjpeg20/raw.c", 28 "libopenjpeg20/t1.c", 29 "libopenjpeg20/t2.c", 30 "libopenjpeg20/tcd.c", 31 "libopenjpeg20/tgt.c", 32 ], 33 } 34