当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
4 Star 47 Fork 48

OpenHarmony/third_party_libuuid
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 756 Bytes
一键复制 编辑 原始数据 按行查看 历史
mamingshuai 提交于 2021-03-11 18:37 . update openharmony 1.0.1
# Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
import("//build/lite/config/component/lite_component.gni")
config("libuuid_config") {
include_dirs = [ "//third_party/libuuid/uuid" ]
}
libuuid_sources = [
"uuid/clear.c",
"uuid/compare.c",
"uuid/copy.c",
"uuid/gen_uuid.c",
"uuid/isnull.c",
"uuid/pack.c",
"uuid/parse.c",
"uuid/randutils.c",
"uuid/unpack.c",
"uuid/unparse.c",
"uuid/uuid_time.c",
]
static_library("libuuid_static") {
sources = libuuid_sources
output_name = "uuid"
public_configs = [ ":libuuid_config" ]
defines = [ "HAVE_CONFIG_H" ]
cflags_c = [
"-Os",
"-g",
"-ffunction-sections",
"-fdata-sections",
]
ldflags = [
"-Wl",
"--gc-sections",
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/third_party_libuuid.git
git@gitee.com:openharmony/third_party_libuuid.git
openharmony
third_party_libuuid
third_party_libuuid
master

搜索帮助