代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/third_party_libexif 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# 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",
"//third_party/libexif/libexif/huawei",
]
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",
"//third_party/libexif/libexif/huawei/exif-mnote-data-huawei.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-data-type.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-entry.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-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",
]
}
config("build_public_config") {
include_dirs = [ "//third_party/libexif" ]
}
ohos_source_set("exif_static") {
branch_protector_ret = "pac_ret"
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/huawei/exif-mnote-data-huawei.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-data-type.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-entry.c",
"//third_party/libexif/libexif/huawei/mnote-huawei-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",
"//third_party/libexif/libexif/huawei",
]
configs = [ ":build_private_config" ]
}
ohos_shared_library("libexif") {
branch_protector_ret = "pac_ret"
deps = [ ":exif_static" ]
public_configs = [ ":build_public_config" ]
install_images = [ system_base_dir ]
subsystem_name = "thirdparty"
innerapi_tags = [ "chipsetsdk" ]
part_name = "libexif"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。