加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
huks.gni 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
CooperTang 提交于 2023-11-19 00:34 . 新增ECE CE目录
# 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
enable_hks_mock = false
enable_hks_coverage = false
enable_user_auth_framework = true
enable_huks_lite_hap = false
enable_bundle_framework = true
enable_interact_across_local_accounts = false
has_huks_hdi_driver = true
fuzz_module_out_path = "huks/huks"
# always set as false for upload code
hks_enable_test = false
# specify the key version
huks_key_version = "3"
if (!defined(global_parts_info) ||
defined(global_parts_info.account_os_account)) {
has_os_account_part = true
} else {
has_os_account_part = false
}
if (!defined(global_parts_info.useriam_user_auth_framework)) {
enable_user_auth_framework = false
}
if (!defined(global_parts_info.hdf_drivers_peripheral_huks)) {
has_huks_hdi_driver = false
}
if (os_level == "mini" && defined(global_parts_info.arkui_ace_engine_lite)) {
enable_huks_lite_hap = true
}
if (defined(global_parts_info) &&
!defined(global_parts_info.bundlemanager_bundle_framework)) {
enable_bundle_framework = false
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化