From e87f3a7dee1d8f5fbe2eccb6ee03ab2b5f44a952 Mon Sep 17 00:00:00 2001 From: jiangzhijun8 Date: Thu, 31 Oct 2024 21:44:40 +0800 Subject: [PATCH] Issue:https://gitee.com/openharmony/ability_ability_runtime/issues/IB18UD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Desc:整改external_deps中依赖的本部件部分 Signed-off-by: jiangzhijun8 --- services/quickfixmgr/BUILD.gn | 8 +++++--- services/uripermmgr/BUILD.gn | 2 +- test/unittest/BUILD.gn | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/services/quickfixmgr/BUILD.gn b/services/quickfixmgr/BUILD.gn index ddefd1fbec..72de520b7b 100644 --- a/services/quickfixmgr/BUILD.gn +++ b/services/quickfixmgr/BUILD.gn @@ -87,12 +87,14 @@ ohos_static_library("quickfixms_static") { defines = [ "AMS_LOG_TAG = \"QuickFixService\"" ] - deps = [ "${ability_runtime_services_path}/common:perm_verification" ] + deps = [ + "${ability_runtime_innerkits_path}/app_manager:app_manager", + "${ability_runtime_innerkits_path}/quick_fix:quickfix_manager", + "${ability_runtime_services_path}/common:perm_verification", + ] external_deps = [ "ability_base:want", - "ability_runtime:app_manager", - "ability_runtime:quickfix_manager", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "c_utils:utils", diff --git a/services/uripermmgr/BUILD.gn b/services/uripermmgr/BUILD.gn index 1c637449f4..85a2f6c10b 100644 --- a/services/uripermmgr/BUILD.gn +++ b/services/uripermmgr/BUILD.gn @@ -128,6 +128,7 @@ ohos_static_library("libupms_static") { sources = libupms_sources deps = [ + "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", "${ability_runtime_services_path}/common:app_util", "${ability_runtime_services_path}/common:perm_verification", @@ -137,7 +138,6 @@ ohos_static_library("libupms_static") { "ability_base:configuration", "ability_base:want", "ability_base:zuri", - "ability_runtime:ability_deps_wrapper", "access_token:libaccesstoken_sdk", "app_file_service:fileuri_native", "bundle_framework:appexecfwk_base", diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index a362f63136..c7aad22c97 100644 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -216,10 +216,12 @@ ohos_source_set("abilityms_test_source") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:process_options", "${ability_runtime_innerkits_path}/ability_manager:start_window_option", "${ability_runtime_innerkits_path}/app_manager:app_manager", "${ability_runtime_innerkits_path}/connectionobs_manager:connection_obs_manager", + "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", "${ability_runtime_path}/utils/global/freeze:freeze_util", "${ability_runtime_path}/utils/server/startup:startup_util", @@ -234,8 +236,6 @@ ohos_source_set("abilityms_test_source") { "ability_base:extractortool", "ability_base:view_data", "ability_base:want", - "ability_runtime:ability_deps_wrapper", - "ability_runtime:ability_manager", "access_token:libaccesstoken_sdk", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core",