加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
BUILD.gn 1.58 KB
一键复制 编辑 原始数据 按行查看 历史
Janisa 提交于 2020-08-20 19:18 . 1.初始导入工程
#
# Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
#
# OpenArkCompiler is licensed under the Mulan PSL v1.
# You can use this software according to the terms and conditions of the Mulan PSL v1.
# You may obtain a copy of Mulan PSL v1 at:
#
# http://license.coscl.org.cn/MulanPSL
#
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR
# FIT FOR A PARTICULAR PURPOSE.
# See the Mulan PSL v1 for more details.
#
src_libHWSecureC = [
"src/vsprintf_s.c",
"src/wmemmove_s.c",
"src/strncat_s.c",
"src/vsnprintf_s.c",
"src/fwscanf_s.c",
"src/scanf_s.c",
"src/strcat_s.c",
"src/sscanf_s.c",
"src/secureprintoutput_w.c",
"src/wmemcpy_s.c",
"src/wcsncat_s.c",
"src/secureprintoutput_a.c",
"src/secureinput_w.c",
"src/memcpy_s.c",
"src/fscanf_s.c",
"src/vswscanf_s.c",
"src/secureinput_a.c",
"src/sprintf_s.c",
"src/memmove_s.c",
"src/swscanf_s.c",
"src/snprintf_s.c",
"src/vscanf_s.c",
"src/vswprintf_s.c",
"src/wcscpy_s.c",
"src/vfwscanf_s.c",
"src/memset_s.c",
"src/wscanf_s.c",
"src/vwscanf_s.c",
"src/strtok_s.c",
"src/wcsncpy_s.c",
"src/vfscanf_s.c",
"src/vsscanf_s.c",
"src/wcstok_s.c",
"src/securecutil.c",
"src/gets_s.c",
"src/swprintf_s.c",
"src/strcpy_s.c",
"src/wcscat_s.c",
"src/strncpy_s.c",
]
include_common = [
"include",
"src",
]
static_library("libHWSecureC") {
sources = src_libHWSecureC
include_dirs = include_common
output_dir = "${root_out_dir}/lib/${HOST_ARCH}"
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化