import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libvendor_camera") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "uapi_camera.c", "manager/uapi_camera_device_manager.c", "manager/uapi_camera_hotplug_manager.c", "manager/uapi_camera_proc_manager.c", "manager/uapi_camera_product_manager.c", "manager/uapi_camera_stream_manager.c", ] include_dirs = [ "include", "$drv_generic_headers", "$libvendor_camera_headers", "$libvendor_camera_source_headers", "$libuapi_generic_headers", ] deps = [ "$libuapi_securec", "$libvendor_camera_utils", "isp/common:libvendor_camera_common", "isp/common:libvendor_camera_commondef", "isp/external_ws:libvendor_camera_extws", ] cflags = [ "-DLOG_TAG=\"libvendor_camera\"", ] public_configs = [ ":libvendor_camera_config", ] } config("libvendor_camera_config") { include_dirs = [ "$libvendor_camera_headers", "$libvendor_camera_source_headers", ] }