mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
8b5ddf56be
Co-Authored-By:Agent Signed-off-by: littlejerry1 <sijunjie@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%]
81 lines
3.0 KiB
Plaintext
81 lines
3.0 KiB
Plaintext
# Copyright (c) 2026 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
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
import("//build/ohos.gni")
|
|
import("//foundation/ability/ability_runtime/ability_runtime.gni")
|
|
|
|
ohos_shared_library("agentmgr") {
|
|
sanitize = {
|
|
cfi = true
|
|
cfi_cross_dso = true
|
|
debug = false
|
|
}
|
|
branch_protector_ret = "pac_ret"
|
|
|
|
include_dirs = [
|
|
"include",
|
|
"${ability_runtime_innerkits_path}/ability_manager/include",
|
|
"${ability_runtime_innerkits_path}/app_manager/include/appmgr",
|
|
"${ability_runtime_path}/interfaces/kits/native/ability/native",
|
|
"${ability_runtime_path}/interfaces/kits/native/appkit/ability_bundle_manager_helper",
|
|
"${ability_runtime_path}/utils/global/constant",
|
|
"${ability_runtime_services_path}/common/include",
|
|
"${agent_runtime_framework_path}/interfaces/kits/native/agent_extension/connection/include",
|
|
"${agent_runtime_framework_path}/services/common/include",
|
|
]
|
|
sources = [
|
|
"src/agent_bundle_event_callback.cpp",
|
|
"src/agent_card_db_mgr.cpp",
|
|
"src/agent_card_mgr.cpp",
|
|
"src/agent_event_handler.cpp",
|
|
"src/agent_host_connection.cpp",
|
|
"src/agent_manager_service.cpp",
|
|
"src/agent_service_connection.cpp",
|
|
]
|
|
|
|
public_configs = []
|
|
|
|
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_native_path}/appkit:appkit_manager_helper",
|
|
"${ability_runtime_services_path}/common:perm_verification",
|
|
"${ability_runtime_services_path}/common:task_handler_wrap",
|
|
"${agent_runtime_framework_path}/interfaces/inner_api:agent_fwk",
|
|
"${agent_runtime_framework_path}/interfaces/inner_api:agent_manager",
|
|
"${agent_runtime_framework_path}/interfaces/kits/native/agent_extension/connection:agent_extension_connection",
|
|
"${agent_runtime_framework_path}/services/common:agent_card_utils",
|
|
"${agent_runtime_framework_path}/services/common:agent_semver",
|
|
]
|
|
|
|
external_deps = [
|
|
"bundle_framework:appexecfwk_base",
|
|
"bundle_framework:appexecfwk_core",
|
|
"bundle_framework:libappexecfwk_common",
|
|
"c_utils:utils",
|
|
"common_event_service:cesfwk_innerkits",
|
|
"ffrt:libffrt",
|
|
"hilog:libhilog",
|
|
"ipc:ipc_core",
|
|
"json:nlohmann_json_static",
|
|
"kv_store:distributeddata_inner",
|
|
"safwk:system_ability_fwk",
|
|
"samgr:samgr_proxy",
|
|
]
|
|
|
|
innerapi_tags = [ "platformsdk" ]
|
|
subsystem_name = "ability"
|
|
part_name = "ability_runtime"
|
|
}
|