1526fd984Sopenharmony_ci# Copyright (c) 2021 Huawei Device Co., Ltd. 2526fd984Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3526fd984Sopenharmony_ci# you may not use this file except in compliance with the License. 4526fd984Sopenharmony_ci# You may obtain a copy of the License at 5526fd984Sopenharmony_ci# 6526fd984Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7526fd984Sopenharmony_ci# 8526fd984Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9526fd984Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10526fd984Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11526fd984Sopenharmony_ci# See the License for the specific language governing permissions and 12526fd984Sopenharmony_ci# limitations under the License. 13526fd984Sopenharmony_ci 14526fd984Sopenharmony_ciuse_crypto_lib = "openssl" 15526fd984Sopenharmony_cinon_rwlock_support = false 16526fd984Sopenharmony_cienable_hks_mock = false 17526fd984Sopenharmony_cienable_hks_coverage = false 18526fd984Sopenharmony_cienable_user_auth_framework = true 19526fd984Sopenharmony_cienable_huks_lite_hap = false 20526fd984Sopenharmony_cienable_bundle_framework = true 21526fd984Sopenharmony_cienable_interact_across_local_accounts = false 22526fd984Sopenharmony_cifuzz_module_out_path = "huks/huks" 23526fd984Sopenharmony_ci 24526fd984Sopenharmony_ci# always set as false for upload code 25526fd984Sopenharmony_cihks_enable_test = false 26526fd984Sopenharmony_ci 27526fd984Sopenharmony_ci# specify the key version 28526fd984Sopenharmony_cihuks_key_version = "3" 29526fd984Sopenharmony_ci 30526fd984Sopenharmony_ciif (!defined(global_parts_info) || 31526fd984Sopenharmony_ci defined(global_parts_info.account_os_account)) { 32526fd984Sopenharmony_ci has_os_account_part = true 33526fd984Sopenharmony_ci} else { 34526fd984Sopenharmony_ci has_os_account_part = false 35526fd984Sopenharmony_ci} 36526fd984Sopenharmony_ci 37526fd984Sopenharmony_ciif (!defined(global_parts_info.useriam_user_auth_framework)) { 38526fd984Sopenharmony_ci enable_user_auth_framework = false 39526fd984Sopenharmony_ci} 40526fd984Sopenharmony_ci 41526fd984Sopenharmony_ciif (os_level == "mini" && defined(global_parts_info.arkui_ace_engine_lite)) { 42526fd984Sopenharmony_ci enable_huks_lite_hap = true 43526fd984Sopenharmony_ci} 44526fd984Sopenharmony_ci 45526fd984Sopenharmony_ciif (defined(global_parts_info) && 46526fd984Sopenharmony_ci !defined(global_parts_info.bundlemanager_bundle_framework)) { 47526fd984Sopenharmony_ci enable_bundle_framework = false 48526fd984Sopenharmony_ci} 49