account_os_account/os_account.gni
caohongfei2 10e544167a useriam部件化整改:部件名修改,目录修改
Signed-off-by: caohongfei2 <caohongfei2@huawei.com>
Change-Id: I79cb0d2455918edea7a66031bacc905cd0a3a7d5
2022-06-14 15:19:24 +08:00

75 lines
2.7 KiB
Plaintext

# Copyright (c) 2021-2022 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"
aafwk_path = "//foundation/ability/ability_runtime"
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"
app_account_core_path = "${os_account_path}/frameworks/appaccount/core"
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_dfx_path = "${os_account_path}/dfx"
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_native)) {
has_hiviewdfx_hisysevent_part = true
} else {
has_hiviewdfx_hisysevent_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.hiviewdfx_hitrace_native)) {
has_hiviewdfx_hitrace_part = true
} else {
has_hiviewdfx_hitrace_part = false
}