1 Star 0 Fork 47

ajunlonglive/third_party_JSON-C

forked from OpenHarmony/third_party_JSON-C
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
mamingshuai 提交于 2021-03-11 20:34 . 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("json_c_config") {
include_dirs = [ "//third_party/JSON-C/json-c" ]
}
json_c_sources = [
"json-c/arraylist.c",
"json-c/debug.c",
"json-c/json_c_version.c",
"json-c/json_object.c",
"json-c/json_object_iterator.c",
"json-c/json_pointer.c",
"json-c/json_tokener.c",
"json-c/json_util.c",
"json-c/json_visit.c",
"json-c/linkhash.c",
"json-c/printbuf.c",
"json-c/random_seed.c",
"json-c/strerror_override.c",
]
static_library("json-c_static") {
sources = json_c_sources
output_name = "json-c"
public_configs = [ ":json_c_config" ]
defines = [
"HAVE_CONFIG_H",
"_GNU_SOURCE",
"_REENTRANT",
]
cflags_c = [
"-Wall",
"-Os",
"-g",
"-Wcast-qual",
"-Wextra",
"-Wno-unused-parameter",
"-Wno-error=deprecated-declarations",
"-ffunction-sections",
"-fdata-sections",
]
ldflags = [
"-Wl",
"--gc-sections",
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ajunlonglive/third_party_JSON-C.git
git@gitee.com:ajunlonglive/third_party_JSON-C.git
ajunlonglive
third_party_JSON-C
third_party_JSON-C
master

搜索帮助