1 Star 0 Fork 33

cheng_jinsong / third_party_libexif

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 5.56 KB
一键复制 编辑 原始数据 按行查看 历史
openharmony_ci 提交于 2023-06-02 03:52 . !20 feat: 添加innerapi_tag
# Copyright (C) 2022 Huawei Device Co., Ltd.
if (defined(ohos_lite)) { # is on lite Os for ipcamera
import("//build/lite/config/component/lite_component.gni")
config("libexif_config") {
include_dirs = [
"//third_party/libexif",
"//third_party/libexif/libexif",
"//third_party/libexif/libexif/pentax",
"//third_party/libexif/libexif/olympus",
"//third_party/libexif/libexif/apple",
"//third_party/libexif/libexif/canon",
"//third_party/libexif/libexif/fuji",
"//third_party/libexif/libexif/apple",
"//third_party/libexif/contrib/watcom",
]
libexif_source = [
"//third_party/libexif/libexif/exif-byte-order.c",
"//third_party/libexif/libexif/exif-content.c",
"//third_party/libexif/libexif/exif-data.c",
"//third_party/libexif/libexif/exif-entry.c",
"//third_party/libexif/libexif/exif-format.c",
"//third_party/libexif/libexif/exif-gps-ifd.c",
"//third_party/libexif/libexif/exif-ifd.c",
"//third_party/libexif/libexif/exif-loader.c",
"//third_party/libexif/libexif/exif-log.c",
"//third_party/libexif/libexif/exif-mem.c",
"//third_party/libexif/libexif/exif-mnote-data.c",
"//third_party/libexif/libexif/exif-tag.c",
"//third_party/libexif/libexif/exif-utils.c",
"//third_party/libexif/libexif/pentax/exif-mnote-data-pentax.c",
"//third_party/libexif/libexif/pentax/mnote-pentax-entry.c",
"//third_party/libexif/libexif/pentax/mnote-pentax-tag.c",
"//third_party/libexif/libexif/olympus/exif-mnote-data-olympus.c",
"//third_party/libexif/libexif/olympus/mnote-olympus-entry.c",
"//third_party/libexif/libexif/olympus/mnote-olympus-tag.c",
"//third_party/libexif/libexif/fuji/exif-mnote-data-fuji.c",
"//third_party/libexif/libexif/fuji/mnote-fuji-entry.c",
"//third_party/libexif/libexif/fuji/mnote-fuji-tag.c",
"//third_party/libexif/libexif/apple/exif-mnote-data-apple.c",
"//third_party/libexif/libexif/apple/mnote-apple-entry.c",
"//third_party/libexif/libexif/apple/mnote-apple-tag.c",
"//third_party/libexif/libexif/canon/exif-mnote-data-canon.c",
"//third_party/libexif/libexif/canon/mnote-canon-entry.c",
"//third_party/libexif/libexif/canon/mnote-canon-tag.c",
"//third_party/libexif/libexif/apple/exif-mnote-data-apple.c",
"//third_party/libexif/libexif/apple/mnote-apple-entry.c",
"//third_party/libexif/libexif/apple/mnote-apple-tag.c",
]
cflags = [
"-DGETTEXT_PACKAGE=\"libexif-12\"",
"-DLOCALEDIR=\"//third_party/libexif/build/share/locale/locale\"",
]
}
lite_library("libexif") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
} else {
target_type = "shared_library"
}
sources = libexif_source
public_configs = [ ":libexif_config" ]
}
} else {
import("//build/ohos.gni")
config("build_private_config") {
cflags = [
"-DGETTEXT_PACKAGE=\"libexif-12\"",
"-DLOCALEDIR=\"//third_party/libexif/build/share/locale\"",
"-Werror",
"-Wno-format",
"-Wno-sign-compare",
"-Wno-unused-parameter",
"-DHAVE_CONFIG_H",
]
}
ohos_source_set("exif_static") {
sources = [
"//third_party/libexif/libexif/apple/exif-mnote-data-apple.c",
"//third_party/libexif/libexif/apple/mnote-apple-entry.c",
"//third_party/libexif/libexif/apple/mnote-apple-tag.c",
"//third_party/libexif/libexif/canon/exif-mnote-data-canon.c",
"//third_party/libexif/libexif/canon/mnote-canon-entry.c",
"//third_party/libexif/libexif/canon/mnote-canon-tag.c",
"//third_party/libexif/libexif/exif-byte-order.c",
"//third_party/libexif/libexif/exif-content.c",
"//third_party/libexif/libexif/exif-data.c",
"//third_party/libexif/libexif/exif-entry.c",
"//third_party/libexif/libexif/exif-format.c",
"//third_party/libexif/libexif/exif-gps-ifd.c",
"//third_party/libexif/libexif/exif-ifd.c",
"//third_party/libexif/libexif/exif-loader.c",
"//third_party/libexif/libexif/exif-log.c",
"//third_party/libexif/libexif/exif-mem.c",
"//third_party/libexif/libexif/exif-mnote-data.c",
"//third_party/libexif/libexif/exif-tag.c",
"//third_party/libexif/libexif/exif-utils.c",
"//third_party/libexif/libexif/fuji/exif-mnote-data-fuji.c",
"//third_party/libexif/libexif/fuji/mnote-fuji-entry.c",
"//third_party/libexif/libexif/fuji/mnote-fuji-tag.c",
"//third_party/libexif/libexif/olympus/exif-mnote-data-olympus.c",
"//third_party/libexif/libexif/olympus/mnote-olympus-entry.c",
"//third_party/libexif/libexif/olympus/mnote-olympus-tag.c",
"//third_party/libexif/libexif/pentax/exif-mnote-data-pentax.c",
"//third_party/libexif/libexif/pentax/mnote-pentax-entry.c",
"//third_party/libexif/libexif/pentax/mnote-pentax-tag.c",
]
include_dirs = [
"//third_party/libexif",
"//third_party/libexif/libexif",
"//third_party/libexif/libexif/pentax",
"//third_party/libexif/libexif/olympus",
"//third_party/libexif/libexif/apple",
"//third_party/libexif/libexif/canon",
"//third_party/libexif/libexif/fuji",
"//third_party/libexif/libexif/apple",
"//third_party/libexif/contrib/watcom",
]
configs = [ ":build_private_config" ]
}
ohos_shared_library("libexif") {
deps = [ ":exif_static" ]
install_images = [ system_base_dir ]
relative_install_dir = "platformsdk"
subsystem_name = "multimedia"
innerapi_tags = [ "chipsetsdk" ]
part_name = "multimedia_image_framework"
}
}
1
https://gitee.com/chneg-jinsong/third_party_libexif.git
git@gitee.com:chneg-jinsong/third_party_libexif.git
chneg-jinsong
third_party_libexif
third_party_libexif
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891