From c120476b5fc945cbb6564089a860732cf641a1a8 Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 1 Sep 2025 10:43:38 +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 --- frameworks/common/BUILD.gn | 1 + frameworks/js/napi/user_auth/BUILD.gn | 3 ++- test/fuzztest/services/coauthservice_fuzzer/BUILD.gn | 1 + .../services/context/contextcallbackimpl_fuzzer/BUILD.gn | 1 + test/fuzztest/services/context/contextpoolimpl_fuzzer/BUILD.gn | 1 + .../services/context/remoteauthcontext_fuzzer/BUILD.gn | 1 + test/fuzztest/services/core/remoteexecutorstub_fuzzer/BUILD.gn | 1 + test/fuzztest/services/servicecore_fuzzer/BUILD.gn | 1 + test/fuzztest/services/softbus_fuzzer/BUILD.gn | 1 + test/fuzztest/services/templatecachemanager_fuzzer/BUILD.gn | 1 + test/fuzztest/services/userauthservice_fuzzer/BUILD.gn | 1 + test/fuzztest/services/useridmservice_fuzzer/BUILD.gn | 1 + test/unittest/services/BUILD.gn | 1 + 13 files changed, 14 insertions(+), 1 deletion(-) diff --git a/frameworks/common/BUILD.gn b/frameworks/common/BUILD.gn index e37f29592..e6d9c583b 100644 --- a/frameworks/common/BUILD.gn +++ b/frameworks/common/BUILD.gn @@ -44,6 +44,7 @@ ohos_source_set("user_auth_common") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_context", + "ability_runtime:extensionkit_native", "ability_runtime:ui_extension", "ace_engine:ace_uicontent", "hiappevent:hiappevent_innerapi", diff --git a/frameworks/js/napi/user_auth/BUILD.gn b/frameworks/js/napi/user_auth/BUILD.gn index 949a88e0e..ec81f8f04 100644 --- a/frameworks/js/napi/user_auth/BUILD.gn +++ b/frameworks/js/napi/user_auth/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2022 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 @@ -61,6 +61,7 @@ ohos_shared_library("userauth") { "ability_runtime:ability_manager", "ability_runtime:abilitykit_native", "ability_runtime:app_context", + "ability_runtime:extensionkit_native", "ability_runtime:napi_base_context", "ability_runtime:ui_extension", "ace_engine:ace_uicontent", diff --git a/test/fuzztest/services/coauthservice_fuzzer/BUILD.gn b/test/fuzztest/services/coauthservice_fuzzer/BUILD.gn index 761d0d0a5..f7f3ff4ef 100644 --- a/test/fuzztest/services/coauthservice_fuzzer/BUILD.gn +++ b/test/fuzztest/services/coauthservice_fuzzer/BUILD.gn @@ -53,6 +53,7 @@ ohos_fuzztest("CoAuthServiceFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "c_utils:utils", "drivers_interface_user_auth:libuser_auth_proxy_4.0", "eventhandler:libeventhandler", diff --git a/test/fuzztest/services/context/contextcallbackimpl_fuzzer/BUILD.gn b/test/fuzztest/services/context/contextcallbackimpl_fuzzer/BUILD.gn index 03b19f50c..cf62c2fbb 100644 --- a/test/fuzztest/services/context/contextcallbackimpl_fuzzer/BUILD.gn +++ b/test/fuzztest/services/context/contextcallbackimpl_fuzzer/BUILD.gn @@ -59,6 +59,7 @@ ohos_fuzztest("ContextCallbackImplFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "access_token:libaccesstoken_sdk", "c_utils:utils", "drivers_interface_user_auth:libuser_auth_proxy_4.0", diff --git a/test/fuzztest/services/context/contextpoolimpl_fuzzer/BUILD.gn b/test/fuzztest/services/context/contextpoolimpl_fuzzer/BUILD.gn index 551a964f6..4920685f6 100644 --- a/test/fuzztest/services/context/contextpoolimpl_fuzzer/BUILD.gn +++ b/test/fuzztest/services/context/contextpoolimpl_fuzzer/BUILD.gn @@ -62,6 +62,7 @@ ohos_fuzztest("ContextPoolImplFuzzTest") { "ability_base:base", "ability_base:want", "ability_base:zuri", + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", diff --git a/test/fuzztest/services/context/remoteauthcontext_fuzzer/BUILD.gn b/test/fuzztest/services/context/remoteauthcontext_fuzzer/BUILD.gn index 14411cd55..12c5e3b3b 100644 --- a/test/fuzztest/services/context/remoteauthcontext_fuzzer/BUILD.gn +++ b/test/fuzztest/services/context/remoteauthcontext_fuzzer/BUILD.gn @@ -75,6 +75,7 @@ ohos_fuzztest("RemoteAuthContextFuzzTest") { "ability_base:base", "ability_base:want", "ability_base:zuri", + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", diff --git a/test/fuzztest/services/core/remoteexecutorstub_fuzzer/BUILD.gn b/test/fuzztest/services/core/remoteexecutorstub_fuzzer/BUILD.gn index f8ad20072..02c325453 100644 --- a/test/fuzztest/services/core/remoteexecutorstub_fuzzer/BUILD.gn +++ b/test/fuzztest/services/core/remoteexecutorstub_fuzzer/BUILD.gn @@ -53,6 +53,7 @@ ohos_fuzztest("RemoteExecutorStubFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "ability_runtime:app_manager", "access_token:libaccesstoken_sdk", "c_utils:utils", diff --git a/test/fuzztest/services/servicecore_fuzzer/BUILD.gn b/test/fuzztest/services/servicecore_fuzzer/BUILD.gn index 073378936..2680b9c8d 100644 --- a/test/fuzztest/services/servicecore_fuzzer/BUILD.gn +++ b/test/fuzztest/services/servicecore_fuzzer/BUILD.gn @@ -59,6 +59,7 @@ ohos_fuzztest("ServiceCoreFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "ability_runtime:app_manager", "access_token:libaccesstoken_sdk", "access_token:libtoken_setproc", diff --git a/test/fuzztest/services/softbus_fuzzer/BUILD.gn b/test/fuzztest/services/softbus_fuzzer/BUILD.gn index de7e56a1a..4e6f5defc 100644 --- a/test/fuzztest/services/softbus_fuzzer/BUILD.gn +++ b/test/fuzztest/services/softbus_fuzzer/BUILD.gn @@ -53,6 +53,7 @@ ohos_fuzztest("SoftBusFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "access_token:libtoken_setproc", "c_utils:utils", "c_utils:utils", diff --git a/test/fuzztest/services/templatecachemanager_fuzzer/BUILD.gn b/test/fuzztest/services/templatecachemanager_fuzzer/BUILD.gn index 5b4ef83e6..8440e45a9 100644 --- a/test/fuzztest/services/templatecachemanager_fuzzer/BUILD.gn +++ b/test/fuzztest/services/templatecachemanager_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("TemplateCacheManagerFuzzTest") { ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", diff --git a/test/fuzztest/services/userauthservice_fuzzer/BUILD.gn b/test/fuzztest/services/userauthservice_fuzzer/BUILD.gn index 785a8c91b..de42926e2 100644 --- a/test/fuzztest/services/userauthservice_fuzzer/BUILD.gn +++ b/test/fuzztest/services/userauthservice_fuzzer/BUILD.gn @@ -49,6 +49,7 @@ ohos_fuzztest("UserAuthServiceFuzzTest") { ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", diff --git a/test/fuzztest/services/useridmservice_fuzzer/BUILD.gn b/test/fuzztest/services/useridmservice_fuzzer/BUILD.gn index 674b61bd6..6206813d5 100644 --- a/test/fuzztest/services/useridmservice_fuzzer/BUILD.gn +++ b/test/fuzztest/services/useridmservice_fuzzer/BUILD.gn @@ -53,6 +53,7 @@ ohos_fuzztest("UserIdmServiceFuzzTest") { remove_configs = [ "//build/config/compiler:no_exceptions" ] external_deps = [ + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", diff --git a/test/unittest/services/BUILD.gn b/test/unittest/services/BUILD.gn index 3aa2a2b37..ea524bcff 100644 --- a/test/unittest/services/BUILD.gn +++ b/test/unittest/services/BUILD.gn @@ -203,6 +203,7 @@ ohos_unittest("iam_services_test") { "ability_base:base", "ability_base:want", "ability_base:zuri", + "ability_runtime:ability_connect_callback_stub", "ability_runtime:ability_context_native", "ability_runtime:abilitykit_native", "ability_runtime:app_manager", -- Gitee