1# Copyright (c) 2021-2022 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14os_account_path = "//base/account/os_account" 15ability_runtime_path = "//foundation/ability/ability_runtime" 16ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi" 17bundle_framework_path = "//foundation/bundlemanager/bundle_framework" 18common_path = "${os_account_path}/frameworks/common" 19services_path = "${os_account_path}/services" 20tools_path = "${os_account_path}/tools" 21innerkits_path = "${os_account_path}/interfaces/innerkits/ohosaccount/native" 22innerkits_native_path = "${os_account_path}/frameworks/ohosaccount/native" 23 24app_account_core_path = "${os_account_path}/frameworks/appaccount/core" 25app_account_interfaces_native_path = 26 "${os_account_path}/interfaces/innerkits/appaccount/native" 27app_account_innerkits_native_path = 28 "${os_account_path}/frameworks/appaccount/native" 29app_account_services_path = "${os_account_path}/services/accountmgr" 30app_account_kits_path = "${os_account_path}/interfaces/kits/napi/appaccount" 31 32os_account_interfaces_native_path = 33 "${os_account_path}/interfaces/innerkits/osaccount/native" 34os_account_innerkits_native_path = 35 "${os_account_path}/frameworks/osaccount/native" 36os_account_core_path = "${os_account_path}/frameworks/osaccount/core" 37os_account_kits_path = "${os_account_path}/interfaces/kits/napi/osaccount" 38os_account_dfx_path = "${os_account_path}/dfx" 39 40account_iam_kits_path = "${os_account_path}/interfaces/kits/napi/account_iam" 41account_iam_interfaces_native_path = 42 "${os_account_path}/interfaces/innerkits/account_iam/native" 43account_iam_framework_path = "${os_account_path}/frameworks/account_iam" 44 45domain_account_napi_path = 46 "${os_account_path}/interfaces/kits/napi/domain_account" 47domain_account_interfaces_native_path = 48 "${os_account_path}/interfaces/innerkits/domain_account/native" 49domain_account_framework_path = "${os_account_path}/frameworks/domain_account" 50 51account_coverage_config_path = "${os_account_path}/config" 52 53if (!defined(global_parts_info) || 54 defined(global_parts_info.useriam_user_auth_framework)) { 55 has_user_auth_part = true 56 has_user_idm_part = true 57} else { 58 has_user_auth_part = false 59 has_user_idm_part = false 60} 61 62if (!defined(global_parts_info) || 63 defined(global_parts_info.useriam_pin_auth)) { 64 has_pin_auth_part = true 65} else { 66 has_pin_auth_part = false 67} 68 69if (!defined(global_parts_info) || 70 defined(global_parts_info.notification_common_event_service)) { 71 has_ces_part = true 72} else { 73 has_ces_part = false 74} 75 76if (!defined(global_parts_info) || 77 defined(global_parts_info.hiviewdfx_hisysevent_native)) { 78 has_hiviewdfx_hisysevent_part = true 79} else { 80 has_hiviewdfx_hisysevent_part = false 81} 82 83if (!defined(global_parts_info) || 84 defined(global_parts_info.hiviewdfx_hitrace_native)) { 85 has_hiviewdfx_hitrace_part = true 86} else { 87 has_hiviewdfx_hitrace_part = false 88} 89 90if (!defined(global_parts_info) || 91 defined(global_parts_info.filemanagement_storage_service)) { 92 has_storage_service_part = true 93} else { 94 has_storage_service_part = false 95} 96 97declare_args() { 98 os_account_multiple_active_accounts = false 99} 100 101declare_args() { 102 os_account_distributed_feature = true 103} 104 105declare_args() { 106 os_account_storage_feature = true 107} 108 109declare_args() { 110 os_account_test_case_coverage_feature = false 111} 112