2021-10-14 07:46:32 +00:00
|
|
|
# Copyright (c) 2021 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
|
2023-03-22 09:13:26 +00:00
|
|
|
enable_hks_mock = false
|
|
|
|
enable_hks_coverage = false
|
2023-03-28 07:14:55 +00:00
|
|
|
enable_user_auth_framework = true
|
2023-06-09 07:11:39 +00:00
|
|
|
enable_huks_lite_hap = false
|
2023-05-19 02:20:59 +00:00
|
|
|
enable_bundle_framework = true
|
2023-11-18 16:34:29 +00:00
|
|
|
enable_interact_across_local_accounts = false
|
2023-09-18 09:07:16 +00:00
|
|
|
fuzz_module_out_path = "huks/huks"
|
2023-02-07 01:39:40 +00:00
|
|
|
|
2023-03-22 09:13:26 +00:00
|
|
|
# always set as false for upload code
|
2023-03-28 11:41:58 +00:00
|
|
|
hks_enable_test = false
|
2022-04-11 07:56:29 +00:00
|
|
|
|
2023-01-30 07:02:20 +00:00
|
|
|
# specify the key version
|
2023-06-01 06:29:23 +00:00
|
|
|
huks_key_version = "3"
|
2023-01-30 07:02:20 +00:00
|
|
|
|
2022-04-11 07:56:29 +00:00
|
|
|
if (!defined(global_parts_info) ||
|
2022-05-05 07:00:29 +00:00
|
|
|
defined(global_parts_info.account_os_account)) {
|
2022-04-11 07:56:29 +00:00
|
|
|
has_os_account_part = true
|
|
|
|
} else {
|
|
|
|
has_os_account_part = false
|
|
|
|
}
|
2023-03-28 07:14:55 +00:00
|
|
|
|
|
|
|
if (!defined(global_parts_info.useriam_user_auth_framework)) {
|
|
|
|
enable_user_auth_framework = false
|
|
|
|
}
|
2023-06-10 06:38:57 +00:00
|
|
|
|
2023-06-09 07:11:39 +00:00
|
|
|
if (os_level == "mini" && defined(global_parts_info.arkui_ace_engine_lite)) {
|
|
|
|
enable_huks_lite_hap = true
|
|
|
|
}
|
2023-06-12 03:29:56 +00:00
|
|
|
|
2023-05-19 02:20:59 +00:00
|
|
|
if (defined(global_parts_info) &&
|
|
|
|
!defined(global_parts_info.bundlemanager_bundle_framework)) {
|
|
|
|
enable_bundle_framework = false
|
2023-05-29 11:59:48 +00:00
|
|
|
}
|