mirror of
https://gitee.com/openharmony/bundlemanager_bundle_framework
synced 2024-11-22 23:00:31 +00:00
commit
0de6c8a87b
@ -42,7 +42,6 @@ ohos_unittest("BmsBundleOverlayCheckerTest") {
|
||||
"${services_path}/bundlemgr/test/mock/src/accesstoken_kit.cpp",
|
||||
"${services_path}/bundlemgr/test/mock/src/bundle_mgr_service_event_handler.cpp",
|
||||
"${services_path}/bundlemgr/test/mock/src/installd_permission_mgr.cpp",
|
||||
"${services_path}/bundlemgr/test/mock/src/mock_quick_fix_callback.cpp",
|
||||
"${services_path}/bundlemgr/test/mock/src/mock_status_receiver.cpp",
|
||||
"${services_path}/bundlemgr/test/mock/src/system_ability_helper.cpp",
|
||||
]
|
||||
@ -90,13 +89,17 @@ ohos_unittest("BmsBundleOverlayCheckerTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
if (code_signature_enable) {
|
||||
@ -192,13 +195,17 @@ ohos_unittest("BmsBundleOverlayInfoTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
if (bundle_framework_power_mgr_enable) {
|
||||
external_deps += aot_external_deps
|
||||
}
|
||||
@ -299,13 +306,17 @@ ohos_unittest("BmsBundleOverlayIpcTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
if (bundle_framework_power_mgr_enable) {
|
||||
@ -442,13 +453,17 @@ ohos_unittest("BmsBundleManagerOverlayIpcTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
if (bundle_framework_power_mgr_enable) {
|
||||
@ -585,13 +600,17 @@ ohos_unittest("BmsBundleSetOverlayEnabledTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
if (bundle_framework_power_mgr_enable) {
|
||||
@ -729,13 +748,17 @@ ohos_unittest("BmsBundleGetOverlayModuleInfoTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
if (bundle_framework_power_mgr_enable) {
|
||||
|
@ -83,7 +83,6 @@ ohos_fuzztest("BundleInstalldHostFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
@ -107,6 +106,10 @@ ohos_fuzztest("BundleInstalldHostFuzzTest") {
|
||||
|
||||
defines = []
|
||||
include_dirs = []
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -83,7 +83,6 @@ ohos_fuzztest("BundleInstallerHostFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
@ -107,6 +106,11 @@ ohos_fuzztest("BundleInstallerHostFuzzTest") {
|
||||
|
||||
defines = []
|
||||
include_dirs = []
|
||||
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -68,7 +68,6 @@ ohos_fuzztest("AgingHandlerChainFuzzTest") {
|
||||
"battery_manager:batterysrv_client",
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
@ -82,6 +81,10 @@ ohos_fuzztest("AgingHandlerChainFuzzTest") {
|
||||
]
|
||||
external_deps += bundle_install_external_deps
|
||||
defines = [ "BUNDLE_FRAMEWORK_FREE_INSTALL" ]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -67,7 +67,6 @@ ohos_fuzztest("AgingRequestFuzzTest") {
|
||||
"battery_manager:batterysrv_client",
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
@ -81,6 +80,10 @@ ohos_fuzztest("AgingRequestFuzzTest") {
|
||||
]
|
||||
external_deps += bundle_install_external_deps
|
||||
defines = [ "BUNDLE_FRAMEWORK_FREE_INSTALL" ]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -67,7 +67,6 @@ ohos_fuzztest("AgingUtilFuzzTest") {
|
||||
"battery_manager:batterysrv_client",
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
@ -81,6 +80,10 @@ ohos_fuzztest("AgingUtilFuzzTest") {
|
||||
]
|
||||
external_deps += bundle_install_external_deps
|
||||
defines = [ "BUNDLE_FRAMEWORK_FREE_INSTALL" ]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -67,7 +67,6 @@ ohos_fuzztest("BundleAgingMgrFuzzTest") {
|
||||
"battery_manager:batterysrv_client",
|
||||
"bounds_checking_function:libsec_shared",
|
||||
"common_event_service:cesfwk_innerkits",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"eventhandler:libeventhandler",
|
||||
"hilog:libhilog",
|
||||
@ -81,6 +80,10 @@ ohos_fuzztest("BundleAgingMgrFuzzTest") {
|
||||
]
|
||||
external_deps += bundle_install_external_deps
|
||||
defines = [ "BUNDLE_FRAMEWORK_FREE_INSTALL" ]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
if (code_signature_enable) {
|
||||
sources += [
|
||||
"${services_path}/bundlemgr/src/aot/aot_sign_data_cache_mgr.cpp",
|
||||
|
@ -74,12 +74,15 @@ ohos_fuzztest("BundleOverlayInstallCheckerFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
|
@ -73,12 +73,15 @@ ohos_fuzztest("BundleOverlayMgrFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
|
@ -73,12 +73,15 @@ ohos_fuzztest("OverlayDataMgrFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
|
@ -74,12 +74,15 @@ ohos_fuzztest("OverlayMgrHostImplFuzzTest") {
|
||||
"ability_runtime:ability_manager",
|
||||
"ability_runtime:app_manager",
|
||||
"battery_manager:batterysrv_client",
|
||||
"device_usage_statistics:usagestatsinner",
|
||||
"display_manager:displaymgr",
|
||||
"ffrt:libffrt",
|
||||
"power_manager:powermgr_client",
|
||||
"syscap_codec:syscap_interface_shared",
|
||||
]
|
||||
if (device_usage_statistics_enabled) {
|
||||
external_deps += [ "device_usage_statistics:usagestatsinner" ]
|
||||
defines += [ "DEVICE_USAGE_STATISTICS_ENABLED" ]
|
||||
}
|
||||
|
||||
external_deps += bundle_install_external_deps
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user