Signed-off-by: huangshiwei <huangshiwei4@huawei.com>
Change-Id: I1aa4847b937a5a8082ac0e5b55c8ef221635bced
This commit is contained in:
huangshiwei 2023-12-05 22:24:15 +08:00 committed by 黄师伟
parent cd1190f977
commit e70181e923
68 changed files with 311 additions and 132 deletions

View File

@ -82,13 +82,15 @@ ohos_shared_library("ability_context_native") {
"hitrace:hitrace_meter",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:libwsutils",
"window_manager:scene_session",
"window_manager:session_manager",
]
if (ability_runtime_graphics) {
external_deps += [ "ace_engine:ace_uicontent" ]
external_deps += [
"ace_engine:ace_uicontent",
"window_manager:libwsutils",
"window_manager:scene_session",
"window_manager:session_manager",
]
}
if (hichecker_enabled) {

View File

@ -278,7 +278,6 @@ ohos_shared_library("abilitykit_native") {
"relational_store:native_rdb",
"resource_management:global_resmgr",
"samgr:samgr_proxy",
"window_manager:libwsutils",
]
defines = []
@ -316,6 +315,7 @@ ohos_shared_library("abilitykit_native") {
"input:libmmi-client",
"window_manager:libdm",
"window_manager:libwm",
"window_manager:libwsutils",
"window_manager:windowstage_kit",
]
}
@ -523,8 +523,6 @@ ohos_shared_library("uiabilitykit_native") {
"ipc:ipc_napi",
"napi:ace_napi",
"resource_management:global_resmgr",
"window_manager:libwsutils",
"window_manager:windowstage_kit",
]
if (ability_runtime_graphics) {
@ -533,6 +531,8 @@ ohos_shared_library("uiabilitykit_native") {
"ability_base:session_info",
"window_manager:libdm",
"window_manager:libwm",
"window_manager:libwsutils",
"window_manager:windowstage_kit",
]
}

View File

@ -119,10 +119,15 @@ ohos_shared_library("ability_simulator_inner") {
"hilog:libhilog",
"napi:ace_napi",
"previewer:ide_extension",
"window_manager:previewer_window",
"window_manager:previewer_window_napi",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:previewer_window",
"window_manager:previewer_window_napi",
]
}
if (is_mingw) {
external_deps += [ "resource_management:win_resmgr" ]
} else {

View File

@ -140,8 +140,6 @@ ohos_shared_library("ability_manager") {
"relational_store:native_dataability",
"relational_store:native_rdb",
"samgr:samgr_proxy",
"window_manager:libwsutils",
"window_manager:session_manager",
]
if (ability_runtime_graphics) {
@ -149,6 +147,8 @@ ohos_shared_library("ability_manager") {
external_deps += [
"ability_base:session_info",
"image_framework:image_native",
"window_manager:libwsutils",
"window_manager:session_manager",
]
}

View File

@ -176,10 +176,6 @@ ohos_shared_library("abilityms") {
"relational_store:native_rdb",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwindow_extension_client",
"window_manager:libwsutils",
"window_manager:scene_session",
"window_manager:sms",
]
if (background_task_mgr_continuous_task_enable) {
@ -212,7 +208,11 @@ ohos_shared_library("abilityms") {
"input:libmmi-client",
"resource_management:global_resmgr",
"window_manager:libdm",
"window_manager:libwindow_extension_client",
"window_manager:libwm",
"window_manager:libwsutils",
"window_manager:scene_session",
"window_manager:sms",
]
}

View File

@ -113,7 +113,6 @@ ohos_shared_library("libappms") {
"memory_utils:libmeminfo",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwsutils",
]
if (product_name != "ohcore") {
@ -126,6 +125,7 @@ ohos_shared_library("libappms") {
external_deps += [
"i18n:intl_util",
"window_manager:libwm",
"window_manager:libwsutils",
]
}

View File

@ -115,9 +115,12 @@ ohos_shared_library("app_util") {
external_deps = [
"hilog:libhilog",
"init:libbegetutil",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwsutils" ]
}
subsystem_name = "ability"
part_name = "ability_runtime"
}

View File

@ -55,8 +55,11 @@ ohos_fuzztest("AppManagerFuzzTest") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
###############################################################################

View File

@ -193,8 +193,11 @@ ohos_moduletest("ability_delegator_moduletest") {
"eventhandler:libeventhandler",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
ohos_moduletest("js_test_runner_moduletest") {

View File

@ -42,9 +42,12 @@ ohos_moduletest("ability_manager_service_dump_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}

View File

@ -85,13 +85,15 @@ ohos_moduletest("ability_moduletest") {
"relational_store:native_appdatafwk",
"relational_store:native_dataability",
"relational_store:native_rdb",
"window_manager:libwsutils",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
deps += [ "${multimedia_path}/interfaces/innerkits:image_native" ]
external_deps += [ "input:libmmi-client" ]
external_deps += [
"input:libmmi-client",
"window_manager:libwsutils",
"window_manager:scene_session",
]
}
if (ecologic_rule_enabled) {
@ -146,11 +148,13 @@ ohos_moduletest("ability_conetxt_test") {
"relational_store:native_appdatafwk",
"relational_store:native_dataability",
"relational_store:native_rdb",
"window_manager:libwsutils",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "input:libmmi-client" ]
external_deps += [
"input:libmmi-client",
"window_manager:libwsutils",
"window_manager:scene_session",
]
}
if (ecologic_rule_enabled) {
@ -231,13 +235,15 @@ ohos_moduletest("data_ability_operation_moduletest") {
"relational_store:native_appdatafwk",
"relational_store:native_dataability",
"relational_store:native_rdb",
"window_manager:libwsutils",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
deps += [ "${multimedia_path}/interfaces/innerkits:image_native" ]
external_deps += [ "input:libmmi-client" ]
external_deps += [
"input:libmmi-client",
"window_manager:libwsutils",
"window_manager:scene_session",
]
}
if (ecologic_rule_enabled) {

View File

@ -68,15 +68,6 @@ ohos_moduletest("ability_timeout_module_test") {
"//third_party/jsoncpp:jsoncpp",
]
if (ability_runtime_graphics) {
deps += [
"${ace_engine_path}/interfaces/inner_api/ui_service_manager:ui_service_mgr",
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
]
}
external_deps = [
"ability_base:configuration",
"ability_base:view_data",
@ -105,8 +96,6 @@ ohos_moduletest("ability_timeout_module_test") {
"relational_store:native_dataability",
"relational_store:native_rdb",
"safwk:system_ability_fwk",
"window_manager:libwsutils",
"window_manager:sms",
]
if (efficiency_manager) {
@ -125,9 +114,17 @@ ohos_moduletest("ability_timeout_module_test") {
}
if (ability_runtime_graphics) {
deps += [
"${ace_engine_path}/interfaces/inner_api/ui_service_manager:ui_service_mgr",
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
]
external_deps += [
"input:libmmi-client",
"window_manager:libdm",
"window_manager:libwsutils",
"window_manager:sms",
]
}
}

View File

@ -42,12 +42,15 @@ ohos_moduletest("call_ability_service_module_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("moduletest") {

View File

@ -78,9 +78,12 @@ ohos_source_set("appmgr_mst_source") {
"hitrace:hitrace_meter",
"init:libbeget_proxy",
"ipc:ipc_core",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -37,13 +37,18 @@ ohos_moduletest("AmsAbilityRunningRecordModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("moduletest") {

View File

@ -35,10 +35,6 @@ ohos_moduletest("AmsAppMgrServiceModuleTest") {
"${ability_runtime_test_path}/moduletest/common/ams:appmgr_mst_source",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
}
external_deps = [
"access_token:libnativetoken",
"access_token:libtoken_setproc",
@ -48,9 +44,13 @@ ohos_moduletest("AmsAppMgrServiceModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -43,9 +43,12 @@ ohos_moduletest("AppRunningProcessesInfoModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -47,9 +47,12 @@ ohos_moduletest("AmsIpcAmsmgrModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -33,13 +33,6 @@ ohos_moduletest("AmsServiceAppSpawnClientModuleTest") {
"${ability_runtime_test_path}/moduletest/common/ams:appmgr_mst_source",
]
if (ability_runtime_graphics) {
deps += [
"${ability_runtime_native_path}/appkit:appkit_manager_helper",
"${global_path}/i18n/frameworks/intl:intl_util",
]
}
external_deps = [
"bundle_framework:appexecfwk_base",
"ffrt:libffrt",
@ -47,9 +40,16 @@ ohos_moduletest("AmsServiceAppSpawnClientModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
deps += [
"${ability_runtime_native_path}/appkit:appkit_manager_helper",
"${global_path}/i18n/frameworks/intl:intl_util",
]
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -34,10 +34,6 @@ ohos_moduletest("AmsServiceEventDriveModuleTest") {
"${ability_runtime_test_path}/moduletest/common/ams:appmgr_mst_source",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
}
external_deps = [
"access_token:libnativetoken",
"access_token:libtoken_setproc",
@ -46,9 +42,13 @@ ohos_moduletest("AmsServiceEventDriveModuleTest") {
"hicollie:libhicollie",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -32,10 +32,6 @@ ohos_moduletest("AmsServiceStartModuleTest") {
"${ability_runtime_test_path}/moduletest/common/ams:appmgr_mst_source",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
}
external_deps = [
"bundle_framework:appexecfwk_base",
"ffrt:libffrt",
@ -43,9 +39,13 @@ ohos_moduletest("AmsServiceStartModuleTest") {
"hilog:libhilog",
"ipc:ipc_core",
"safwk:system_ability_fwk",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
external_deps += [ "window_manager:libwm" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -44,12 +44,15 @@ ohos_moduletest("specified_ability_service_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("moduletest") {

View File

@ -44,9 +44,12 @@ ohos_moduletest("on_new_want_module_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}

View File

@ -110,8 +110,6 @@ ohos_moduletest("running_infos_module_test") {
"relational_store:native_dataability",
"relational_store:native_rdb",
"safwk:system_ability_fwk",
"window_manager:libwsutils",
"window_manager:sms",
]
if (efficiency_manager) {
@ -133,6 +131,8 @@ ohos_moduletest("running_infos_module_test") {
external_deps += [
"input:libmmi-client",
"window_manager:libdm",
"window_manager:libwsutils",
"window_manager:sms",
]
}
}

View File

@ -42,9 +42,12 @@ ohos_moduletest("start_option_module_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (background_task_mgr_continuous_task_enable) {
external_deps += [ "background_task_mgr:bgtaskmgr_innerkits" ]
}

View File

@ -234,8 +234,6 @@ ohos_source_set("abilityms_test_source") {
"relational_store:native_rdb",
"resource_management:global_resmgr",
"safwk:system_ability_fwk",
"window_manager:libwsutils",
"window_manager:sms",
]
if (efficiency_manager) {
@ -280,6 +278,8 @@ ohos_source_set("abilityms_test_source") {
"input:libmmi-client",
"window_manager:libdm",
"window_manager:libwm",
"window_manager:libwsutils",
"window_manager:sms",
]
}

View File

@ -70,8 +70,6 @@ ohos_unittest("ability_manager_client_branch_test") {
"init:libbeget_proxy",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:libwsutils",
"window_manager:scene_session",
]
if (background_task_mgr_continuous_task_enable) {
@ -79,7 +77,11 @@ ohos_unittest("ability_manager_client_branch_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "image_framework:image_native" ]
external_deps += [
"image_framework:image_native",
"window_manager:libwsutils",
"window_manager:scene_session",
]
}
}

View File

@ -59,7 +59,6 @@ ohos_unittest("ability_manager_service_anr_test") {
"hilog:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
@ -67,7 +66,10 @@ ohos_unittest("ability_manager_service_anr_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -38,12 +38,15 @@ ohos_unittest("ability_manager_service_dialog_test") {
"common_event_service:cesfwk_innerkits",
"ffrt:libffrt",
"hilog:libhilog",
"window_manager:libdm",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -63,12 +63,15 @@ ohos_unittest("ability_manager_service_first_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -53,9 +53,12 @@ ohos_unittest("ability_manager_service_second_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}

View File

@ -53,9 +53,12 @@ ohos_unittest("ability_manager_service_third_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}

View File

@ -42,7 +42,6 @@ ohos_unittest("ability_timeout_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
@ -50,7 +49,10 @@ ohos_unittest("ability_timeout_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -74,8 +74,11 @@ ohos_unittest("AmsAbilityRunningRecordTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -65,8 +65,11 @@ ohos_unittest("AppDeathRecipientTest") {
"hitrace:hitrace_meter",
"init:libbeget_proxy",
"ipc:ipc_core",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -58,8 +58,11 @@ ohos_unittest("AmsAppMgrClientTest") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -58,8 +58,11 @@ ohos_unittest("AmsAppRunningRecordTest") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -71,9 +71,14 @@ ohos_unittest("AmsWorkFlowTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("unittest") {

View File

@ -50,8 +50,11 @@ ohos_unittest("AmsMgrProxyTest") {
"hilog:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -42,8 +42,11 @@ ohos_unittest("ams_mgr_scheduler_dump_test") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -48,8 +48,11 @@ ohos_unittest("AmsMgrStubTest") {
"hilog:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -84,9 +84,14 @@ ohos_unittest("AmsRecentAppListTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("unittest") {

View File

@ -80,9 +80,12 @@ ohos_unittest("AmsServiceAppSpawnClientTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
subsystem_name = "ability"
part_name = "ability_runtime"
}

View File

@ -85,8 +85,11 @@ ohos_unittest("AmsServiceEventDriveTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -86,9 +86,14 @@ ohos_unittest("AmsServiceLoadAbilityProcessTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("unittest") {

View File

@ -80,8 +80,11 @@ ohos_unittest("AmsServiceStartupTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -40,8 +40,11 @@ ohos_unittest("AppDebugListenerStubTest") {
"hilog:libhilog",
"ipc:ipc_core",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -47,8 +47,11 @@ ohos_unittest("app_mgr_service_dump_test") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -80,9 +80,14 @@ ohos_unittest("AMSEventHandlerTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("unittest") {

View File

@ -57,13 +57,16 @@ ohos_unittest("app_mgr_service_inner_tdd_test") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
defines = []
if (background_task_mgr_continuous_task_enable) {
defines += [ "BGTASKMGR_CONTINUOUS_TASK_ENABLE" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -57,9 +57,12 @@ ohos_unittest("AppMgrServiceInnerTest") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
defines = []
if (background_task_mgr_continuous_task_enable) {
defines += [ "BGTASKMGR_CONTINUOUS_TASK_ENABLE" ]

View File

@ -50,7 +50,6 @@ ohos_unittest("app_mgr_service_test") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
defines = []
@ -61,6 +60,10 @@ ohos_unittest("app_mgr_service_test") {
if (ability_command_for_test) {
defines += [ "ABILITY_COMMAND_FOR_TEST" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -59,9 +59,14 @@ ohos_unittest("app_running_manager_test") {
"memory_utils:libmeminfo",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
"window_manager:libwsutils",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwm",
"window_manager:libwsutils",
]
}
}
group("unittest") {

View File

@ -77,8 +77,11 @@ ohos_unittest("AppRunningProcessesInfoTest") {
"init:libbeget_proxy",
"ipc:ipc_core",
"memory_utils:libmeminfo",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -46,8 +46,11 @@ ohos_unittest("AppSpawnClientTest") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -58,12 +58,15 @@ ohos_unittest("call_container_test") {
"hilog:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -49,8 +49,11 @@ ohos_unittest("dataobs_mgr_service_dump_test") {
"ipc:ipc_core",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:libwm",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
}
}
group("unittest") {

View File

@ -40,12 +40,15 @@ ohos_unittest("extension_manager_client_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -75,7 +75,6 @@ ohos_unittest("form_extension_context_test") {
"napi:ace_napi",
"relational_store:native_dataability",
"relational_store:native_rdb",
"window_manager:scene_session",
]
if (background_task_mgr_continuous_task_enable) {
@ -85,6 +84,10 @@ ohos_unittest("form_extension_context_test") {
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -59,9 +59,14 @@ ohos_unittest("ability_context_impl_test") {
"hilog:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:libwsutils",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [
"window_manager:libwsutils",
"window_manager:scene_session",
]
}
}
ohos_unittest("caller_call_back_ut_test") {

View File

@ -144,8 +144,11 @@ ohos_unittest("ability_delegator_unittest") {
"hilog:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
ohos_unittest("delegator_thread_unittest") {

View File

@ -45,7 +45,6 @@ ohos_unittest("free_install_manager_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
@ -53,7 +52,10 @@ ohos_unittest("free_install_manager_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -48,7 +48,6 @@ ohos_unittest("lifecycle_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
@ -56,7 +55,10 @@ ohos_unittest("lifecycle_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -42,7 +42,6 @@ ohos_unittest("running_infos_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ecologic_rule_enabled) {
@ -50,7 +49,10 @@ ohos_unittest("running_infos_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -67,7 +67,6 @@ ohos_unittest("specified_mission_list_test") {
"ipc:ipc_core",
"kv_store:distributeddata_inner",
"napi:ace_napi",
"window_manager:scene_session",
]
if (background_task_mgr_continuous_task_enable) {
@ -77,6 +76,10 @@ ohos_unittest("specified_mission_list_test") {
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -42,7 +42,6 @@ ohos_unittest("start_option_display_id_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (background_task_mgr_continuous_task_enable) {
@ -54,7 +53,10 @@ ohos_unittest("start_option_display_id_test") {
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:libwm" ]
external_deps += [
"window_manager:libwm",
"window_manager:scene_session",
]
}
}

View File

@ -68,7 +68,6 @@ ohos_unittest("ui_ability_lifecycle_manager_test") {
"napi:ace_napi",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"window_manager:scene_session",
]
if (background_task_mgr_continuous_task_enable) {
@ -78,6 +77,10 @@ ohos_unittest("ui_ability_lifecycle_manager_test") {
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
}
group("unittest") {

View File

@ -40,9 +40,12 @@ ohos_unittest("user_controller_test") {
"ffrt:libffrt",
"hilog:libhilog",
"ipc:ipc_core",
"window_manager:scene_session",
]
if (ability_runtime_graphics) {
external_deps += [ "window_manager:scene_session" ]
}
if (ecologic_rule_enabled) {
external_deps += [ "ecological_rule_manager:erms_client" ]
}