2022-09-20 09:43:19 +00:00
|
|
|
# Copyright (c) 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.
|
|
|
|
|
|
|
|
use_crypto_lib = "openssl"
|
|
|
|
non_rwlock_support = false
|
2024-11-07 07:02:20 +00:00
|
|
|
cert_manager_root_dir = "//base/security/certificate_manager"
|
2022-09-20 09:43:19 +00:00
|
|
|
|
2023-06-14 08:00:25 +00:00
|
|
|
declare_args() {
|
|
|
|
# depend on the definition of huks security level in base/security/huks/build/config.gni
|
2024-05-06 09:36:08 +00:00
|
|
|
certificate_manager_deps_huks_enabled = "software"
|
2023-06-14 08:00:25 +00:00
|
|
|
}
|
2023-06-13 13:55:54 +00:00
|
|
|
|
2022-09-20 09:43:19 +00:00
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.account_os_account)) {
|
|
|
|
has_os_account_part = true
|
|
|
|
} else {
|
|
|
|
has_os_account_part = false
|
|
|
|
}
|
2023-11-03 10:12:05 +00:00
|
|
|
|
|
|
|
if (!defined(global_parts_info) ||
|
|
|
|
defined(global_parts_info.security_security_guard)) {
|
|
|
|
support_security_guard = true
|
|
|
|
} else {
|
|
|
|
support_security_guard = false
|
|
|
|
}
|