1 Star 0 Fork 66

angl/third_party_libjpeg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.gn 2.68 KB
一键复制 编辑 原始数据 按行查看 历史
# Copyright (c) Huawei Technologies Co., Ltd. 2020. All rights reserved.
if (defined(ohos_lite)) {
import("//build/lite/config/component/lite_component.gni")
} else {
import("//build/ohos.gni")
}
config("libjpeg_config") {
include_dirs = [ "//third_party/libjpeg" ]
}
libjpeg_source = [
"//third_party/libjpeg/cdjpeg.c",
"//third_party/libjpeg/jaricom.c",
"//third_party/libjpeg/jcapimin.c",
"//third_party/libjpeg/jcapistd.c",
"//third_party/libjpeg/jcarith.c",
"//third_party/libjpeg/jccoefct.c",
"//third_party/libjpeg/jccolor.c",
"//third_party/libjpeg/jcdctmgr.c",
"//third_party/libjpeg/jchuff.c",
"//third_party/libjpeg/jcinit.c",
"//third_party/libjpeg/jcmainct.c",
"//third_party/libjpeg/jcmarker.c",
"//third_party/libjpeg/jcmaster.c",
"//third_party/libjpeg/jcomapi.c",
"//third_party/libjpeg/jcparam.c",
"//third_party/libjpeg/jcprepct.c",
"//third_party/libjpeg/jcsample.c",
"//third_party/libjpeg/jctrans.c",
"//third_party/libjpeg/jdapimin.c",
"//third_party/libjpeg/jdapistd.c",
"//third_party/libjpeg/jdarith.c",
"//third_party/libjpeg/jdatadst.c",
"//third_party/libjpeg/jdatasrc.c",
"//third_party/libjpeg/jdcoefct.c",
"//third_party/libjpeg/jdcolor.c",
"//third_party/libjpeg/jddctmgr.c",
"//third_party/libjpeg/jdhuff.c",
"//third_party/libjpeg/jdinput.c",
"//third_party/libjpeg/jdmainct.c",
"//third_party/libjpeg/jdmarker.c",
"//third_party/libjpeg/jdmaster.c",
"//third_party/libjpeg/jdmerge.c",
"//third_party/libjpeg/jdpostct.c",
"//third_party/libjpeg/jdsample.c",
"//third_party/libjpeg/jdtrans.c",
"//third_party/libjpeg/jerror.c",
"//third_party/libjpeg/jfdctflt.c",
"//third_party/libjpeg/jfdctfst.c",
"//third_party/libjpeg/jfdctint.c",
"//third_party/libjpeg/jidctflt.c",
"//third_party/libjpeg/jidctfst.c",
"//third_party/libjpeg/jidctint.c",
"//third_party/libjpeg/jmemmgr.c",
"//third_party/libjpeg/jmemnobs.c",
"//third_party/libjpeg/jquant1.c",
"//third_party/libjpeg/jquant2.c",
"//third_party/libjpeg/jutils.c",
"//third_party/libjpeg/rdbmp.c",
"//third_party/libjpeg/rdcolmap.c",
"//third_party/libjpeg/rdgif.c",
"//third_party/libjpeg/rdppm.c",
"//third_party/libjpeg/rdrle.c",
"//third_party/libjpeg/rdswitch.c",
"//third_party/libjpeg/rdtarga.c",
"//third_party/libjpeg/transupp.c",
]
if (defined(ohos_lite)) {
lite_library("libjpeg") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
} else {
target_type = "shared_library"
}
sources = libjpeg_source
public_configs = [ ":libjpeg_config" ]
}
} else {
ohos_static_library("libjpeg_static") {
sources = libjpeg_source
public_configs = [ ":libjpeg_config" ]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anguanglin/third_party_libjpeg.git
git@gitee.com:anguanglin/third_party_libjpeg.git
anguanglin
third_party_libjpeg
third_party_libjpeg
master

搜索帮助