14e56987cSopenharmony_ci# Copyright (c) 2022 Huawei Device Co., Ltd.
24e56987cSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
34e56987cSopenharmony_ci# you may not use this file except in compliance with the License.
44e56987cSopenharmony_ci# You may obtain a copy of the License at
54e56987cSopenharmony_ci#
64e56987cSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
74e56987cSopenharmony_ci#
84e56987cSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
94e56987cSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
104e56987cSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
114e56987cSopenharmony_ci# See the License for the specific language governing permissions and
124e56987cSopenharmony_ci# limitations under the License.
134e56987cSopenharmony_ci
144e56987cSopenharmony_ciuse_crypto_lib = "openssl"
154e56987cSopenharmony_cinon_rwlock_support = false
164e56987cSopenharmony_ci
174e56987cSopenharmony_cideclare_args() {
184e56987cSopenharmony_ci  # depend on the definition of huks security level in base/security/huks/build/config.gni
194e56987cSopenharmony_ci  certificate_manager_deps_huks_enabled = "software"
204e56987cSopenharmony_ci}
214e56987cSopenharmony_ci
224e56987cSopenharmony_ciif (!defined(global_parts_info) ||
234e56987cSopenharmony_ci    defined(global_parts_info.account_os_account)) {
244e56987cSopenharmony_ci  has_os_account_part = true
254e56987cSopenharmony_ci} else {
264e56987cSopenharmony_ci  has_os_account_part = false
274e56987cSopenharmony_ci}
284e56987cSopenharmony_ci
294e56987cSopenharmony_ciif (!defined(global_parts_info) ||
304e56987cSopenharmony_ci    defined(global_parts_info.security_security_guard)) {
314e56987cSopenharmony_ci  support_security_guard = true
324e56987cSopenharmony_ci} else {
334e56987cSopenharmony_ci  support_security_guard = false
344e56987cSopenharmony_ci}
35