import("//build/ohos.gni") import("//vendor/${product_company}/${product_name}/product.gni") ohos_shared_library("libdrv_dfx") { configs = [ "$public_sdk_config" ] subsystem_name = "huanglong_sdk" install_images = [ "vendor", ] output_extension = "so" sources = [ "profile_drv_user.c", ] include_dirs = [ "$libuapi_npu_headers", "$libuapi_npu_source_headers", "$drv_generic_headers", "$drv_npu_headers", "$libuapi_npu_acl_headers", "$libuapi_slog_headers", ] deps = [ "$libuapi_securec", "$libuapi_common", "$libslog", ] cflags = [ "-DLOG_TAG=\"dfx\"", "-Werror", "-Wextra", "-Wshadow", "-Wformat=2", "-Wdate-time", "-Wfloat-equal", "-fno-common", ] }