117fd14ceSopenharmony_ci# Copyright (C) 2022-2023 Huawei Device Co., Ltd. 217fd14ceSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 317fd14ceSopenharmony_ci# you may not use this file except in compliance with the License. 417fd14ceSopenharmony_ci# You may obtain a copy of the License at 517fd14ceSopenharmony_ci# 617fd14ceSopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 717fd14ceSopenharmony_ci# 817fd14ceSopenharmony_ci# Unless required by applicable law or agreed to in writing, software 917fd14ceSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 1017fd14ceSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1117fd14ceSopenharmony_ci# See the License for the specific language governing permissions and 1217fd14ceSopenharmony_ci# limitations under the License. 1317fd14ceSopenharmony_ci 1417fd14ceSopenharmony_ciimport("//base/security/device_auth/deviceauth_env.gni") 1517fd14ceSopenharmony_ci 1617fd14ceSopenharmony_ciaccount_related_defines = [ 1717fd14ceSopenharmony_ci "ENABLE_ACCOUNT_AUTH_ISO", 1817fd14ceSopenharmony_ci "ENABLE_ACCOUNT_AUTH_EC_SPEKE", 1917fd14ceSopenharmony_ci] 2017fd14ceSopenharmony_ciaccount_related_inc_path = [] 2117fd14ceSopenharmony_ci 2217fd14ceSopenharmony_cideviceauth_account_group_manager_path = "${services_path}/legacy/group_manager" 2317fd14ceSopenharmony_cideviceauth_account_group_auth_path = "${services_path}/legacy/group_auth" 2417fd14ceSopenharmony_ciauthenticators_path = "${services_path}/legacy/authenticators" 2517fd14ceSopenharmony_cigroup_manager_identical_account_files = [ "${deviceauth_account_group_manager_path}/src/group_operation/identical_account_group/identical_account_group.c" ] 2617fd14ceSopenharmony_cigroup_manager_across_account_files = [ "${deviceauth_account_group_manager_path}/src/group_operation/across_account_group/across_account_group.c" ] 2717fd14ceSopenharmony_ci 2817fd14ceSopenharmony_cigroup_auth_account_related_files = [ "${deviceauth_account_group_auth_path}/src/group_auth_manager/account_related_group_auth/account_related_group_auth.c" ] 2917fd14ceSopenharmony_ciidentity_manager_path = "${services_path}/identity_manager" 3017fd14ceSopenharmony_ciaccount_related_inc_path += [ 3117fd14ceSopenharmony_ci "${authenticators_path}/inc", 3217fd14ceSopenharmony_ci "${authenticators_path}/inc/account_related", 3317fd14ceSopenharmony_ci "${authenticators_path}/inc/account_related/auth/iso_auth_task", 3417fd14ceSopenharmony_ci "${authenticators_path}/inc/account_related/auth/pake_v2_auth_task", 3517fd14ceSopenharmony_ci "${authenticators_path}/inc/account_related/creds_manager", 3617fd14ceSopenharmony_ci] 3717fd14ceSopenharmony_ci 3817fd14ceSopenharmony_ciauthenticators_account_related_files = [ 3917fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/account_module.c", 4017fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/account_multi_task_manager.c", 4117fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/account_task_main.c", 4217fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/account_version_util.c", 4317fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/creds_manager/asy_token_manager.c", 4417fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/creds_manager/sym_token_manager.c", 4517fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_client_task.c", 4617fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_server_task.c", 4717fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/iso_auth_task/iso_auth_task_common.c", 4817fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_task_common.c", 4917fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_client_task.c", 5017fd14ceSopenharmony_ci "${authenticators_path}/src/account_related/auth/pake_v2_auth_task/pake_v2_auth_server_task.c", 5117fd14ceSopenharmony_ci] 5217fd14ceSopenharmony_ci 5317fd14ceSopenharmony_ciaccount_related_cred_plugin_files = [ "${services_path}/cred_manager/src/account_related/account_related_cred_plugin.c" ] 5417fd14ceSopenharmony_ci 5517fd14ceSopenharmony_ciaccount_related_creds_manager_files = 5617fd14ceSopenharmony_ci [ "${identity_manager_path}/src/cert_operation.c" ] 5717fd14ceSopenharmony_ci 5817fd14ceSopenharmony_ciaccount_related_files = 5917fd14ceSopenharmony_ci group_auth_account_related_files + group_manager_identical_account_files + 6017fd14ceSopenharmony_ci group_manager_across_account_files + authenticators_account_related_files + 6117fd14ceSopenharmony_ci account_related_cred_plugin_files + account_related_creds_manager_files 62