security_certificate_manager/cert_manager.gni
上官景威 d4430d7ca9 SASDK整改
Signed-off-by: 上官景威 <shangguanjingwei@huawei.com>
2024-11-14 18:15:27 +08:00

36 lines
1.2 KiB
Plaintext

# 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
cert_manager_root_dir = "//base/security/certificate_manager"
declare_args() {
# depend on the definition of huks security level in base/security/huks/build/config.gni
certificate_manager_deps_huks_enabled = "software"
}
if (!defined(global_parts_info) ||
defined(global_parts_info.account_os_account)) {
has_os_account_part = true
} else {
has_os_account_part = false
}
if (!defined(global_parts_info) ||
defined(global_parts_info.security_security_guard)) {
support_security_guard = true
} else {
support_security_guard = false
}