加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
os_account.gni 5.46 KB
一键复制 编辑 原始数据 按行查看 历史
DXwangg 提交于 2024-10-13 17:48 . [cj] support cj api for osaccount
# Copyright (c) 2021-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.
os_account_path = "//base/account/os_account"
ability_runtime_path = "//foundation/ability/ability_runtime"
ability_runtime_napi_path = "${ability_runtime_path}/frameworks/js/napi"
bundle_framework_path = "//foundation/bundlemanager/bundle_framework"
common_path = "${os_account_path}/frameworks/common"
services_path = "${os_account_path}/services"
tools_path = "${os_account_path}/tools"
innerkits_path = "${os_account_path}/interfaces/innerkits/ohosaccount/native"
innerkits_native_path = "${os_account_path}/frameworks/ohosaccount/native"
innerkits_common = "${os_account_path}/interfaces/innerkits/common"
app_account_core_path = "${os_account_path}/frameworks/appaccount/core"
app_account_extension_path =
"${os_account_path}/frameworks/appaccount/extension"
app_account_interfaces_native_path =
"${os_account_path}/interfaces/innerkits/appaccount/native"
app_account_innerkits_native_path =
"${os_account_path}/frameworks/appaccount/native"
app_account_services_path = "${os_account_path}/services/accountmgr"
app_account_kits_path = "${os_account_path}/interfaces/kits/napi/appaccount"
os_account_interfaces_native_path =
"${os_account_path}/interfaces/innerkits/osaccount/native"
os_account_innerkits_native_path =
"${os_account_path}/frameworks/osaccount/native"
os_account_core_path = "${os_account_path}/frameworks/osaccount/core"
os_account_kits_path = "${os_account_path}/interfaces/kits/napi/osaccount"
os_account_ffi_kits_path = "${os_account_path}/interfaces/kits/cj/osaccount"
os_account_dfx_path = "${os_account_path}/dfx"
account_iam_kits_path = "${os_account_path}/interfaces/kits/napi/account_iam"
account_iam_interfaces_native_path =
"${os_account_path}/interfaces/innerkits/account_iam/native"
account_iam_framework_path = "${os_account_path}/frameworks/account_iam"
domain_account_napi_path =
"${os_account_path}/interfaces/kits/napi/domain_account"
domain_account_interfaces_native_path =
"${os_account_path}/interfaces/innerkits/domain_account/native"
domain_account_framework_path = "${os_account_path}/frameworks/domain_account"
account_napi_common_path = "${os_account_path}/interfaces/kits/napi/common"
account_coverage_config_path = "${os_account_path}/config"
fuzz_output_path = "os_account/os_account"
binarys_path = "//binarys"
if (!defined(global_parts_info) ||
defined(global_parts_info.useriam_user_auth_framework)) {
has_user_auth_part = true
has_user_idm_part = true
} else {
has_user_auth_part = false
has_user_idm_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.useriam_pin_auth)) {
has_pin_auth_part = true
} else {
has_pin_auth_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.notification_common_event_service)) {
has_ces_part = true
} else {
has_ces_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hisysevent)) {
has_hiviewdfx_hisysevent_part = true
} else {
has_hiviewdfx_hisysevent_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hitrace)) {
has_hiviewdfx_hitrace_part = true
} else {
has_hiviewdfx_hitrace_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.filemanagement_storage_service)) {
has_storage_service_part = true
} else {
has_storage_service_part = false
}
declare_args() {
os_account_multiple_active_accounts = true
}
declare_args() {
os_account_support_deactivate_main_os_account = false
}
declare_args() {
os_account_distributed_feature = true
}
declare_args() {
os_account_enable_multiple_os_accounts = true
}
declare_args() {
os_account_enable_default_admin_name = true
}
declare_args() {
os_account_enable_account_short_name = false
}
declare_args() {
os_account_activate_last_logged_in_account = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hicollie)) {
hicollie_enable = true
} else {
hicollie_enable = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.security_security_guard)) {
security_guard_enabled = true
} else {
security_guard_enabled = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.distributeddatamgr_kv_store)) {
has_kv_store_part = true
has_app_account_part = true
} else {
has_kv_store_part = false
has_app_account_part = false
}
if (!defined(global_parts_info) || defined(global_parts_info.security_asset)) {
has_asset_part = true
} else {
has_asset_part = false
}
if (!defined(global_parts_info) || defined(global_parts_info.security_huks)) {
has_huks_part = true
} else {
has_huks_part = false
}
if (!defined(global_parts_info) || defined(global_parts_info.theme_theme_mgr)) {
has_theme_mar_part = true
} else {
has_theme_mar_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.customization_config_policy)) {
has_config_policy_part = true
} else {
has_config_policy_part = false
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化