代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_JSON-C 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 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",
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。