diff --git a/services/uripermmgr/BUILD.gn b/services/uripermmgr/BUILD.gn index e9cbd816b6..e60e373220 100644 --- a/services/uripermmgr/BUILD.gn +++ b/services/uripermmgr/BUILD.gn @@ -112,7 +112,10 @@ ohos_shared_library("libupms") { if (ability_runtime_udmf_enable) { sources += [ "src/upms_udmf_utils.cpp" ] - external_deps += [ "udmf:udmf_client" ] + external_deps += [ + "udmf:udmf_client", + "image_framework:image", + ] defines += [ "ABILITY_RUNTIME_UDMF_ENABLE" ] } @@ -191,7 +194,10 @@ ohos_static_library("libupms_static") { if (ability_runtime_udmf_enable) { sources += [ "src/upms_udmf_utils.cpp" ] - external_deps += [ "udmf:udmf_client" ] + external_deps += [ + "udmf:udmf_client", + "image_framework:image", + ] defines += [ "ABILITY_RUNTIME_UDMF_ENABLE" ] }