Signed-off-by: caochunlei <caochunlei1@huawei.com>
This commit is contained in:
caochunlei 2023-07-29 21:15:46 +08:00
parent 853b2f98b8
commit f0274e65a6
3 changed files with 39 additions and 2 deletions

View File

@ -278,6 +278,15 @@
},
"name": "//foundation/ability/ability_runtime/frameworks/js/napi/dialog_request_info:dialog_request_info"
},
{
"header": {
"header_base": "//foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include",
"header_files": [
"ability_connect_callback_stub.h"
]
},
"name": "//foundation/ability/ability_runtime/interfaces/inner_api/ability_manager:ability_connect_callback_stub"
},
{
"header": {
"header_base": "//foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_runtime/context",

View File

@ -65,7 +65,6 @@ ohos_shared_library("ability_manager") {
"${ability_runtime_native_path}/ability/native/data_ability_result.cpp",
"${ability_runtime_native_path}/ability/native/task_handler.cpp",
"${ability_runtime_native_path}/ability/native/task_handler_client.cpp",
"${ability_runtime_services_path}/abilitymgr/src/ability_connect_callback_stub.cpp",
"${ability_runtime_services_path}/abilitymgr/src/ability_manager_client.cpp",
"${ability_runtime_services_path}/abilitymgr/src/ability_manager_collaborator_proxy.cpp",
"${ability_runtime_services_path}/abilitymgr/src/ability_manager_proxy.cpp",
@ -109,6 +108,8 @@ ohos_shared_library("ability_manager") {
"${ability_runtime_services_path}/abilitymgr:abilityms_config",
]
public_deps = [ ":ability_connect_callback_stub" ]
deps = [
":ability_start_setting",
"${ability_runtime_innerkits_path}/app_manager:app_manager",
@ -192,3 +193,29 @@ ohos_shared_library("ability_start_setting") {
subsystem_name = "ability"
part_name = "ability_runtime"
}
ohos_shared_library("ability_connect_callback_stub") {
include_dirs = [
"include/",
"${ability_base_kits_path}/want/include",
"${ability_runtime_services_path}/abilitymgr/include",
"${ability_runtime_services_path}/common/include",
]
sources = [ "${ability_runtime_services_path}/abilitymgr/src/ability_connect_callback_stub.cpp" ]
public_configs = [ ":ability_manager_public_config" ]
external_deps = [
"ability_base:want",
"ability_base:zuri",
"c_utils:utils",
"hilog:libhilog",
"ipc:ipc_core",
]
cflags_cc = []
innerapi_tags = [ "platformsdk" ]
subsystem_name = "ability"
part_name = "ability_runtime"
}

View File

@ -36,7 +36,6 @@ config("extension_manager_config") {
ohos_shared_library("extension_manager") {
sources = [
"${ability_runtime_services_path}/abilitymgr/src/ability_connect_callback_stub.cpp",
"src/extension_manager_client.cpp",
"src/extension_manager_proxy.cpp",
]
@ -44,6 +43,8 @@ ohos_shared_library("extension_manager") {
configs = [ ":extension_manager_config" ]
public_configs = [ ":extension_manager_public_config" ]
public_deps = [ "${ability_runtime_innerkits_path}/ability_manager:ability_connect_callback_stub" ]
external_deps = [
"ability_base:want",
"bundle_framework:appexecfwk_base",