mirror of
https://github.com/Evolution-X-Devices/hardware_samsung_slsi-linaro_openmax
synced 2026-01-27 11:13:30 +00:00
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
|
|
cc_library_static {
|
||
|
|
name: "libExynosOMX_Vdec",
|
||
|
|
vendor: true,
|
||
|
|
|
||
|
|
cflags: [
|
||
|
|
"-Wno-unused-variable",
|
||
|
|
"-Wno-unused-label",
|
||
|
|
"-DUSE_ANDROID",
|
||
|
|
] + select(soong_config_variable("openmax", "USE_DMA_BUF"), {
|
||
|
|
"true": ["-DUSE_DMA_BUF"],
|
||
|
|
default: [],
|
||
|
|
}) + select(soong_config_variable("openmax", "USE_CSC_HW"), {
|
||
|
|
"true": ["-DUSE_CSC_HW"],
|
||
|
|
default: [],
|
||
|
|
}) + select(soong_config_variable("openmax", "TUNNELING_SUPPORT"), {
|
||
|
|
"true": ["-DTUNNELING_SUPPORT"],
|
||
|
|
default: [],
|
||
|
|
}) + select(soong_config_variable("openmax", "USE_SMALL_SECURE_MEMORY"), {
|
||
|
|
"true": ["-DUSE_SMALL_SECURE_MEMORY"],
|
||
|
|
default: [],
|
||
|
|
}) + select(soong_config_variable("openmax", "USE_COMPRESSED_COLOR"), {
|
||
|
|
"true": ["-DUSE_COMPRESSED_COLOR"],
|
||
|
|
default: [],
|
||
|
|
}) + select(soong_config_variable("arm_gralloc", "exynos_s10b_format_align"), {
|
||
|
|
any @ flag_val: ["-DS10B_FORMAT_8B_ALIGNMENT=" + flag_val],
|
||
|
|
default: [],
|
||
|
|
}),
|
||
|
|
|
||
|
|
srcs: [
|
||
|
|
"Exynos_OMX_VdecControl.c",
|
||
|
|
"Exynos_OMX_Vdec.c",
|
||
|
|
],
|
||
|
|
|
||
|
|
shared_libs: [
|
||
|
|
"liblog",
|
||
|
|
],
|
||
|
|
|
||
|
|
static_libs: [
|
||
|
|
"libExynosVideoApi",
|
||
|
|
"libVendorVideoApi",
|
||
|
|
"libExynosOMX_OSAL",
|
||
|
|
],
|
||
|
|
|
||
|
|
header_libs: [
|
||
|
|
"device_kernel_headers",
|
||
|
|
"media_plugin_headers",
|
||
|
|
],
|
||
|
|
|
||
|
|
include_dirs: [
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/core",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/include/exynos",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/osal",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/component/common",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/component/video/dec",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/openmax/component/video/enc",
|
||
|
|
"hardware/samsung_slsi-linaro/openmax/videocodec/include",
|
||
|
|
"hardware/samsung_slsi-linaro/exynos/include",
|
||
|
|
"hardware/samsung_slsi-linaro/graphics/base/libion/include",
|
||
|
|
"system/core/libsystem/include",
|
||
|
|
],
|
||
|
|
}
|