diff --git a/frameworks/common/BUILD.gn b/frameworks/common/BUILD.gn index e37f295925a23f641cfa15857a75e08618b1ad7a..e6d9c583bd437e12c8198a699c394d2c1d09f70e 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 949a88e0e07abb506bc2c52b342de804bcb04574..ec81f8f04807a40deeb6ecc6ff36af2ea4132ca2 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 761d0d0a58f102772044b068aa48a326813b99c3..f7f3ff4ef0fec3875ed346bb84d353de3beb0f18 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 03b19f50ce73c8f973dd691d0a82d90a11d1141a..cf62c2fbb96d77ce7d78dd99faf741978e8a358a 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 551a964f6f0f9d1def415eedc9206f7f64914d05..4920685f6ab472dd388d2f92555bddb62e855f12 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 14411cd55076f550405d6e975ca3b5652f928688..12c5e3b3b5d4a3bafea8a8f508c399e8c0812a2e 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 f8ad20072049933c5577a165a4b7e92c5f6ee5ca..02c3254530f07e2688d3f45cf13aa9e6bb226331 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 07337893645a745a6934b9ac2a934ab0fb74c5b1..2680b9c8d3e8b584061701caf4108829099d6e70 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 de7e56a1a4a806ab433c0b2205676a15da3a6809..4e6f5defc595a430dab553c24e2050a9adee15a3 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 5b4ef83e683d548cf762f41386e99652b0074e8e..8440e45a93debd26e9b15929817272d205196aab 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/unittest/services/BUILD.gn b/test/unittest/services/BUILD.gn index 3aa2a2b375b3a5949fbf52266b0224ea66646c06..ea524bcff9512bf9edf0281b86c1620d27e68a77 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",