cc_library_shared { name: "libuapi_jpgd", proprietary: true, compile_multilib: "both", srcs: [ "jpgd/src/uapi_jpeg_api.c", "jpgd/src/mpi_jpeg_ext.c", "jpgd/src/src_comm/mpi_jpeg_debug.c", "jpgd/src/src_comm/mpi_jpeg_exif.c", "jpgd/src/src_comm/mpi_jpeg_mem.c", "jpgd/src/src_comm/mpi_jpeg_resolution.c", "jpgd/src/src_hard/mpi_jpeg_comm.c", "jpgd/src/src_hard/mpi_jpeg_handle.c", "jpgd/src/src_hard/mpi_jpeg_hdec.c", "jpgd/src/src_hard/mpi_jpeg_parse.c", "jpgd/src/src_hard/mpi_jpeg_reg.c", "jpgd/src/src_hard/mpi_jpeg_table.c", ], include_dirs: [ "vendor/platform/secure_c/include", ], local_include_dirs: [ "jpgd/include", "jpgd/include/inc_comm", "jpgd/include/inc_hard", "jpgd/include/inc_soft", ], header_libs: [ "drv_generic_headers", "drv_jpgd_headers", "libuapi_jpgd_headers", "libuapi_gfx2d_headers", ], export_header_lib_headers: [ "libuapi_jpgd_headers", ], shared_libs: [ "liblog", "libuapi_memory", "libuapi_common", "libuapi_securec", "libuapi_gfx2d", ], cflags: [ "-Wformat", "-Wlong-long", "-fno-common", "-Wpointer-arith", ], clang: true, }