cc_defaults { name: "ai_defaults", srcs: [ ], cflags: [ "-DLOG_TAG=\"sample_audio_ai\"", "-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", ], 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", ], static_libs: [ "libuapi_adp", ], } cc_binary { name: "sample_ai", proprietary: true, srcs: [ "sample_ai.c", ], defaults: ["ai_defaults"], clang: true, } cc_binary { name: "sample_ai_aenc", proprietary: true, srcs: [ "sample_ai_aenc.c", ], defaults: ["ai_defaults"], clang: true, } cc_binary { name: "sample_ai_ao", proprietary: true, srcs: [ "sample_ai_ao.c", ], defaults: ["ai_defaults"], clang: true, } cc_binary { name: "sample_ai_hdmirx", proprietary: true, srcs: [ "sample_ai_hdmirx.c", ], defaults: ["ai_defaults"], clang: true, }