Signed-off-by: xuzheheng <xuzheheng1@huawei.com>
This commit is contained in:
xuzheheng 2022-08-31 17:26:44 +08:00
parent 777482fc81
commit 1c51c94db7
5 changed files with 6 additions and 34 deletions

View File

@ -41,6 +41,7 @@ ability_base_kits_path = "${ability_base_path}/interfaces/kits/native"
ability_base_native_path = "${ability_base_path}/frameworks/native"
appspawn_path = "//base/startup/appspawn"
init_path = "//base/startup/init"
ipc_native_path = "//foundation/communication/ipc/ipc/native"
declare_args() {
background_task_mgr_continuous_task_enable = true

View File

@ -26,29 +26,22 @@ ohos_shared_library("abilitymanager_napi") {
include_dirs = [
"./",
"//third_party/icu/icu4c/source/common",
"${ipc_native_path}/src/napi/include",
]
deps = [
"${ability_runtime_napi_path}/inner/napi_common:napi_common",
"${ability_runtime_services_path}/abilitymgr:abilityms",
]
deps = [ "${ability_runtime_napi_path}/inner/napi_common:napi_common" ]
external_deps = [
"ability_base:base",
"ability_base:configuration",
"ability_base:want",
"ability_runtime:ability_manager",
"ability_runtime:abilitykit_native",
"ability_runtime:app_manager",
"ability_runtime:runtime",
"bundle_framework:appexecfwk_base",
"c_utils:utils",
"eventhandler:libeventhandler",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"ipc_js:rpc",
"napi:ace_napi",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]

View File

@ -182,16 +182,11 @@ ohos_shared_library("app_context") {
external_deps = [
"ability_base:configuration",
"ability_base:want",
"ability_base:zuri",
"ability_runtime:ability_deps_wrapper",
"ability_runtime:ability_manager",
"ability_runtime:app_manager",
"ability_runtime:runtime",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"c_utils:utils",
"eventhandler:libeventhandler",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
@ -199,10 +194,7 @@ ohos_shared_library("app_context") {
]
if (ability_runtime_graphics) {
deps += [
"${multimodalinput_path}/frameworks/proxy:libmmi-client",
"//third_party/icu/icu4c:shared_icuuc",
]
deps += [ "//third_party/icu/icu4c:shared_icuuc" ]
public_deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
}
@ -241,28 +233,18 @@ ohos_shared_library("app_context_utils") {
[ "${global_path}/resource_management/frameworks/resmgr:global_resmgr" ]
external_deps = [
"ability_base:configuration",
"ability_base:want",
"ability_base:zuri",
"ability_runtime:ability_manager",
"ability_runtime:app_manager",
"ability_runtime:runtime",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"c_utils:utils",
"eventhandler:libeventhandler",
"hiviewdfx_hilog_native:libhilog",
"ipc:ipc_core",
"napi:ace_napi",
"resource_management:resmgr_napi_core",
"samgr:samgr_proxy",
]
if (ability_runtime_graphics) {
deps += [
"${multimodalinput_path}/frameworks/proxy:libmmi-client",
"//third_party/icu/icu4c:shared_icuuc",
]
deps += [ "//third_party/icu/icu4c:shared_icuuc" ]
public_deps += [ "${global_path}/i18n/frameworks/intl:intl_util" ]
}

View File

@ -94,7 +94,6 @@ ohos_shared_library("app_manager") {
deps = []
external_deps = [
"ability_base:base",
"ability_base:configuration",
"ability_base:want",
"bundle_framework:appexecfwk_base",

View File

@ -56,6 +56,7 @@ config("abilityms_config") {
"${bgtaskmgr_frameworks_path}/common/include",
"${bgtaskmgr_frameworks_path}/include",
"${init_path}/interfaces/innerkits/include/syspara/",
"${bundlefwk_inner_api_path}/appexecfwk_core/include",
]
defines = []
@ -109,18 +110,15 @@ ohos_shared_library("abilityms") {
]
external_deps = [
"ability_base:base",
"ability_base:configuration",
"ability_base:want",
"ability_base:zuri",
"ability_runtime:ability_context_native",
"ability_runtime:ability_deps_wrapper",
"ability_runtime:abilitykit_native",
"ability_runtime:app_manager",
"ability_runtime:connection_obs_manager",
"access_token:libaccesstoken_sdk",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"c_utils:utils",
"common_event_service:cesfwk_core",
"common_event_service:cesfwk_innerkits",
@ -169,7 +167,6 @@ ohos_shared_library("abilityms") {
"input:libmmi-client",
"multimedia_image_standard:image_native",
"window_manager:libdm",
"window_manager:libwm",
]
}