提交 072a1516 编写于 作者: B b00569143 提交者: public tcshversion

TicketNo:DTS2020063013135

Description:remove png build moudle
Team:OTHERS
Feature or Bugfix:Feature
Binary Source:No
PrivateCode(Yes/No):No

Change-Id: I0d678c47cda8ecd02b44e19e8de9642c8c36e9bf
Reviewed-on: http://mgit-tm.rnd.huawei.com/9511980Reviewed-by: Npangchen 00370475 <pangchen2@huawei.com>
Reviewed-by: Nhoupengfei 00476159 <pengfei.hou@huawei.com>
Tested-by: Npublic jenkins <public_jenkins@notesmail.huawei.com>
上级 20349189
# Copyright (c) Huawei Technologies Co., Ltd. 2019-2019. All rights reserved.
import("//build/harmonyos.gni")
harmonyos_source_set("png_static") {
sources = [
"//third_party/libpng/png.c",
"//third_party/libpng/pngerror.c",
"//third_party/libpng/pngget.c",
"//third_party/libpng/pngmem.c",
"//third_party/libpng/pngpread.c",
"//third_party/libpng/pngread.c",
"//third_party/libpng/pngrio.c",
"//third_party/libpng/pngrtran.c",
"//third_party/libpng/pngrutil.c",
"//third_party/libpng/pngset.c",
"//third_party/libpng/pngtrans.c",
"//third_party/libpng/pngwio.c",
"//third_party/libpng/pngwrite.c",
"//third_party/libpng/pngwtran.c",
"//third_party/libpng/pngwutil.c",
"//third_party/libpng/arm/arm_init.c",
"//third_party/libpng/arm/filter_neon.S",
"//third_party/libpng/arm/filter_neon_intrinsics.c",
"//third_party/libpng/arm/palette_neon_intrinsics.c",
]
include_dirs = [
"//third_party/libpng",
"//third_party/zlib",
"//third_party/libpng/contrib/gregbook",
"//third_party/libpng/contrib/pngminim/decoder",
"//third_party/libpng/contrib/pngminim/encoder",
"//third_party/libpng/contrib/pngminim/preader",
"//third_party/libpng/contrib/tools",
"//third_party/libpng/contrib/visupng",
"//third_party/libpng/contrib/libtests",
]
cflags = [
"-DPNG_NO_USE_READ_MACROS",
"-DPNGLIB_LIBNAME=\"PNG16_0\"",
"-DPNGLIB_VERSION=\"1.6.37\"",
]
deps = [
"//third_party/zlib:libz"
]
}
harmonyos_shared_library("libpng") {
deps = [
":png_static",
]
subsystem_name = "common"
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册