代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_giflib 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) Huawei Technologies Co., Ltd. 2019-2019. All rights reserved.
if (defined(ohos_lite)) { # is on lite Os for ipcamera
import("//build/lite/config/component/lite_component.gni")
config("libgif_config") {
include_dirs = [ "//third_party/giflib" ]
}
libgif_source = [
"//third_party/giflib/dgif_lib.c",
"//third_party/giflib/egif_lib.c",
"//third_party/giflib/gifalloc.c",
"//third_party/giflib/gif_err.c",
"//third_party/giflib/gif_font.c",
"//third_party/giflib/gif_hash.c",
"//third_party/giflib/openbsd-reallocarray.c",
]
lite_library("libgif") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
if (defined(board_toolchain_type) && board_toolchain_type == "iccarm") {
cflags = [
"--diag_suppress",
"Pa084",
]
}
} else {
target_type = "shared_library"
}
sources = libgif_source
public_configs = [ ":libgif_config" ]
}
} else {
import("//build/ohos.gni")
config("build_private_config") {
cflags = [
"-Werror",
"-Wno-format",
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-DHAVE_CONFIG_H",
]
}
ohos_source_set("gif_static") {
sources = [
"//third_party/giflib/dgif_lib.c",
"//third_party/giflib/egif_lib.c",
"//third_party/giflib/gif_err.c",
"//third_party/giflib/gif_font.c",
"//third_party/giflib/gif_hash.c",
"//third_party/giflib/gifalloc.c",
"//third_party/giflib/openbsd-reallocarray.c",
"//third_party/giflib/quantize.c",
]
include_dirs = [ "//third_party/giflib" ]
configs = [ ":build_private_config" ]
}
ohos_shared_library("libgif") {
deps = [ ":gif_static" ]
subsystem_name = "thirdparty"
part_name = "giflib"
output_name = "libgif"
install_enable = true
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。