cc_defaults { name: "ao_defaults", srcs: [ ], cflags: [ "-DLOG_TAG=\"sample_audio_ao\"", "-DCONFIG_SOCT_LOG_SUPPORT", "-Wformat", "-Wlong-long", "-Wpointer-arith", "-fstack-protector-all", "-fPIC", "-Werror", "-Wall", ], include_dirs: [ "vendor/platform/secure_c/include", ], header_libs: [ "drv_generic_headers", "libuapi_audio_headers", "libuapi_generic_headers", "libuapi_media_headers", "libuapi_video_headers", "libuapi_hacodec_headers", "libuapi_cec_headers", "libuapi_hdmirx_headers", "libuapi_pq_headers", "libuapi_panel_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", ], shared_libs: [ "libuapi_securec", "libuapi_common", "libcutils", "libutils", "libui", "libdl", "liblog", "libuapi_avplay", "libuapi_ao", "libuapi_vo", "libuapi_frontend", "libuapi_ai", "libuapi_dispmng", "libuapi_i2c", "libteec_vendor", "libuapi_hdmirx", "libuapi_pq", "libuapi_panel", "libuapi_aenc", "libuapi_vi", "libuapi_pdm", "libuapi_aenc", "libuapi_amp", ], static_libs: [ "libuapi_adp", ], } cc_binary { name: "sample_audio_play", proprietary: true, srcs: [ "sample_audio_play.c", ], defaults: ["ao_defaults"], clang: true, } cc_binary { name: "sample_mixengine", proprietary: true, srcs: [ "sample_mixengine.c", ], defaults: ["ao_defaults"], clang: true, } cc_binary { name: "sample_track_info", proprietary: true, srcs: [ "sample_track_info.c", ], defaults: ["ao_defaults"], clang: true, }