From 21fc2254e1bc7f6db13e09ab95476f58d7fd1322 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 14 Jul 2025 20:26:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E7=BC=96=E8=AF=91-=E9=85=8D?= =?UTF-8?q?=E5=90=88ability=5Fruntime=E5=88=A0=E9=99=A4public=5Fdeps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangzezhong --- bundle.json | 3 +++ frameworks/native/backup_ext/BUILD.gn | 3 ++- interfaces/kits/ani/file_share/BUILD.gn | 4 ++++ interfaces/kits/js/BUILD.gn | 6 +++++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bundle.json b/bundle.json index a6d9c33f1..32b43017c 100644 --- a/bundle.json +++ b/bundle.json @@ -31,6 +31,7 @@ "device_manager", "faultloggerd", "file_api", + "form_fwk", "hicollie", "hitrace", "hilog", @@ -42,11 +43,13 @@ "napi", "runtime_core", "openssl", + "resource_management", "safwk", "samgr", "storage_service", "sandbox_manager", "selinux_adapter", + "window_manager", "zlib" ], "third_party": [ diff --git a/frameworks/native/backup_ext/BUILD.gn b/frameworks/native/backup_ext/BUILD.gn index 85d6d2369..35f695fdf 100644 --- a/frameworks/native/backup_ext/BUILD.gn +++ b/frameworks/native/backup_ext/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2023 Huawei Device Co., Ltd. +# Copyright (c) 2022-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -60,6 +60,7 @@ ohos_shared_library("backup_extension_ability_native") { "ability_base:want", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", + "ability_runtime:abilitykit_utils", "ability_runtime:ani_common", "ability_runtime:app_context", "ability_runtime:appkit_native", diff --git a/interfaces/kits/ani/file_share/BUILD.gn b/interfaces/kits/ani/file_share/BUILD.gn index 6acb23f62..f7f995236 100644 --- a/interfaces/kits/ani/file_share/BUILD.gn +++ b/interfaces/kits/ani/file_share/BUILD.gn @@ -38,6 +38,7 @@ ohos_shared_library("fileshare_ani") { [ "${app_file_service_path}/interfaces/innerkits/native:fileuri_native" ] external_deps = [ + "ability_base:configuration", "ability_base:want", "ability_base:zuri", "ability_runtime:abilitykit_native", @@ -53,11 +54,14 @@ ohos_shared_library("fileshare_ani") { "file_api:filemgmt_libhilog", "file_api:filemgmt_libn", "file_api:remote_uri_native", + "form_fwk:form_manager", "hilog:libhilog", "init:libbegetutil", "ipc:ipc_core", "napi:ace_napi", + "resource_management:global_resmgr", "runtime_core:ani", + "window_manager:sms", ] part_name = "app_file_service" subsystem_name = "filemanagement" diff --git a/interfaces/kits/js/BUILD.gn b/interfaces/kits/js/BUILD.gn index 3a96c145c..90d46a412 100644 --- a/interfaces/kits/js/BUILD.gn +++ b/interfaces/kits/js/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Huawei Device Co., Ltd. +# Copyright (c) 2021-2025 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -43,6 +43,7 @@ ohos_shared_library("fileshare") { [ "${app_file_service_path}/interfaces/innerkits/native:fileuri_native" ] external_deps = [ + "ability_base:configuration", "ability_base:want", "ability_base:zuri", "ability_runtime:abilitykit_native", @@ -58,10 +59,13 @@ ohos_shared_library("fileshare") { "file_api:filemgmt_libhilog", "file_api:filemgmt_libn", "file_api:remote_uri_native", + "form_fwk:form_manager", "hilog:libhilog", "init:libbegetutil", "ipc:ipc_core", "napi:ace_napi", + "resource_management:global_resmgr", + "window_manager:sms" ] defines = [] if (sandbox_manarer) { -- Gitee