security_device_auth/services/deviceauth_account.gni
tangjunyuan c908fb8758 add identity service
Signed-off-by: tangjunyuan <tangjunyuan@huawei.com>
2025-01-18 22:30:42 +08:00

62 lines
3.3 KiB
Plaintext

# Copyright (C) 2022-2023 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("//base/security/device_auth/deviceauth_env.gni")
account_related_defines = [
"ENABLE_ACCOUNT_AUTH_ISO",
"ENABLE_ACCOUNT_AUTH_EC_SPEKE",
]
account_related_inc_path = []
deviceauth_account_group_manager_path = "${services_path}/legacy/group_manager"
deviceauth_account_group_auth_path = "${services_path}/legacy/group_auth"
authenticators_path = "${services_path}/legacy/authenticators"
group_manager_identical_account_files = [ "${deviceauth_account_group_manager_path}/src/group_operation/identical_account_group/identical_account_group.c" ]
group_manager_across_account_files = [ "${deviceauth_account_group_manager_path}/src/group_operation/across_account_group/across_account_group.c" ]
group_auth_account_related_files = [ "${deviceauth_account_group_auth_path}/src/group_auth_manager/account_related_group_auth/account_related_group_auth.c" ]
identity_manager_path = "${services_path}/legacy/identity_manager"
account_related_inc_path += [
"${authenticators_path}/inc",
"${authenticators_path}/inc/account_related",
"${authenticators_path}/inc/account_related/auth/iso_auth_task",
"${authenticators_path}/inc/account_related/auth/pake_v2_auth_task",
"${authenticators_path}/inc/account_related/creds_manager",
]
authenticators_account_related_files = [
"${authenticators_path}/src/account_related/account_module.c",
"${authenticators_path}/src/account_related/account_multi_task_manager.c",
"${authenticators_path}/src/account_related/account_task_main.c",
"${authenticators_path}/src/account_related/account_version_util.c",
"${authenticators_path}/src/account_related/creds_manager/asy_token_manager.c",
"${authenticators_path}/src/account_related/creds_manager/sym_token_manager.c",
"${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_client_task.c",
"${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_server_task.c",
"${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_task_common.c",
"${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_task_common.c",
"${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_client_task.c",
"${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_server_task.c",
]
account_related_cred_plugin_files = [ "${services_path}/ext_plugin_manager/src/account_related/account_related_cred_plugin.c" ]
account_related_creds_manager_files =
[ "${identity_manager_path}/src/cert_operation.c" ]
account_related_files =
group_auth_account_related_files + group_manager_identical_account_files +
group_manager_across_account_files + authenticators_account_related_files +
account_related_cred_plugin_files + account_related_creds_manager_files