You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1 KiB

cc_defaults {
name: "libjpeg_hw-defaults",
cflags: [
"-O3",
"-fstrict-aliasing",
"-Werror",
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-Wno-user-defined-warnings",
//"-DCONFIG_JPEG_DEBUG",
//"-DCONFIG_JPEG_DEBUG_INNER",
//"-DCONFIG_JPEG_DEBUG_INFO",
//"-DCONFIG_JPEG_TIME",
],
local_include_dirs: [
"include/inc_third",
"include/inc_drv",
],
include_dirs: [
"external/libjpeg-turbo",
"bionic/libc",
"system/core/liblog/include",
"vendor/platform/secure_c/include",
],
srcs: [
"src/src_third/mpi_jpeg_hdec_api.c",
"src/src_third/mpi_jpeg_hdec_comm.c",
"src/src_third/mpi_jpeg_hdec_dec.c",
"src/src_third/mpi_jpeg_hdec_dfx.c",
"src/src_third/mpi_jpeg_hdec_parse.c",
"src/src_third/mpi_jpeg_hdec_table.c",
"src/src_third/mpi_jpeg_hdec_mem.c",
],
}
cc_library {
name: "libjpeg_hw",
defaults: ["libjpeg_hw-defaults"],
shared_libs: [
"libc",
"liblog",
"libuapi_securec",
],
}