1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14use_crypto_lib = "openssl" 15non_rwlock_support = false 16enable_hks_mock = false 17enable_hks_coverage = false 18enable_user_auth_framework = true 19enable_huks_lite_hap = false 20enable_bundle_framework = true 21enable_interact_across_local_accounts = false 22fuzz_module_out_path = "huks/huks" 23 24# always set as false for upload code 25hks_enable_test = false 26 27# specify the key version 28huks_key_version = "3" 29 30if (!defined(global_parts_info) || 31 defined(global_parts_info.account_os_account)) { 32 has_os_account_part = true 33} else { 34 has_os_account_part = false 35} 36 37if (!defined(global_parts_info.useriam_user_auth_framework)) { 38 enable_user_auth_framework = false 39} 40 41if (os_level == "mini" && defined(global_parts_info.arkui_ace_engine_lite)) { 42 enable_huks_lite_hap = true 43} 44 45if (defined(global_parts_info) && 46 !defined(global_parts_info.bundlemanager_bundle_framework)) { 47 enable_bundle_framework = false 48} 49