1 Star 0 Fork 200

dengkx/security_device_auth

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deviceauth_env.gni 1.69 KB
一键复制 编辑 原始数据 按行查看 历史
何寅燊 提交于 2024-09-20 12:09 . modify v2 source file compile
# Copyright (C) 2021-2022 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.
deviceauth_path = "//base/security/device_auth"
common_lib_path = "${deviceauth_path}/common_lib"
deps_adapter_path = "${deviceauth_path}/deps_adapter"
key_management_adapter_path =
"${deviceauth_path}/deps_adapter/key_management_adapter"
os_adapter_path = "${deviceauth_path}/deps_adapter/os_adapter"
inner_api_path = "${deviceauth_path}/interfaces/inner_api"
frameworks_path = "${deviceauth_path}/frameworks"
services_path = "${deviceauth_path}/services"
declare_args() {
deviceauth_feature_config = "//base/security/device_auth/default_config"
device_auth_enable_soft_bus_channel = true
}
build_flags = [
"-O2",
"-ftrapv",
"-Wall",
"-Werror",
"-Wextra",
"-Wshadow",
"-fstack-protector-all",
"-FPIC",
"-FS",
"-D_FORTITY_SOURCE=2",
"-Wformat=2",
"-Wfloat-equal",
"-Wdate-time",
]
if (defined(ohos_lite)) {
if (ohos_kernel_type == "liteos_m") {
import("${deviceauth_feature_config}/mini/config.gni")
device_auth_enable_soft_bus_channel = false
} else {
import("${deviceauth_feature_config}/small/config.gni")
}
} else {
import("${deviceauth_feature_config}/standard/config.gni")
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ksllh/security_device_auth.git
git@gitee.com:ksllh/security_device_auth.git
ksllh
security_device_auth
security_device_auth
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385