diff --git a/frameworks/native/ability/native/BUILD.gn b/frameworks/native/ability/native/BUILD.gn index aba418e969355b70de6d17331d76a21cd6a30e10..a7d124be9806c2bf9f3003896ef0fee9bd8e8579 100644 --- a/frameworks/native/ability/native/BUILD.gn +++ b/frameworks/native/ability/native/BUILD.gn @@ -335,6 +335,7 @@ ohos_shared_library("abilitykit_native") { ] deps = [ + ":abilitykit_utils", ":configuration_helper", ":continuation_ipc", ":extension_blocklist_config", @@ -377,6 +378,7 @@ ohos_shared_library("abilitykit_native") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "graphic_2d:2d_graphics", "hilog:libhilog", "hisysevent:libhisysevent", "hitrace:hitrace_meter", @@ -497,6 +499,7 @@ ohos_shared_library("cj_abilitykit_native_ffi") { deps = [ ":abilitykit_native", ":continuation_ipc", + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_path}/frameworks/cj/ffi/context:cj_context_ffi", @@ -504,6 +507,7 @@ ohos_shared_library("cj_abilitykit_native_ffi") { external_deps = [ "ace_engine:ace_uicontent", "eventhandler:libeventhandler", + "form_fwk:form_manager", "ipc:cj_ipc_ffi", "ipc:ipc_core", "ipc:ipc_napi", @@ -511,6 +515,7 @@ ohos_shared_library("cj_abilitykit_native_ffi") { "napi:ace_napi", "napi:cj_bind_ffi", "napi:cj_bind_native", + "window_manager:libwm", ] if (!(host_os == "linux" && host_cpu == "arm64")) { @@ -843,6 +848,7 @@ ohos_shared_library("ui_ability_ani") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":configuration_helper", ":continuation_ipc", ":extensionkit_native", @@ -942,6 +948,7 @@ ohos_shared_library("uiabilitykit_native") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":configuration_helper", ":continuation_ipc", ":extensionkit_native", @@ -1055,6 +1062,7 @@ ohos_shared_library("ability_thread") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":uiabilitykit_native", "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", @@ -1191,6 +1199,7 @@ ohos_shared_library("form_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_napi_path}/inner/napi_common:napi_common", @@ -1253,6 +1262,7 @@ ohos_shared_library("cj_form_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":cj_extensionkit_native", ":extensionkit_native", ":form_extension", @@ -1355,6 +1365,7 @@ ohos_shared_library("service_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -1422,6 +1433,7 @@ ohos_shared_library("service_extension_ani") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":service_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", @@ -1548,6 +1560,7 @@ ohos_shared_library("ui_service_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_service_extension_connection", "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", @@ -1646,7 +1659,10 @@ ohos_shared_library("ui_service_extension_module") { sources = [ "${ability_runtime_native_path}/ability/native/ui_service_extension_ability/ui_service_extension_module_loader.cpp" ] configs = [ ":ability_config" ] - deps = [ ":ui_service_extension" ] + deps = [ + ":ui_service_extension", + "${ability_runtime_innerkits_path}/runtime:runtime", + ] external_deps = [ "ability_base:configuration", @@ -1987,6 +2003,7 @@ ohos_shared_library("ui_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_service_extension_connection", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -2065,6 +2082,7 @@ ohos_shared_library("ui_extension_ani") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_extension", ":ui_service_extension_connection", @@ -2142,6 +2160,7 @@ ohos_shared_library("cj_ui_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":cj_extensionkit_native", ":extensionkit_native", ":ui_extension", @@ -2252,6 +2271,7 @@ ohos_shared_library("share_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -2301,6 +2321,7 @@ ohos_shared_library("cj_share_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":cj_ui_extension", ":extensionkit_native", ":share_extension", @@ -2355,6 +2376,7 @@ ohos_shared_library("action_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -2404,6 +2426,7 @@ ohos_shared_library("cj_action_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":action_extension", ":cj_ui_extension", ":extensionkit_native", @@ -2622,6 +2645,7 @@ ohos_shared_library("embedded_ui_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -2631,6 +2655,7 @@ ohos_shared_library("embedded_ui_extension") { "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/frameworks/native/ability/native:cj_form_extension", ] external_deps = [ @@ -2674,6 +2699,7 @@ ohos_shared_library("cj_embedded_ui_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":cj_ui_extension", ":embedded_ui_extension", ":extensionkit_native", @@ -2686,6 +2712,7 @@ ohos_shared_library("cj_embedded_ui_extension") { "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_path}/frameworks/cj/ffi:cj_ability_ffi", + "${ability_runtime_path}/frameworks/native/ability/native:cj_form_extension", ] external_deps = [ @@ -2770,6 +2797,7 @@ ohos_shared_library("auto_fill_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":insight_intent_executor", ":ui_extension", @@ -2780,6 +2808,7 @@ ohos_shared_library("auto_fill_extension") { "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/frameworks/native/ability/native:cj_form_extension", ] external_deps = [ @@ -2891,6 +2920,7 @@ ohos_shared_library("photo_editor_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":ui_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", @@ -2948,6 +2978,7 @@ ohos_shared_library("cj_photo_editor_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":cj_extensionkit_native", ":cj_ui_extension", ":extensionkit_native", @@ -3058,6 +3089,7 @@ ohos_shared_library("app_service_extension") { deps = [ ":abilitykit_native", + ":abilitykit_utils", ":extensionkit_native", ":service_extension", "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", diff --git a/frameworks/native/appkit/BUILD.gn b/frameworks/native/appkit/BUILD.gn index 2ec7e98b9834b07575ea371a5b375b3a269364a3..59b84ff9468070eb69d6e8063c5ab86d71e619c8 100644 --- a/frameworks/native/appkit/BUILD.gn +++ b/frameworks/native/appkit/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -168,6 +168,7 @@ ohos_shared_library("appkit_native") { "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", diff --git a/interfaces/inner_api/ability_manager/BUILD.gn b/interfaces/inner_api/ability_manager/BUILD.gn index 06e808590c92eedc58eed1581d4955ac3742b447..ff95604c7386869f990d06111787f8512a7e6e64 100644 --- a/interfaces/inner_api/ability_manager/BUILD.gn +++ b/interfaces/inner_api/ability_manager/BUILD.gn @@ -138,6 +138,7 @@ ohos_shared_library("ability_manager") { public_deps = [ ":ability_connect_callback_stub" ] deps = [ + ":ability_connect_callback_stub", ":ability_start_options", ":ability_start_setting", ":mission_info", diff --git a/interfaces/inner_api/extension_manager/BUILD.gn b/interfaces/inner_api/extension_manager/BUILD.gn index 67c92840b0d004677f69b7441676873fce8e76b3..e01a8cad3b14bd83dee76897afe910e27668ac24 100755 --- a/interfaces/inner_api/extension_manager/BUILD.gn +++ b/interfaces/inner_api/extension_manager/BUILD.gn @@ -49,8 +49,11 @@ ohos_shared_library("extension_manager") { public_configs = [ ":extension_manager_public_config" ] public_deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub" ] - - deps = [ "${ability_runtime_services_path}/common:hitrace_chain_util" ] + + deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_services_path}/common:hitrace_chain_util", + ] external_deps = [ "ability_base:want", diff --git a/services/abilitymgr/BUILD.gn b/services/abilitymgr/BUILD.gn index b7cc7c07644be2a99f0b37be2a4d15cb1fe2eca0..ae8c1379705890350eb9e5e5d9f5c6f9205cf5c4 100644 --- a/services/abilitymgr/BUILD.gn +++ b/services/abilitymgr/BUILD.gn @@ -140,6 +140,7 @@ ohos_shared_library("abilityms") { "${ability_runtime_innerkits_path}/connectionobs_manager:connection_obs_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_innerkits_path}/session_handler:session_handler", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", diff --git a/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/BUILD.gn b/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/BUILD.gn index d27b8e65bf5a76202bdc208c9bafc251149ca507..864aa23074c6edeb646d9854d82f66b273aed9f2 100644 --- a/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/BUILD.gn +++ b/test/fuzztest/abilityappmgrapprunningmanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -52,7 +52,9 @@ ohos_fuzztest("AbilityAppMgrAppRunningManagerFuzzTest") { "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_innerkits_path}/app_manager:app_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_path}/utils/server/startup:startup_util", "${ability_runtime_services_path}/abilitymgr:abilityms", diff --git a/test/fuzztest/abilityconnectionstub_fuzzer/BUILD.gn b/test/fuzztest/abilityconnectionstub_fuzzer/BUILD.gn index 0bb04b5efbd467820b6c0ba3c5c5ba0cba000725..8a75b32e3070651ea473db580c70e780e0113364 100755 --- a/test/fuzztest/abilityconnectionstub_fuzzer/BUILD.gn +++ b/test/fuzztest/abilityconnectionstub_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -36,6 +36,7 @@ ohos_fuzztest("AbilityConnectionStubFuzzTest") { configs = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager_public_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_native_path}/ability/native:abilitykit_native", diff --git a/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/BUILD.gn b/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/BUILD.gn index 20662935ca0064c82d69dfed1739ecf16fb9425a..05fef0ce55640165bb7c61c7b6029f686d78b19e 100644 --- a/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/BUILD.gn +++ b/test/fuzztest/abilitymgrinsightintentexecutemanager_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -56,6 +56,7 @@ ohos_fuzztest("AbilityMgrInsightIntentExecuteManagerFuzzTest") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_innerkits_path}/app_manager:app_manager", diff --git a/test/fuzztest/appmgrrest_fuzzer/BUILD.gn b/test/fuzztest/appmgrrest_fuzzer/BUILD.gn index b239b0ab2e222be3b0ede1be98c82e306cb72568..79cd7916d36cd6e1af74243f64c3141402b37dd2 100755 --- a/test/fuzztest/appmgrrest_fuzzer/BUILD.gn +++ b/test/fuzztest/appmgrrest_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -56,6 +56,8 @@ ohos_fuzztest("AppMgrRestFuzzTest") { "napi:ace_napi", "safwk:system_ability_fwk", "samgr:samgr_proxy", + "window_manager:libdm", + "window_manager:libwm", ] if (ability_runtime_graphics) { diff --git a/test/fuzztest/assertfaultcallbackdeathmgr_fuzzer/BUILD.gn b/test/fuzztest/assertfaultcallbackdeathmgr_fuzzer/BUILD.gn index 02eb683672e5da4d606faf2e99cdeb1d6448ab92..ae2bf667ebe6bfdf7e50852e45a2db7320db7d2d 100644 --- a/test/fuzztest/assertfaultcallbackdeathmgr_fuzzer/BUILD.gn +++ b/test/fuzztest/assertfaultcallbackdeathmgr_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -50,6 +50,7 @@ ohos_fuzztest("AssertFaultCallbackDeathMgrFuzzTest") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_native_path}/ability/native:abilitykit_native", diff --git a/test/fuzztest/connectability_fuzzer/BUILD.gn b/test/fuzztest/connectability_fuzzer/BUILD.gn index a228c3559dcc4d2f00dcdd3e122bb74a1bb46348..da8807fa119980fe68c4c313bd0cec971b6f00b6 100755 --- a/test/fuzztest/connectability_fuzzer/BUILD.gn +++ b/test/fuzztest/connectability_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -45,11 +45,13 @@ ohos_fuzztest("ConnectAbilityFuzzTest") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:app_context_utils", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/fuzztest/startserviceextensionability_fuzzer/BUILD.gn b/test/fuzztest/startserviceextensionability_fuzzer/BUILD.gn index 969f4610b00df31cb12e11ddb095fc5bca591edc..0eb91b0bc768722c90a9be7612f32b31036dd8b0 100755 --- a/test/fuzztest/startserviceextensionability_fuzzer/BUILD.gn +++ b/test/fuzztest/startserviceextensionability_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -38,6 +38,7 @@ ohos_fuzztest("StartServiceExtensionAbilityFuzzTest") { configs = [] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/dataobs_manager:dataobs_manager", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", diff --git a/test/fuzztest/stopserviceextensionability_fuzzer/BUILD.gn b/test/fuzztest/stopserviceextensionability_fuzzer/BUILD.gn index cf9067a1551f4bda713b0ccdac1debf2040c8d03..9072c4b4b7bdeda9a674edd04d254689ece6c8e3 100644 --- a/test/fuzztest/stopserviceextensionability_fuzzer/BUILD.gn +++ b/test/fuzztest/stopserviceextensionability_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -39,12 +39,14 @@ ohos_fuzztest("StopServiceExtensionAbilityFuzzTest") { configs = [] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/dataobs_manager:dataobs_manager", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:app_context_utils", "${ability_runtime_native_path}/appkit:appkit_delegator", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/fuzztest/terminateability_fuzzer/BUILD.gn b/test/fuzztest/terminateability_fuzzer/BUILD.gn index ef545206a4aa5df56f14ac1f68399358e4f96cfb..40b9df774298f4eaffd02d195370e8d06f98d35a 100644 --- a/test/fuzztest/terminateability_fuzzer/BUILD.gn +++ b/test/fuzztest/terminateability_fuzzer/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -39,6 +39,7 @@ ohos_fuzztest("TerminateAbilityFuzzTest") { configs = [] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/app_manager:app_manager", "${ability_runtime_innerkits_path}/dataobs_manager:dataobs_manager", "${ability_runtime_native_path}/ability:ability_context_native", @@ -46,6 +47,7 @@ ohos_fuzztest("TerminateAbilityFuzzTest") { "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:app_context_utils", "${ability_runtime_native_path}/appkit:appkit_delegator", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", ] diff --git a/test/moduletest/ability_caller_fw_module_test/BUILD.gn b/test/moduletest/ability_caller_fw_module_test/BUILD.gn index 416b193f5de2d16b8ed5ae0737d93a37fafafaa9..37567927a231adf82c89598c933c168585543df3 100644 --- a/test/moduletest/ability_caller_fw_module_test/BUILD.gn +++ b/test/moduletest/ability_caller_fw_module_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -37,9 +37,12 @@ ohos_moduletest("ability_caller_fw_module_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -49,6 +52,7 @@ ohos_moduletest("ability_caller_fw_module_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -56,6 +60,7 @@ ohos_moduletest("ability_caller_fw_module_test") { "ipc:ipc_napi", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:sms", ] } diff --git a/test/moduletest/ability_test/BUILD.gn b/test/moduletest/ability_test/BUILD.gn index 987acb5182dbd518138fca37d59f17c866befdb7..35b8e62ee9fa426d9713626022c9171fd88bb456 100644 --- a/test/moduletest/ability_test/BUILD.gn +++ b/test/moduletest/ability_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -58,8 +58,10 @@ ohos_moduletest("ability_moduletest") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/app_manager:app_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:appkit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -74,6 +76,7 @@ ohos_moduletest("ability_moduletest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -88,6 +91,7 @@ ohos_moduletest("ability_moduletest") { "relational_store:native_rdb", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -119,8 +123,10 @@ ohos_moduletest("ability_conetxt_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/app_manager:app_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:appkit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -135,6 +141,7 @@ ohos_moduletest("ability_conetxt_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -148,6 +155,7 @@ ohos_moduletest("ability_conetxt_test") { "relational_store:native_rdb", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { external_deps += [ @@ -167,6 +175,7 @@ ohos_moduletest("ability_thread_call_request_module_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", ] @@ -179,12 +188,14 @@ ohos_moduletest("ability_thread_call_request_module_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "ipc:ipc_napi", "json:nlohmann_json_static", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:sms", ] } @@ -209,6 +220,7 @@ ohos_moduletest("data_ability_operation_moduletest") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/app_manager:app_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -223,6 +235,7 @@ ohos_moduletest("data_ability_operation_moduletest") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -236,6 +249,7 @@ ohos_moduletest("data_ability_operation_moduletest") { "relational_store:native_rdb", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -266,8 +280,10 @@ ohos_moduletest("data_ability_helper_module_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:data_ability_helper", "${ability_runtime_native_path}/appkit:appkit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", @@ -291,6 +307,7 @@ ohos_moduletest("data_ability_helper_module_test") { "relational_store:native_appdatafwk", "relational_store:native_dataability", "relational_store:native_rdb", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -319,6 +336,7 @@ ohos_moduletest("ability_post_event_timeout_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:data_ability_helper", ] diff --git a/test/moduletest/ipc_ability_connect_test/BUILD.gn b/test/moduletest/ipc_ability_connect_test/BUILD.gn index 266d323032f28f1cf7e846b661e2ea1ac624d4f7..d6c1ab8b6d50451b596499f7f54f4eb54a7dc9eb 100644 --- a/test/moduletest/ipc_ability_connect_test/BUILD.gn +++ b/test/moduletest/ipc_ability_connect_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -28,6 +28,9 @@ ohos_moduletest("IpcAbilityConnectModuleTest") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/appkit:app_context_utils", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", ] diff --git a/test/sample/demo_ui_extension/native/demo_ui_extension_ability/BUILD.gn b/test/sample/demo_ui_extension/native/demo_ui_extension_ability/BUILD.gn index 992c95fdd1f5cd7032a9f554429756b2bb59788a..84fa40e6e56baa8e43b5c5f5e898760eeac6ffb5 100644 --- a/test/sample/demo_ui_extension/native/demo_ui_extension_ability/BUILD.gn +++ b/test/sample/demo_ui_extension/native/demo_ui_extension_ability/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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,11 +43,14 @@ ohos_shared_library("demo_ui_extension") { # If not in ability_runtime repo, use external_deps deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", ] diff --git a/test/unittest/ability_connect_callback_proxy_test/BUILD.gn b/test/unittest/ability_connect_callback_proxy_test/BUILD.gn index 97b20c8f4c873f062f9ed35597c872406abef82f..97ebce2a472081a3cb5eb67057ed4336dd8cfc37 100644 --- a/test/unittest/ability_connect_callback_proxy_test/BUILD.gn +++ b/test/unittest/ability_connect_callback_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -35,7 +35,10 @@ ohos_unittest("ability_connect_callback_proxy_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/appkit:app_context_utils", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock", diff --git a/test/unittest/ability_connect_callback_stub_test/BUILD.gn b/test/unittest/ability_connect_callback_stub_test/BUILD.gn index b0ae2ee1be77fe04c78c0d86bfb3df2b156516d1..fe678dfe7614436629203127d2305c4e0398b192 100644 --- a/test/unittest/ability_connect_callback_stub_test/BUILD.gn +++ b/test/unittest/ability_connect_callback_stub_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -35,6 +35,7 @@ ohos_unittest("ability_connect_callback_stub_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", @@ -87,7 +88,9 @@ ohos_unittest("ability_connect_callback_recipient_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock", diff --git a/test/unittest/ability_connect_manager_first_test/BUILD.gn b/test/unittest/ability_connect_manager_first_test/BUILD.gn index 288a1e866122fab1bc6082ca75d17f53cb0468b2..d7cbd87b2120b305d189a6c989e67d5271a34f54 100644 --- a/test/unittest/ability_connect_manager_first_test/BUILD.gn +++ b/test/unittest/ability_connect_manager_first_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -49,6 +49,7 @@ ohos_unittest("ability_connect_manager_first_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", diff --git a/test/unittest/ability_connect_manager_fourth_test/BUILD.gn b/test/unittest/ability_connect_manager_fourth_test/BUILD.gn index e7c63de6608c83ea5146a60aa8e78766da2c0ee6..23a88cacf1a55ce76abd2e5ede120fdef4b1a22d 100644 --- a/test/unittest/ability_connect_manager_fourth_test/BUILD.gn +++ b/test/unittest/ability_connect_manager_fourth_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -49,6 +49,7 @@ ohos_unittest("ability_connect_manager_fourth_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", diff --git a/test/unittest/ability_connect_manager_test/BUILD.gn b/test/unittest/ability_connect_manager_test/BUILD.gn index 8ef8694ee5e6c0320669726c0279cde1f9dbb45c..5b73014ac92f2edf204c275dd56b8bc62bc22666 100644 --- a/test/unittest/ability_connect_manager_test/BUILD.gn +++ b/test/unittest/ability_connect_manager_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -49,6 +49,7 @@ ohos_unittest("ability_connect_manager_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", diff --git a/test/unittest/ability_connection_test/BUILD.gn b/test/unittest/ability_connection_test/BUILD.gn index 8213e46f4fd512023c527e0c842a343d38c12be0..9ab1cdfa302d99868f9f1c9dcd24b419686cbafc 100644 --- a/test/unittest/ability_connection_test/BUILD.gn +++ b/test/unittest/ability_connection_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -25,7 +25,10 @@ ohos_unittest("ability_connection_test") { configs = [] - deps = [ "${ability_runtime_native_path}/ability:ability_context_native" ] + deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/ability:ability_context_native", + ] external_deps = [ "ability_base:want", diff --git a/test/unittest/ability_extension_base_test/BUILD.gn b/test/unittest/ability_extension_base_test/BUILD.gn index a2a6c3bea90c3fbb2bded6df6ca5132ac9d6ad6f..2ea482baa4b855dcea80c71c485a440f04522290 100644 --- a/test/unittest/ability_extension_base_test/BUILD.gn +++ b/test/unittest/ability_extension_base_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -34,7 +34,10 @@ ohos_unittest("ability_extension_base_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] diff --git a/test/unittest/ability_extension_context_test/BUILD.gn b/test/unittest/ability_extension_context_test/BUILD.gn index 907b3d556030507fb957a393b8cc2f885ba7f7ea..47d39354216786c86a32512f3a58fccf676253c3 100644 --- a/test/unittest/ability_extension_context_test/BUILD.gn +++ b/test/unittest/ability_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -35,6 +35,8 @@ ohos_unittest("ability_extension_context_test") { deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] diff --git a/test/unittest/ability_extension_module_loader_test/BUILD.gn b/test/unittest/ability_extension_module_loader_test/BUILD.gn index c64dc805ae3cfa9a7d9df78a912b8a867a1fdf86..4a81c8017d4e981beea0e7ba3da7d0e7f1147364 100644 --- a/test/unittest/ability_extension_module_loader_test/BUILD.gn +++ b/test/unittest/ability_extension_module_loader_test/BUILD.gn @@ -38,6 +38,7 @@ ohos_unittest("ability_extension_module_loader_test") { "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_napi_path}/dialog_request_info:dialog_request_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension_module", ] diff --git a/test/unittest/ability_extension_test/BUILD.gn b/test/unittest/ability_extension_test/BUILD.gn index a473d354ae9c0b97d18c5d383bc2e42f4c9749b4..3603c6c02938d3d853a86592ff9649f1443bf705 100644 --- a/test/unittest/ability_extension_test/BUILD.gn +++ b/test/unittest/ability_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -34,7 +34,11 @@ ohos_unittest("ability_extension_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:appkit_native", ] diff --git a/test/unittest/ability_manager_client_branch_test/BUILD.gn b/test/unittest/ability_manager_client_branch_test/BUILD.gn index 44a1bc89fc60cad5d7c71fc5c16ed03da054f984..f5b2d1dba14e73e72ecc45315075538412e2854d 100644 --- a/test/unittest/ability_manager_client_branch_test/BUILD.gn +++ b/test/unittest/ability_manager_client_branch_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -39,6 +39,7 @@ ohos_unittest("ability_manager_client_branch_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_innerkits_path}/app_manager:app_manager", diff --git a/test/unittest/ability_manager_proxy_fourth_test/BUILD.gn b/test/unittest/ability_manager_proxy_fourth_test/BUILD.gn index 087ff4d219c4f120bd9c9236da379cbd42df7e0b..359ca34f2b4fa31c39406d0860e5655e3924d15a 100644 --- a/test/unittest/ability_manager_proxy_fourth_test/BUILD.gn +++ b/test/unittest/ability_manager_proxy_fourth_test/BUILD.gn @@ -50,6 +50,7 @@ ohos_unittest("ability_manager_proxy_fourth_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", diff --git a/test/unittest/ability_manager_proxy_test/BUILD.gn b/test/unittest/ability_manager_proxy_test/BUILD.gn index a6bd65ae25820a7040d76c91e8a4269c5cbce206..21843cdcb2dd70e5687fb0649dd373e38e63d3d8 100644 --- a/test/unittest/ability_manager_proxy_test/BUILD.gn +++ b/test/unittest/ability_manager_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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_unittest("ability_manager_proxy_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", diff --git a/test/unittest/ability_manager_service_fourteenth_test/BUILD.gn b/test/unittest/ability_manager_service_fourteenth_test/BUILD.gn index 3ed435d51093e3acf22b20d4c8c6a600136a4a5e..c8712a741a3dd827c650c89c0852926eba1cfd38 100644 --- a/test/unittest/ability_manager_service_fourteenth_test/BUILD.gn +++ b/test/unittest/ability_manager_service_fourteenth_test/BUILD.gn @@ -248,6 +248,7 @@ ohos_unittest("ability_manager_service_fourteenth_test") { "${ability_runtime_innerkits_path}/error_utils:ability_runtime_error_util", "${ability_runtime_innerkits_path}/session_handler:session_handler", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", diff --git a/test/unittest/ability_manager_service_second_test/BUILD.gn b/test/unittest/ability_manager_service_second_test/BUILD.gn index d4e07036886185dcad6731bc283397e527bbfbf7..0528a8c68261f395e2bae35aa90df2dde60aa345 100644 --- a/test/unittest/ability_manager_service_second_test/BUILD.gn +++ b/test/unittest/ability_manager_service_second_test/BUILD.gn @@ -249,6 +249,7 @@ ohos_unittest("ability_manager_service_second_test") { "${ability_runtime_innerkits_path}/error_utils:ability_runtime_error_util", "${ability_runtime_innerkits_path}/session_handler:session_handler", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", diff --git a/test/unittest/ability_manager_service_third_test/BUILD.gn b/test/unittest/ability_manager_service_third_test/BUILD.gn index d5de8f52b68099fd1c5cc83a82a7b1d9db86fee1..3184a5ee67ff42805d881bc792d5764083b9a239 100644 --- a/test/unittest/ability_manager_service_third_test/BUILD.gn +++ b/test/unittest/ability_manager_service_third_test/BUILD.gn @@ -64,33 +64,34 @@ ohos_unittest("ability_manager_service_third_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", + "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${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}/session_handler:session_handler", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_path}/utils/global/freeze:freeze_util", "${ability_runtime_path}/utils/server/startup:startup_util", "${ability_runtime_services_path}/abilitymgr:abilityms", + "${ability_runtime_services_path}/abilitymgr:wantagent_manager", "${ability_runtime_services_path}/common:app_util", "${ability_runtime_services_path}/common:event_report", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_services_path}/common:rate_limiter", "${ability_runtime_services_path}/common:record_cost_time_util", + "${ability_runtime_services_path}/common:res_sched_util", "${ability_runtime_services_path}/common:task_handler_wrap", "${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock", - "${ability_runtime_services_path}/abilitymgr:wantagent_manager", - "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", - "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", - "${ability_runtime_innerkits_path}/ability_manager:start_window_option", - "${ability_runtime_innerkits_path}/connectionobs_manager:connection_obs_manager", - "${ability_runtime_innerkits_path}/session_handler:session_handler", - "${ability_runtime_services_path}/common:res_sched_util", ] external_deps = [ diff --git a/test/unittest/ability_manager_service_thirteenth_test/BUILD.gn b/test/unittest/ability_manager_service_thirteenth_test/BUILD.gn index 2f94139ee9432683255a3875cf0b6406d8e127a9..76eec2991a05d5498f5a0273fa9ff29b6fa6ef60 100644 --- a/test/unittest/ability_manager_service_thirteenth_test/BUILD.gn +++ b/test/unittest/ability_manager_service_thirteenth_test/BUILD.gn @@ -248,6 +248,7 @@ ohos_unittest("ability_manager_service_thirteenth_test") { "${ability_runtime_innerkits_path}/error_utils:ability_runtime_error_util", "${ability_runtime_innerkits_path}/session_handler:session_handler", "${ability_runtime_innerkits_path}/uri_permission:uri_permission_mgr", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", diff --git a/test/unittest/ability_manager_stub_second_test/BUILD.gn b/test/unittest/ability_manager_stub_second_test/BUILD.gn index 6ffb3d3b6cc4821c402208c6aa94b735d3f90a85..0fe4b49d120eaeef54f302b6bf01a59387d765e0 100644 --- a/test/unittest/ability_manager_stub_second_test/BUILD.gn +++ b/test/unittest/ability_manager_stub_second_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -47,6 +47,7 @@ ohos_unittest("ability_manager_stub_second_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", diff --git a/test/unittest/ability_manager_stub_test/BUILD.gn b/test/unittest/ability_manager_stub_test/BUILD.gn index 0b99d793c44a7509d428d9057c52bf2e2aff895c..c0f44e1fa567802ac48cb7881a7b103738c25b01 100644 --- a/test/unittest/ability_manager_stub_test/BUILD.gn +++ b/test/unittest/ability_manager_stub_test/BUILD.gn @@ -47,6 +47,7 @@ ohos_unittest("ability_manager_stub_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", diff --git a/test/unittest/ability_record_mgr_test/BUILD.gn b/test/unittest/ability_record_mgr_test/BUILD.gn index c0d1b1b82a1145082a290114e7f960ab5787b201..053f530ebe3c5ffc5b717765bae03dcf5cc8f301 100644 --- a/test/unittest/ability_record_mgr_test/BUILD.gn +++ b/test/unittest/ability_record_mgr_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -38,6 +38,7 @@ ohos_unittest("ability_record_mgr_test") { if (target_cpu == "arm") { cflags += [ "-DBINDER_IPC_32BIT" ] } + deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_utils" ] external_deps = [ "ability_runtime:abilitykit_native", diff --git a/test/unittest/ability_record_second_test/BUILD.gn b/test/unittest/ability_record_second_test/BUILD.gn index 69818206cbc342dbbff2c1bc710d65c4a4f4a3c9..f5f3810d2bde5f7e9850c8815d1e6c1201236b4a 100644 --- a/test/unittest/ability_record_second_test/BUILD.gn +++ b/test/unittest/ability_record_second_test/BUILD.gn @@ -50,6 +50,7 @@ ohos_unittest("ability_record_second_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_services_path}/abilitymgr:abilityms", diff --git a/test/unittest/ability_record_test/BUILD.gn b/test/unittest/ability_record_test/BUILD.gn index 69cb181ad6a66ed34490d3bef9bd25bdadd0b713..71eca609330643d4a4e7f7fbe55364bc13999d8b 100644 --- a/test/unittest/ability_record_test/BUILD.gn +++ b/test/unittest/ability_record_test/BUILD.gn @@ -46,6 +46,7 @@ ohos_unittest("ability_record_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/ability_manager:mission_info", diff --git a/test/unittest/ability_service_extension_test/BUILD.gn b/test/unittest/ability_service_extension_test/BUILD.gn index 398c5223ede030d69a84685a49697ce21c5b373f..ee08771eee4958a9774f93c1851d01189635f82d 100644 --- a/test/unittest/ability_service_extension_test/BUILD.gn +++ b/test/unittest/ability_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -45,6 +45,7 @@ ohos_unittest("ability_service_extension_test") { deps = [ "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:service_extension", @@ -65,6 +66,7 @@ ohos_unittest("ability_service_extension_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "ffrt:libffrt", "googletest:gmock_main", "googletest:gtest_main", diff --git a/test/unittest/app_recovery_test/BUILD.gn b/test/unittest/app_recovery_test/BUILD.gn index 93b2719aebf77e176a487779f74c949c171b16b3..091c787c0dfec6c0be08a84da5b059570088862b 100644 --- a/test/unittest/app_recovery_test/BUILD.gn +++ b/test/unittest/app_recovery_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -36,6 +36,7 @@ ohos_unittest("AppRecoveryUnitTest") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/dataobs_manager:dataobs_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", diff --git a/test/unittest/app_service_extension_context_test/BUILD.gn b/test/unittest/app_service_extension_context_test/BUILD.gn index a136e62284914f2985822d098e537b740a09afc7..e814ab634c16e64d7b9f4cc8f1d2ea4cde53b94d 100644 --- a/test/unittest/app_service_extension_context_test/BUILD.gn +++ b/test/unittest/app_service_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -39,11 +39,14 @@ ohos_unittest("app_service_extension_context_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:app_service_extension", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock", diff --git a/test/unittest/app_service_extension_test/BUILD.gn b/test/unittest/app_service_extension_test/BUILD.gn index ddb3ff10c523373405a94d06be8ec5e9bc98276d..b872e79b95a62b03225779bb0661940f99b3e009 100644 --- a/test/unittest/app_service_extension_test/BUILD.gn +++ b/test/unittest/app_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -46,6 +46,7 @@ ohos_unittest("app_service_extension_test") { deps = [ "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:app_service_extension", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", @@ -65,6 +66,7 @@ ohos_unittest("app_service_extension_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "ffrt:libffrt", "googletest:gmock_main", "googletest:gtest_main", diff --git a/test/unittest/appkit/ohos_application_first_test/BUILD.gn b/test/unittest/appkit/ohos_application_first_test/BUILD.gn index a5cf66fd1c97192cd1e607e303aee3c8df9df35d..14b42b425613aae89299acce02003b5ffaa41c33 100644 --- a/test/unittest/appkit/ohos_application_first_test/BUILD.gn +++ b/test/unittest/appkit/ohos_application_first_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -58,6 +58,7 @@ ohos_unittest("ohos_application_first_test") { deps = [ "${ability_runtime_native_path}/ability/native:ability_thread", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", @@ -80,6 +81,7 @@ ohos_unittest("ohos_application_first_test") { "eventhandler:libeventhandler", "faultloggerd:libdfx_dumpcatcher", "faultloggerd:libfaultloggerd", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/appkit/ohos_application_test/BUILD.gn b/test/unittest/appkit/ohos_application_test/BUILD.gn index 1d8cd7dbe65463aa5e504d9daa66abf6eb4881cb..6a93fa1ab5526a43b3e7b7576729c27425abb9f4 100644 --- a/test/unittest/appkit/ohos_application_test/BUILD.gn +++ b/test/unittest/appkit/ohos_application_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -49,6 +49,8 @@ ohos_unittest("ohos_application_test") { deps = [ "${ability_runtime_native_path}/ability/native:ability_thread", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", @@ -71,6 +73,7 @@ ohos_unittest("ohos_application_test") { "eventhandler:libeventhandler", "faultloggerd:libdfx_dumpcatcher", "faultloggerd:libfaultloggerd", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/assert_fault_callback_death_mgr_test/BUILD.gn b/test/unittest/assert_fault_callback_death_mgr_test/BUILD.gn index 46683c947c6c8ff94bd058cbb20c7a0b984987b1..c938d415f00d144c7c42b04dbf4fe3f608ac9535 100644 --- a/test/unittest/assert_fault_callback_death_mgr_test/BUILD.gn +++ b/test/unittest/assert_fault_callback_death_mgr_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -52,6 +52,7 @@ ohos_unittest("assert_fault_callback_death_mgr_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_path}/utils/server/startup:startup_util", diff --git a/test/unittest/authorization_result_test/BUILD.gn b/test/unittest/authorization_result_test/BUILD.gn index f3f5298885a4d753ffc727d89341f49e09baf820..3bd794690b88347a49c52587b11a80a1c1ee9707 100644 --- a/test/unittest/authorization_result_test/BUILD.gn +++ b/test/unittest/authorization_result_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -35,6 +35,7 @@ ohos_unittest("authorization_result_test") { "googletest:gtest_main", "ipc:ipc_core", "napi:ace_napi", + "resource_management:global_resmgr", ] } diff --git a/test/unittest/auto_fill_extension_context_test/BUILD.gn b/test/unittest/auto_fill_extension_context_test/BUILD.gn index a5031426527c994616dcaa3761572840e8365bca..66ef556213c99918ec3f39c3c1a4efc08b947eb2 100644 --- a/test/unittest/auto_fill_extension_context_test/BUILD.gn +++ b/test/unittest/auto_fill_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -38,6 +38,8 @@ ohos_unittest("auto_fill_extension_context_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", diff --git a/test/unittest/call_record_test/BUILD.gn b/test/unittest/call_record_test/BUILD.gn index 09a97657e7fc30af888446f52563e125747f6cc0..b60d657d618a085149f250f9ea54ba7371fd59e1 100644 --- a/test/unittest/call_record_test/BUILD.gn +++ b/test/unittest/call_record_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-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 @@ -46,6 +46,7 @@ ohos_unittest("call_record_test") { ] external_deps = [ + "ability_base:configuration", "ability_base:want", "ffrt:libffrt", "googletest:gmock_main", diff --git a/test/unittest/cj_ability_connect_callback_object_test/BUILD.gn b/test/unittest/cj_ability_connect_callback_object_test/BUILD.gn index a2f7117e87f4042c85d7ed5db062402edb36601a..97aba0ee38d0513734b56d9fa94bcb52c8ef1132 100644 --- a/test/unittest/cj_ability_connect_callback_object_test/BUILD.gn +++ b/test/unittest/cj_ability_connect_callback_object_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -38,7 +38,10 @@ ohos_unittest("cj_ability_connect_callback_object_test") { if (target_cpu == "arm") { cflags += [ "-DBINDER_IPC_32BIT" ] } - deps = [ "${ability_runtime_innerkits_path}/runtime:runtime" ] + deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_innerkits_path}/runtime:runtime", + ] external_deps = [ "ability_base:want", diff --git a/test/unittest/cj_ability_context_object_test/BUILD.gn b/test/unittest/cj_ability_context_object_test/BUILD.gn index d499e9521efbc992200861eadef30355e274e571..de1076f7e0b2d15e34bd803be3f5312e8bf70fb3 100644 --- a/test/unittest/cj_ability_context_object_test/BUILD.gn +++ b/test/unittest/cj_ability_context_object_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -37,6 +37,7 @@ ohos_unittest("cj_ability_context_object_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", diff --git a/test/unittest/cj_ability_object_test/BUILD.gn b/test/unittest/cj_ability_object_test/BUILD.gn index 397c24683e6c7b0a7093bf1205e3512bc3d3e011..38d68cba3b3dfaf1cfa6eb9d0f58cc8c93ed0efb 100644 --- a/test/unittest/cj_ability_object_test/BUILD.gn +++ b/test/unittest/cj_ability_object_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -56,6 +56,7 @@ ohos_unittest("cj_ability_object_test") { "common_event_service:cesfwk_innerkits", "ets_runtime:libark_jsruntime", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/cj_ability_stage_object_test/BUILD.gn b/test/unittest/cj_ability_stage_object_test/BUILD.gn index 2f3502ed99cbe98ceb670fc22d370db3d1503d20..ac915ed89362d5e08e11eba47ceb5b04d736cb10 100644 --- a/test/unittest/cj_ability_stage_object_test/BUILD.gn +++ b/test/unittest/cj_ability_stage_object_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -54,6 +54,7 @@ ohos_unittest("cj_ability_stage_object_test") { "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -76,6 +77,7 @@ ohos_unittest("cj_ability_stage_object_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/cj_ability_stage_test/BUILD.gn b/test/unittest/cj_ability_stage_test/BUILD.gn index 65d21dfbae7f3ba0012fe27c12d5bee63c9da38c..cc78521e14f2de18913dfb1a83f6f8d5842977ee 100644 --- a/test/unittest/cj_ability_stage_test/BUILD.gn +++ b/test/unittest/cj_ability_stage_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -57,6 +57,7 @@ ohos_unittest("cj_ability_stage_test") { "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -81,6 +82,7 @@ ohos_unittest("cj_ability_stage_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/cj_ui_ability_test/BUILD.gn b/test/unittest/cj_ui_ability_test/BUILD.gn index 2009baca552809cfcb96f2b574fc84d3d280ad96..c5eb994d0f162e25fb2c17f45cdc02d37001d96f 100644 --- a/test/unittest/cj_ui_ability_test/BUILD.gn +++ b/test/unittest/cj_ui_ability_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -48,6 +48,7 @@ ohos_unittest("cj_ui_ability_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", @@ -55,6 +56,7 @@ ohos_unittest("cj_ui_ability_test") { "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:insight_intent_executor", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", @@ -64,6 +66,7 @@ ohos_unittest("cj_ui_ability_test") { "${ability_runtime_native_path}/appkit:appkit_native", "${ability_runtime_native_path}/insight_intent/insight_intent_context:insightintentcontext", "${ability_runtime_path}/frameworks/cj/ffi:cj_ability_ffi", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_path}/utils/global/freeze:freeze_util", "${ability_runtime_services_path}/common:event_report", ] @@ -82,6 +85,7 @@ ohos_unittest("cj_ui_ability_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/configuration_test/BUILD.gn b/test/unittest/configuration_test/BUILD.gn index 6d309101ffc54d8f7fc5e5d14ba611ce1b9b2d2f..0fa23035a4ef48bb510e69ce7e0ff3ef46fb3307 100644 --- a/test/unittest/configuration_test/BUILD.gn +++ b/test/unittest/configuration_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -41,6 +41,7 @@ ohos_unittest("configuration_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_services_path}/common:task_handler_wrap", diff --git a/test/unittest/connection_record_test/BUILD.gn b/test/unittest/connection_record_test/BUILD.gn index 2a719dc8873180078c7ef29d16ae3a6fc754717d..473480c2229a498a44bcbe4df8b1082f7ef88b0d 100644 --- a/test/unittest/connection_record_test/BUILD.gn +++ b/test/unittest/connection_record_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -40,6 +40,7 @@ ohos_unittest("connection_record_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", diff --git a/test/unittest/continuation_test/remote_register_service_test/continuation_connector_test/BUILD.gn b/test/unittest/continuation_test/remote_register_service_test/continuation_connector_test/BUILD.gn index 3f8dcfda32e8b50305b0a9a0dce5d7c9df8bf9fe..e420e802b98e1365fbc3591d5b4c4290dd0fbd06 100644 --- a/test/unittest/continuation_test/remote_register_service_test/continuation_connector_test/BUILD.gn +++ b/test/unittest/continuation_test/remote_register_service_test/continuation_connector_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -48,7 +48,10 @@ ohos_unittest("continuation_connector_test") { if (target_cpu == "arm") { cflags += [ "-DBINDER_IPC_32BIT" ] } - deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_native" ] + deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/ability/native:abilitykit_native", + ] external_deps = [ "ability_base:want", @@ -56,11 +59,13 @@ ohos_unittest("continuation_connector_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", "ipc:ipc_core", "napi:ace_napi", + "window_manager:sms", ] if (background_task_mgr_continuous_task_enable) { diff --git a/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_proxy_test/BUILD.gn b/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_proxy_test/BUILD.gn index 69e91415a58efe62c0d1f43f715785e22307da88..3f1bbd97fee8a2797ca3ddc71fd0c0bbaac8d0b6 100644 --- a/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_proxy_test/BUILD.gn +++ b/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -98,6 +98,7 @@ ohos_unittest("continuation_register_manager_proxy_test") { "ipc:ipc_core", "napi:ace_napi", "resource_management:global_resmgr", + "window_manager:sms", ] if (background_task_mgr_continuous_task_enable) { diff --git a/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_test/BUILD.gn b/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_test/BUILD.gn index 21b23e0f964446e55a81db3ef2182d56f051f143..bf66e87bd8c90549cdf09d2a83a2dbecb96ad9cd 100644 --- a/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_test/BUILD.gn +++ b/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -98,6 +98,7 @@ ohos_unittest("continuation_register_manager_test") { "ipc:ipc_core", "napi:ace_napi", "resource_management:global_resmgr", + "window_manager:sms", ] if (background_task_mgr_continuous_task_enable) { diff --git a/test/unittest/extension_config_mgr_test/BUILD.gn b/test/unittest/extension_config_mgr_test/BUILD.gn index abc2a1486fc48ce85b10740aee084ab28537db5b..5610ef5885636734ad6816ec6fc73d9079eb8d01 100644 --- a/test/unittest/extension_config_mgr_test/BUILD.gn +++ b/test/unittest/extension_config_mgr_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -23,7 +23,11 @@ ohos_unittest("extension_config_mgr_test") { configs = [ "${ability_runtime_services_path}/common:common_config" ] - deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_native" ] + deps = [ + "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", + "${ability_runtime_innerkits_path}/runtime:runtime", + ] external_deps = [ "bundle_framework:appexecfwk_base", diff --git a/test/unittest/extension_manager_client_test/BUILD.gn b/test/unittest/extension_manager_client_test/BUILD.gn index 6e0d72a0bc8163ef64e7141a374a2d248611b9d7..b9e182567274ed3eed907e0a756ebfce7fa518e8 100644 --- a/test/unittest/extension_manager_client_test/BUILD.gn +++ b/test/unittest/extension_manager_client_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -41,6 +41,7 @@ ohos_unittest("extension_manager_client_test") { "hilog:libhilog", "image_framework:image_native", "ipc:ipc_core", + "window_manager:sms", ] } diff --git a/test/unittest/frameworks_kits_ability_ability_runtime_test/BUILD.gn b/test/unittest/frameworks_kits_ability_ability_runtime_test/BUILD.gn index d470d773849c07fe4d94b7623ed712de0a99443c..767a6d22bd3a70f43a772bbd0c99e247bb9c7c7d 100644 --- a/test/unittest/frameworks_kits_ability_ability_runtime_test/BUILD.gn +++ b/test/unittest/frameworks_kits_ability_ability_runtime_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -40,10 +40,13 @@ ohos_unittest("ability_context_impl_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:mission_info", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -55,6 +58,7 @@ ohos_unittest("ability_context_impl_test") { "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -97,6 +101,7 @@ ohos_unittest("ability_context_impl_second_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability:ability_context_native", @@ -203,7 +208,9 @@ ohos_unittest("local_call_container_ut_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", @@ -214,6 +221,7 @@ ohos_unittest("local_call_container_ut_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -221,6 +229,7 @@ ohos_unittest("local_call_container_ut_test") { "ipc:ipc_napi", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:sms", ] } @@ -238,6 +247,7 @@ ohos_unittest("local_call_record_ut_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", @@ -248,6 +258,7 @@ ohos_unittest("local_call_record_ut_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -255,6 +266,7 @@ ohos_unittest("local_call_record_ut_test") { "ipc:ipc_napi", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:sms", ] } @@ -304,6 +316,7 @@ ohos_unittest("ability_context_impl_new_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability:ability_context_native", diff --git a/test/unittest/frameworks_kits_ability_native_test/BUILD.gn b/test/unittest/frameworks_kits_ability_native_test/BUILD.gn index ef4117d0e461bac679d9a788b015f3b4a0435b35..d32594cf0de40cfb2b71c4092baf068d511c34e7 100644 --- a/test/unittest/frameworks_kits_ability_native_test/BUILD.gn +++ b/test/unittest/frameworks_kits_ability_native_test/BUILD.gn @@ -82,11 +82,13 @@ ohos_unittest("ability_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -235,6 +237,7 @@ ohos_unittest("ability_context_test") { configs = [ ":module_ability_context_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_napi_path}/inner/napi_ability_common:napi_ability_common", "${ability_runtime_napi_path}/inner/napi_common:napi_common", @@ -282,7 +285,9 @@ ohos_unittest("page_ability_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] @@ -305,6 +310,7 @@ ohos_unittest("page_ability_impl_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] } } @@ -320,8 +326,10 @@ ohos_unittest("service_ability_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] @@ -341,6 +349,7 @@ ohos_unittest("service_ability_impl_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -413,6 +422,7 @@ ohos_unittest("data_ability_helper_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:data_ability_helper", @@ -448,6 +458,7 @@ ohos_unittest("data_ability_helper_test") { "relational_store:rdb_data_ability_adapter", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -481,6 +492,7 @@ ohos_unittest("data_ability_helper_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/dataobs_manager:dataobs_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:data_ability_helper", "${ability_runtime_native_path}/appkit:app_context", @@ -626,15 +638,18 @@ ohos_unittest("ability_impl_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/app_manager:app_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -686,6 +701,7 @@ ohos_unittest("ui_ability_impl_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:process_options", "${ability_runtime_innerkits_path}/app_manager:app_manager", @@ -693,11 +709,13 @@ ohos_unittest("ui_ability_impl_test") { "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -770,7 +788,9 @@ ohos_unittest("ability_thread_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", @@ -855,7 +875,9 @@ ohos_unittest("fa_ability_thread_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", @@ -915,6 +937,8 @@ ohos_unittest("extension_ability_thread_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] @@ -977,6 +1001,7 @@ ohos_unittest("ui_ability_thread_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -1093,6 +1118,7 @@ ohos_unittest("ability_process_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", ] @@ -1141,6 +1167,8 @@ ohos_unittest("extension_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] @@ -1168,6 +1196,7 @@ ohos_unittest("extension_test") { "relational_store:native_rdb", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -1193,6 +1222,9 @@ ohos_unittest("extension_second_test") { "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/ability/native:extensionkit_native", ] external_deps = [ @@ -1241,6 +1273,7 @@ ohos_unittest("form_extension_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:form_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", @@ -1295,6 +1328,7 @@ ohos_unittest("ability_thread_call_request_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", ] @@ -1315,6 +1349,7 @@ ohos_unittest("ability_thread_call_request_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -1366,6 +1401,7 @@ ohos_unittest("form_extension_provider_client_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] } } @@ -1402,6 +1438,7 @@ ohos_unittest("data_ability_impl_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -1478,6 +1515,7 @@ ohos_unittest("data_ability_impl_file_secondpart_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -1545,6 +1583,7 @@ ohos_unittest("data_ability_impl_file_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -1614,6 +1653,7 @@ ohos_unittest("ability_thread_dataability_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -1691,6 +1731,7 @@ ohos_unittest("data_uri_utils_test") { "ability_base:zuri", "bundle_framework:appexecfwk_base", "c_utils:utils", + "cJSON:cjson", "eventhandler:libeventhandler", "googletest:gtest_main", "hilog:libhilog", @@ -1718,6 +1759,8 @@ ohos_unittest("extension_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:form_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", @@ -1786,6 +1829,7 @@ ohos_unittest("ability_permission_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock", "googletest:gmock_main", "googletest:gtest_main", @@ -1796,6 +1840,7 @@ ohos_unittest("ability_permission_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { external_deps += [ "input:libmmi-client" ] @@ -1842,16 +1887,19 @@ ohos_unittest("ui_ability_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -1977,6 +2025,7 @@ ohos_unittest("form_host_client_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -2028,10 +2077,12 @@ ohos_unittest("continuation_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", @@ -2063,8 +2114,8 @@ ohos_unittest("continuation_test") { "relational_store:native_dataability", "relational_store:native_rdb", "resource_management:global_resmgr", - "samgr:samgr_proxy", "runtime_core:ani", + "samgr:samgr_proxy", ] defines = [] @@ -2131,7 +2182,9 @@ ohos_unittest("new_ability_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", "${ability_runtime_path}/utils/global/freeze:freeze_util", @@ -2156,6 +2209,7 @@ ohos_unittest("new_ability_impl_test") { "resource_management:global_resmgr", "samgr:samgr_proxy", "window_manager:libwsutils", + "window_manager:sms", ] } } @@ -2213,7 +2267,9 @@ ohos_unittest("reserse_continuation_scheduler_primary_proxy_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_path}/utils/global/freeze:freeze_util", ] @@ -2236,6 +2292,7 @@ ohos_unittest("reserse_continuation_scheduler_primary_proxy_test") { "resource_management:global_resmgr", "samgr:samgr_proxy", "window_manager:libwsutils", + "window_manager:sms", ] } } @@ -2251,9 +2308,11 @@ ohos_unittest("distributed_client_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:mission_info", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", ] @@ -2293,10 +2352,12 @@ ohos_unittest("ability_window_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -2333,13 +2394,13 @@ ohos_unittest("ability_window_test") { "relational_store:native_dataability", "relational_store:native_rdb", "resource_management:global_resmgr", + "runtime_core:ani", "samgr:samgr_proxy", "window_manager:extensionwindow_napi", "window_manager:libwm", "window_manager:libwm_lite", "window_manager:libwsutils", "window_manager:scene_session", - "runtime_core:ani", ] if (ability_runtime_graphics) { @@ -2370,6 +2431,7 @@ ohos_unittest("ability_handler_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:app_context_utils", @@ -2430,6 +2492,7 @@ ohos_unittest("ability_impl_factory_test") { "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:continuation_ipc", "${ability_runtime_native_path}/appkit:app_context", @@ -2467,8 +2530,11 @@ ohos_unittest("ability_impl_factory_test") { "relational_store:native_dataability", "relational_store:native_rdb", "relational_store:rdb_data_share_adapter", - "samgr:samgr_proxy", "runtime_core:ani", + "samgr:samgr_proxy", + "window_manager:libdm", + "window_manager:libwm", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -2491,7 +2557,10 @@ ohos_unittest("ability_loader_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", ] @@ -2532,6 +2601,7 @@ ohos_unittest("ability_local_record_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", ] @@ -2550,6 +2620,7 @@ ohos_unittest("ability_local_record_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -2589,6 +2660,7 @@ ohos_unittest("reverse_continuation_scheduler_replica_proxy_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -2627,6 +2699,7 @@ ohos_unittest("reverse_continuation_scheduler_replica_stub_test") { "napi:ace_napi", "resource_management:global_resmgr", "samgr:samgr_proxy", + "window_manager:sms", ] if (ability_runtime_graphics) { @@ -2651,6 +2724,7 @@ ohos_unittest("ability_connection_manager_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", @@ -2773,6 +2847,7 @@ ohos_unittest("action_extension_module_loader_test") { ] external_deps = [ + "ability_base:configuration", "ability_base:extractortool", "c_utils:utils", "googletest:gmock_main", @@ -2780,6 +2855,7 @@ ohos_unittest("action_extension_module_loader_test") { "hilog:libhilog", "ipc:ipc_napi", "napi:ace_napi", + "resource_management:global_resmgr", "samgr:samgr_proxy", ] @@ -2803,9 +2879,11 @@ ohos_unittest("action_extension_test") { configs = [ ":module_private_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:action_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", @@ -2851,6 +2929,7 @@ ohos_unittest("share_extension_module_loader_test") { deps = [ "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:share_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", @@ -2894,6 +2973,7 @@ ohos_unittest("share_extension_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:share_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", @@ -2982,6 +3062,8 @@ ohos_unittest("auto_fill_extension_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", ] @@ -3001,6 +3083,8 @@ ohos_unittest("auto_fill_extension_test") { "ipc:ipc_napi", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:libdm", + "window_manager:libwm", ] if (ability_runtime_auto_fill) { deps += @@ -3034,6 +3118,7 @@ ohos_unittest("embedded_ui_extension_module_loader_test") { ] external_deps = [ + "ability_base:configuration", "ability_base:extractortool", "c_utils:utils", "googletest:gmock_main", @@ -3041,6 +3126,7 @@ ohos_unittest("embedded_ui_extension_module_loader_test") { "hilog:libhilog", "ipc:ipc_napi", "napi:ace_napi", + "resource_management:global_resmgr", "samgr:samgr_proxy", ] @@ -3067,6 +3153,7 @@ ohos_unittest("embedded_ui_extension_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:embedded_ui_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", @@ -3112,6 +3199,7 @@ ohos_unittest("app_module_checker_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:abilitykit_native", ] @@ -3213,6 +3301,7 @@ ohos_unittest("js_ui_extension_Callback_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", ] external_deps = [ @@ -3310,11 +3399,13 @@ ohos_unittest("ability_second_test") { ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", diff --git a/test/unittest/frameworks_kits_appkit_native_test/BUILD.gn b/test/unittest/frameworks_kits_appkit_native_test/BUILD.gn index c1cd8e4736aed966226801e5e7685850e66b0adc..8e35d057e9d1e0663ed94005f8623bce5627e7ff 100644 --- a/test/unittest/frameworks_kits_appkit_native_test/BUILD.gn +++ b/test/unittest/frameworks_kits_appkit_native_test/BUILD.gn @@ -80,6 +80,7 @@ ohos_unittest("application_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -99,6 +100,7 @@ ohos_unittest("application_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -146,6 +148,7 @@ ohos_unittest("context_impl_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -165,6 +168,7 @@ ohos_unittest("context_impl_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -206,6 +210,7 @@ ohos_unittest("context_impl_second_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -225,6 +230,7 @@ ohos_unittest("context_impl_second_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -266,6 +272,7 @@ ohos_unittest("context_impl_third_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", @@ -285,6 +292,7 @@ ohos_unittest("context_impl_third_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -321,6 +329,7 @@ ohos_unittest("context_container_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -338,6 +347,7 @@ ohos_unittest("context_container_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -387,6 +397,7 @@ ohos_unittest("overlay_event_subscriber_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", "${ability_runtime_native_path}/appkit:appkit_native", @@ -520,6 +531,8 @@ ohos_unittest("context_deal_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -580,6 +593,7 @@ ohos_unittest("application_impl_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -596,6 +610,7 @@ ohos_unittest("application_impl_test") { "c_utils:utils", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gtest_main", "hilog:libhilog", "hitrace:hitrace_meter", @@ -672,6 +687,7 @@ ohos_unittest("ability_stage_test") { "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:uiabilitykit_native", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -718,11 +734,14 @@ ohos_unittest("form_extension_context_test") { configs = [ ":module_context_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_start_setting", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:configuration_helper", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:form_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_manager_helper", @@ -837,6 +856,7 @@ ohos_unittest("context_container_by_mock_bms_test") { "bundle_framework:appexecfwk_core", "c_utils:utils", "eventhandler:libeventhandler", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -845,6 +865,7 @@ ohos_unittest("context_container_by_mock_bms_test") { "ipc:ipc_core", "napi:ace_napi", "samgr:samgr_proxy", + "window_manager:sms", ] } @@ -960,6 +981,7 @@ ohos_unittest("extension_plugin_info_test") { deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/appkit:appkit_native", ] diff --git a/test/unittest/js_ability_context_test/BUILD.gn b/test/unittest/js_ability_context_test/BUILD.gn index 8e3a66d8c88ca4962a86a34677076c07a04ab891..80c40e2c59098a4092d12c9ef996090c2b8cc741 100644 --- a/test/unittest/js_ability_context_test/BUILD.gn +++ b/test/unittest/js_ability_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -38,9 +38,12 @@ ohos_unittest("js_ability_context_test") { configs = [] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/unittest/js_app_service_extension_test/BUILD.gn b/test/unittest/js_app_service_extension_test/BUILD.gn index 20e52cd81c4b5ba7c0a081b79104222a5209e854..2159e983f559cc77e69395187080b5a4b280b9ba 100644 --- a/test/unittest/js_app_service_extension_test/BUILD.gn +++ b/test/unittest/js_app_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -35,9 +35,12 @@ ohos_unittest("js_app_service_extension_test") { configs = [ "${ability_runtime_services_path}/abilitymgr:abilityms_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:app_service_extension", "${ability_runtime_native_path}/ability/native:insight_intent_executor", "${ability_runtime_native_path}/insight_intent/insight_intent_context:insightintentcontext", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/unittest/js_auto_fill_extension_test/BUILD.gn b/test/unittest/js_auto_fill_extension_test/BUILD.gn index b1fdcd9108103130b1362d2d9f699a4af443c5c0..6f01f9ef168ea5860f80c4a03dd6ba932b1bcbc6 100644 --- a/test/unittest/js_auto_fill_extension_test/BUILD.gn +++ b/test/unittest/js_auto_fill_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023-2024 Huawei Device Co., Ltd. +# Copyright (c) 2023-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 @@ -34,6 +34,7 @@ ohos_unittest("js_auto_fill_extension_test") { configs = [ "${ability_runtime_services_path}/abilitymgr:abilityms_config" ] deps = [ "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:ui_extension", ] diff --git a/test/unittest/js_photo_editor_extension_context_test/BUILD.gn b/test/unittest/js_photo_editor_extension_context_test/BUILD.gn index 977eb29d2bffdef30c156ad4cf958bcfa4ab0259..b22d4c4dfe8d472e021e466f03d523b530595f3a 100644 --- a/test/unittest/js_photo_editor_extension_context_test/BUILD.gn +++ b/test/unittest/js_photo_editor_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -84,6 +84,7 @@ ohos_unittest("js_photo_editor_extension_context_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:photo_editor_extension", "${ability_runtime_native_path}/ability/native:ui_extension", diff --git a/test/unittest/js_photo_editor_extension_impl_test/BUILD.gn b/test/unittest/js_photo_editor_extension_impl_test/BUILD.gn index e2e9c578dbc489244fdd1fa5af30d0ea7271ea95..6571bcfe2d3428ab8da46d84559b60d18fd6cf0e 100644 --- a/test/unittest/js_photo_editor_extension_impl_test/BUILD.gn +++ b/test/unittest/js_photo_editor_extension_impl_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -84,6 +84,7 @@ ohos_unittest("js_photo_editor_extension_impl_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:photo_editor_extension", "${ability_runtime_native_path}/ability/native:ui_extension", diff --git a/test/unittest/js_service_extension_test/BUILD.gn b/test/unittest/js_service_extension_test/BUILD.gn index 62484ae5ad5760cc46a5a7cc07aa4395013a858d..a092e7ce7f6ebae92657c997a239aa33c44408c7 100644 --- a/test/unittest/js_service_extension_test/BUILD.gn +++ b/test/unittest/js_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -35,8 +35,11 @@ ohos_unittest("js_service_extension_test") { configs = [ "${ability_runtime_services_path}/abilitymgr:abilityms_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", "${ability_runtime_native_path}/ability/native:insight_intent_executor", "${ability_runtime_native_path}/insight_intent/insight_intent_context:insightintentcontext", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/unittest/js_ui_ability_test/BUILD.gn b/test/unittest/js_ui_ability_test/BUILD.gn index f790f3d6569859d8bb018d34fd962ca912727a5a..94a64bd0ddd97c70af2f1c6cce097310eeb80c8b 100644 --- a/test/unittest/js_ui_ability_test/BUILD.gn +++ b/test/unittest/js_ui_ability_test/BUILD.gn @@ -42,6 +42,7 @@ ohos_unittest("js_ui_ability_test") { configs = [ "${ability_runtime_services_path}/abilitymgr:abilityms_config" ] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:configuration_helper", @@ -50,6 +51,7 @@ ohos_unittest("js_ui_ability_test") { "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_delegator", "${ability_runtime_path}/frameworks/native/ability/native:continuation_ipc", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_path}/utils/global/freeze:freeze_util", "${ability_runtime_services_path}/common:event_report", ] diff --git a/test/unittest/js_ui_extension_content_session_test/BUILD.gn b/test/unittest/js_ui_extension_content_session_test/BUILD.gn index 58ecd96ce8ffe4351bd564943488f04714ccc623..cec83ceb89d06f1c0c32dcce0396dc0a3255e0bd 100644 --- a/test/unittest/js_ui_extension_content_session_test/BUILD.gn +++ b/test/unittest/js_ui_extension_content_session_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -40,6 +40,8 @@ ohos_unittest("js_ui_extension_content_session_test") { "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_napi_path}/inner/napi_wantagent_common:napi_wantagent_common", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:insight_intent_executor", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/insight_intent/insight_intent_context:insightintentcontext", diff --git a/test/unittest/js_ui_extension_context_test/BUILD.gn b/test/unittest/js_ui_extension_context_test/BUILD.gn index 268c4039aff1247d66abb72945bad17b091579ed..a38a1010a03184e65c9776e87ae914c417aeb837 100644 --- a/test/unittest/js_ui_extension_context_test/BUILD.gn +++ b/test/unittest/js_ui_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -38,10 +38,14 @@ ohos_unittest("js_ui_extension_context_test") { configs = [] deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ diff --git a/test/unittest/js_ui_service_extension_context_first_test/BUILD.gn b/test/unittest/js_ui_service_extension_context_first_test/BUILD.gn index 8f09f954ed9d387d3b531060387ff6db4943cb91..74fb556d55013a280a1a1d15ac5411532652c96e 100644 --- a/test/unittest/js_ui_service_extension_context_first_test/BUILD.gn +++ b/test/unittest/js_ui_service_extension_context_first_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -37,17 +37,21 @@ ohos_unittest("js_ui_service_extension_context_first_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -60,6 +64,7 @@ ohos_unittest("js_ui_service_extension_context_first_test") { "ets_runtime:libark_jsruntime", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/js_ui_service_extension_context_second_test/BUILD.gn b/test/unittest/js_ui_service_extension_context_second_test/BUILD.gn index c8a31d616d4e2e654a54e5819fb29c60f2c9eb80..87b93e10001467126025a2483ac696676a1e3371 100644 --- a/test/unittest/js_ui_service_extension_context_second_test/BUILD.gn +++ b/test/unittest/js_ui_service_extension_context_second_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -34,17 +34,21 @@ ohos_unittest("js_ui_service_extension_context_second_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", ] @@ -57,6 +61,7 @@ ohos_unittest("js_ui_service_extension_context_second_test") { "ets_runtime:libark_jsruntime", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/js_ui_service_extension_test/BUILD.gn b/test/unittest/js_ui_service_extension_test/BUILD.gn index 160173b8e845edce23eae05388300a6b6065e1f7..c6deef4af0fd75f8c393243c951127fb05cb4cbf 100644 --- a/test/unittest/js_ui_service_extension_test/BUILD.gn +++ b/test/unittest/js_ui_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -34,17 +34,21 @@ ohos_unittest("js_ui_service_extension_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -56,6 +60,7 @@ ohos_unittest("js_ui_service_extension_test") { "c_utils:utils", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/js_ui_service_host_proxy_test/BUILD.gn b/test/unittest/js_ui_service_host_proxy_test/BUILD.gn index 513af155ea37f5f65bb2f746283a35bb40c10429..976ca16ae724b5c2b59ed64625c2c483e252a8c5 100644 --- a/test/unittest/js_ui_service_host_proxy_test/BUILD.gn +++ b/test/unittest/js_ui_service_host_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -45,6 +45,7 @@ ohos_unittest("js_ui_service_host_proxy_test") { deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", diff --git a/test/unittest/js_ui_service_proxy_test/BUILD.gn b/test/unittest/js_ui_service_proxy_test/BUILD.gn index b0d9b7c6659d0657f2f3099f78e07997ee158260..3c2304ddd72dcf5111a70b64f32856bad74ccc62 100644 --- a/test/unittest/js_ui_service_proxy_test/BUILD.gn +++ b/test/unittest/js_ui_service_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -40,17 +40,21 @@ ohos_unittest("js_ui_service_proxy_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -62,6 +66,7 @@ ohos_unittest("js_ui_service_proxy_test") { "c_utils:utils", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/mission_list_manager_ut_test/BUILD.gn b/test/unittest/mission_list_manager_ut_test/BUILD.gn index e1f8bc4e9e7a21269a6f76d80d999ac316cccc09..94f6bdb50ff061be1b3fe1a0083994f63b045d5a 100644 --- a/test/unittest/mission_list_manager_ut_test/BUILD.gn +++ b/test/unittest/mission_list_manager_ut_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -39,6 +39,7 @@ ohos_unittest("mission_list_manager_ut_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:ability_thread", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_services_path}/abilitymgr:abilityms", @@ -58,6 +59,7 @@ ohos_unittest("mission_list_manager_ut_test") { "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", @@ -68,6 +70,7 @@ ohos_unittest("mission_list_manager_ut_test") { "relational_store:native_dataability", "relational_store:native_rdb", "samgr:samgr_proxy", + "window_manager:sms", ] if (background_task_mgr_continuous_task_enable) { diff --git a/test/unittest/mission_list_test/BUILD.gn b/test/unittest/mission_list_test/BUILD.gn index 7c72f9189e3b826658f4aeeeb9dd027abb339f45..3d1a7ef1071be2991731411d8b3f81f76bb9e604 100644 --- a/test/unittest/mission_list_test/BUILD.gn +++ b/test/unittest/mission_list_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -45,6 +45,7 @@ ohos_unittest("mission_list_test") { ] external_deps = [ + "ability_base:configuration", "ability_base:want", "ability_base:zuri", "access_token:libaccesstoken_sdk", @@ -90,6 +91,7 @@ ohos_unittest("mission_list_test_call") { ] external_deps = [ + "ability_base:configuration", "ability_base:want", "ability_base:zuri", "bundle_framework:appexecfwk_base", diff --git a/test/unittest/native_child_process_test/BUILD.gn b/test/unittest/native_child_process_test/BUILD.gn index eb3c4ee3b76f6447f1e7966285502994665ecc1f..c1eede9045bebbb0714d5bcf1568ed51ba3fdb56 100644 --- a/test/unittest/native_child_process_test/BUILD.gn +++ b/test/unittest/native_child_process_test/BUILD.gn @@ -62,6 +62,8 @@ ohos_unittest("native_child_process_test") { "${ability_runtime_innerkits_path}/ability_manager:process_options", "${ability_runtime_innerkits_path}/app_manager:app_manager", "${ability_runtime_innerkits_path}/deps_wrapper:ability_deps_wrapper", + "${ability_runtime_innerkits_path}/runtime:runtime", + "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:auto_startup_callback", "${ability_runtime_native_path}/appkit:appkit_manager_helper", diff --git a/test/unittest/photo_editor_extension_a_test/BUILD.gn b/test/unittest/photo_editor_extension_a_test/BUILD.gn index ec17657ea56c284bd1c35dfc01c2618aa9b8f9f3..1fce76f74e010ad2238584a5e4c2825010de0ca3 100644 --- a/test/unittest/photo_editor_extension_a_test/BUILD.gn +++ b/test/unittest/photo_editor_extension_a_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 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 @@ -83,6 +83,7 @@ ohos_unittest("photo_editor_extension_a_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:photo_editor_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", diff --git a/test/unittest/photo_editor_extension_test/BUILD.gn b/test/unittest/photo_editor_extension_test/BUILD.gn index 5b7855ace25653ecc3d73141db239aa9c6f4bf78..abee89954c536077242f3e33ce0ff7ef48648fdd 100644 --- a/test/unittest/photo_editor_extension_test/BUILD.gn +++ b/test/unittest/photo_editor_extension_test/BUILD.gn @@ -127,6 +127,8 @@ ohos_unittest("photo_editor_extension_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/runtime:runtime", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:photo_editor_extension", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", diff --git a/test/unittest/service_extension_context_test/BUILD.gn b/test/unittest/service_extension_context_test/BUILD.gn index 6c412aa70ccaf41bd40ca608af22c4cfaaace40c..b91593dd8ee9d8de962a919672ca9d0e22024b8a 100644 --- a/test/unittest/service_extension_context_test/BUILD.gn +++ b/test/unittest/service_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -39,11 +39,14 @@ ohos_unittest("service_extension_context_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/appkit:app_context", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", "${ability_runtime_services_path}/common:perm_verification", "${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/aakit:aakit_mock", diff --git a/test/unittest/state_utils_test/BUILD.gn b/test/unittest/state_utils_test/BUILD.gn index 99bec30e48bed5b3e973f08c13a6f2c614b38265..a49284ea5f5c0088c8eafb31dfc48d5d461ba2ac 100644 --- a/test/unittest/state_utils_test/BUILD.gn +++ b/test/unittest/state_utils_test/BUILD.gn @@ -34,6 +34,7 @@ ohos_unittest("state_utils_test") { deps = [] external_deps = [ + "ability_base:configuration", "ability_runtime:abilitykit_native", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", diff --git a/test/unittest/timeout_state_utils_test/BUILD.gn b/test/unittest/timeout_state_utils_test/BUILD.gn index 4b9f11b64778d59b5b1583ca04b2bf3e85d4b35b..f5400d75af103db60313ec725f56223716fa828e 100644 --- a/test/unittest/timeout_state_utils_test/BUILD.gn +++ b/test/unittest/timeout_state_utils_test/BUILD.gn @@ -37,10 +37,12 @@ ohos_unittest("timeout_state_utils_test") { deps = [] external_deps = [ + "ability_base:configuration", "ability_runtime:abilitykit_native", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "c_utils:utils", + "eventhandler:libeventhandler", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/ui_extension_ability_test/ui_extension_connect_test/BUILD.gn b/test/unittest/ui_extension_ability_test/ui_extension_connect_test/BUILD.gn index 47314242aa604787ff4703e0255ff69d24842ece..4b792255edb7dc42a726524dd409ab41f7dea530 100644 --- a/test/unittest/ui_extension_ability_test/ui_extension_connect_test/BUILD.gn +++ b/test/unittest/ui_extension_ability_test/ui_extension_connect_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2023 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -28,7 +28,7 @@ ohos_unittest("ui_extension_connect_test") { cflags += [ "-DBINDER_IPC_32BIT" ] } - deps = [] + deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub" ] external_deps = [ "ability_base:session_info", diff --git a/test/unittest/ui_extension_context_test/BUILD.gn b/test/unittest/ui_extension_context_test/BUILD.gn index b79abe1726a0c1b0fb2ee4cf6a6f66d1c78e3738..2e25b86cf94c2f6f4d0c1758f66907c45661887a 100644 --- a/test/unittest/ui_extension_context_test/BUILD.gn +++ b/test/unittest/ui_extension_context_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -37,6 +37,8 @@ ohos_unittest("ui_extension_context_test") { "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_native_path}/ability/native:abilitykit_native", + "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:ui_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", diff --git a/test/unittest/ui_service_extension_test/BUILD.gn b/test/unittest/ui_service_extension_test/BUILD.gn index 30e1d8d87eeb856b49f1c02ebfadb984f331fe0f..b13a318a9fb475803af109fbd62a2a29dff03f3a 100644 --- a/test/unittest/ui_service_extension_test/BUILD.gn +++ b/test/unittest/ui_service_extension_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024 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 @@ -37,14 +37,17 @@ ohos_unittest("ui_service_extension_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", "${ability_runtime_services_path}/abilitymgr:abilityms", ] diff --git a/test/unittest/ui_service_host_proxy_test/BUILD.gn b/test/unittest/ui_service_host_proxy_test/BUILD.gn index 486e7cfdff1aac5160d97027128f56ff3fdcf440..4752e363136331e34134537c4da9fca444fa2768 100644 --- a/test/unittest/ui_service_host_proxy_test/BUILD.gn +++ b/test/unittest/ui_service_host_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -40,17 +40,21 @@ ohos_unittest("ui_service_host_proxy_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -62,6 +66,7 @@ ohos_unittest("ui_service_host_proxy_test") { "c_utils:utils", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/ui_service_proxy_test/BUILD.gn b/test/unittest/ui_service_proxy_test/BUILD.gn index f6da8eeb56d8caa2c85e0b64c0ff86002bf8f025..a9e6ba6d453b0bcdd2bd614c8806b2de3d285ea1 100644 --- a/test/unittest/ui_service_proxy_test/BUILD.gn +++ b/test/unittest/ui_service_proxy_test/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2024 Huawei Device Co., Ltd. +# Copyright (c) 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 @@ -40,17 +40,21 @@ ohos_unittest("ui_service_proxy_test") { } deps = [ + "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub", "${ability_runtime_innerkits_path}/ability_manager:ability_manager", "${ability_runtime_innerkits_path}/ability_manager:ability_start_options", + "${ability_runtime_napi_path}/inner/napi_common:napi_common", "${ability_runtime_native_path}/ability:ability_context_native", "${ability_runtime_native_path}/ability/native:ability_business_error", "${ability_runtime_native_path}/ability/native:abilitykit_native", "${ability_runtime_native_path}/ability/native:abilitykit_utils", + "${ability_runtime_native_path}/ability/native:extensionkit_native", "${ability_runtime_native_path}/ability/native:service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension", "${ability_runtime_native_path}/ability/native:ui_service_extension_connection", "${ability_runtime_native_path}/appkit:app_context", "${ability_runtime_native_path}/appkit:appkit_native", + "${ability_runtime_path}/services/abilitymgr:abilityms_target", ] external_deps = [ @@ -62,6 +66,7 @@ ohos_unittest("ui_service_proxy_test") { "c_utils:utils", "eventhandler:libeventhandler", "ffrt:libffrt", + "form_fwk:fmskit_native", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog", diff --git a/test/unittest/unlock_screen_test/BUILD.gn b/test/unittest/unlock_screen_test/BUILD.gn index 7fb9cf5e943454ac3d0b7204b73ca562439a4ee6..48d7896d10b2f553c62bc4e84407a1ab3f1586b7 100644 --- a/test/unittest/unlock_screen_test/BUILD.gn +++ b/test/unittest/unlock_screen_test/BUILD.gn @@ -43,6 +43,7 @@ ohos_unittest("unlock_screen_test") { ] external_deps = [ + "ability_base:configuration", "c_utils:utils", "common_event_service:cesfwk_innerkits", "eventhandler:libeventhandler",