• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
23huks_base_path = "//base/security/huks/"
24
25# always set as false for upload code
26hks_enable_test = false
27
28# specify the key version
29huks_key_version = "3"
30
31if (!defined(global_parts_info) ||
32    defined(global_parts_info.account_os_account)) {
33  has_os_account_part = true
34} else {
35  has_os_account_part = false
36}
37
38if (!defined(global_parts_info.useriam_user_auth_framework)) {
39  enable_user_auth_framework = false
40}
41
42if (os_level == "mini" && defined(global_parts_info.arkui_ace_engine_lite)) {
43  enable_huks_lite_hap = true
44}
45
46if (defined(global_parts_info) &&
47    !defined(global_parts_info.bundlemanager_bundle_framework)) {
48  enable_bundle_framework = false
49}
50