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.

85 lines
1.8 KiB

cc_defaults {
name: "omx_adec_defaults",
srcs: [
],
cflags: [
"-DLOG_TAG=\"sample_audio_omx_adec\"",
"-DCONFIG_SOCT_LOG_SUPPORT",
"-Wformat",
"-Wlong-long",
"-Wpointer-arith",
"-fstack-protector-all",
"-fPIC",
"-Werror",
"-Wall",
],
include_dirs: [
"vendor/platform/secure_c/include",
"frameworks/native/include/media/openmax",
],
header_libs: [
"drv_generic_headers",
"libuapi_audio_headers",
"libuapi_generic_headers",
"libuapi_media_headers",
"libuapi_video_headers",
"libuapi_hacodec_headers",
"libuapi_ao_headers",
"libuapi_aenc_headers",
"libuapi_vi_headers",
"libuapi_adp_headers",
"drv_audio_headers",
"libuapi_common_headers",
"drv_ao_headers",
"libuapi_amp_headers",
"omx_audio_common_base_headers",
"omx_audio_common_ha_headers",
"omx_audio_common_osal_headers",
"libuapi_omx_headers",
],
shared_libs: [
"libuapi_securec",
"libuapi_common",
"libcutils",
"libutils",
"libui",
"libdl",
"liblog",
"libuapi_avplay",
"libuapi_ao",
"libuapi_ai",
"libuapi_i2c",
"libteec_vendor",
"libuapi_aenc",
"libuapi_vi",
"libuapi_pdm",
"libuapi_aenc",
"libuapi_amp",
"libuapi_memory",
"libOMX.uapi.audio.utils",
"libOMX.uapi.audio.aacdec",
"libOMX.uapi.audio.aacenc",
"libOMX_Core",
],
static_libs: [
"libuapi_adp",
],
}
cc_binary {
name: "sample_omx_play",
proprietary: true,
srcs: [
"sample_omx_play.c",
],
defaults: ["omx_adec_defaults"],
clang: true,
}