import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libuapi_pdm") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "iapi_pdm.c", "mpi_pdm.c", "db_ext.c", ] include_dirs = [ "$drv_ao_headers", "$drv_audio_headers", "$drv_common_headers", "$drv_generic_headers", "$drv_memc_headers", "$drv_panel_headers", "$drv_pdm_headers", "$drv_spi_headers", "$drv_video_headers", "$drv_vo_headers", "$libuapi_pdm_headers", "$libuapi_cec_headers", "$libuapi_video_headers", "$libdftevent_headers", ] deps = [ "$libuapi_flash", "$libuapi_panel", "$libuapi_vo", "$libuapi_memory", "$libuapi_securec", "$libuapi_common", "$libdftevent", ] cflags = [ "-DLOG_TAG=\"libuapi_pdm\"", ] public_configs = [ ":libuapi_pdm_config", ] } config("libuapi_pdm_config") { include_dirs = [ "$libuapi_pdm_headers" ] }