Hash :
09a81a68
Author :
Date :
2025-04-16T12:11:25
Roll third_party/libpng/src/ d2ece84bd..8cc222cd3 (277 commits) https://android.googlesource.com/platform/external/libpng/+log/d2ece84bd73a..8cc222cd3e79 $ git log d2ece84bd..8cc222cd3 --date=short --no-merges --format='%ad %ae %s' 2024-11-20 enh Make bpfmt happy. 2024-10-02 sadafebrahimi Edit OWNERS file 2024-09-12 ctruta Release libpng version 1.6.44 2024-09-12 ctruta chore: Rerun `./autogen.sh --maintainer` 2024-09-12 ctruta oss-fuzz: Update the README file, the Docker file and the build script 2024-09-11 jbowler fix: Prevent overflow in chromaticity calculations 2024-04-17 green cmake: Fix an error in the declaration of target include directories 2024-09-10 ctruta Revert "cmake: Fix an error in the declaration of target include directories" 2024-04-17 green cmake: Fix an error in the declaration of target include directories 2024-09-10 ctruta Deprecate PNGARG and remove all of its remaining uses 2024-07-02 mkhachaiants oss-fuzz: Add fuzzing targets for simplified READ API 2024-03-01 benni.buch build: Add a CMake config file compatible with the FindPNG module 2024-09-08 ctruta ci: Simplify the Travis CI configuration matrix 2024-09-08 ctruta chore: Delete contrib/tools/chkfmt.sh 2024-09-08 ctruta chore: Pacify editorconfig-checker version 3.0 2024-04-26 bungeman fix: Restore STDERR in pngtest.c 2024-09-03 jbowler fix: Remove cHRM check to accomodate ACES AP1 2024-09-05 ctruta ci: Add the targets/ subdirectory to facilitate cross-platform testing 2024-09-04 eriff cmake: Honor CMAKE_SYSROOT if set 2024-09-04 ctruta cmake: Fix the handling of PNG_HARDWARE_OPTIMIZATIONS on FreeBSD/amd64 2024-09-03 ctruta ci: Fix the verification of the msys2 toolchain on AppVeyor CI 2024-06-17 ctruta arm: Add a placeholder file in lieu of the former `filter_neon.S` 2023-12-14 ross.burton arm: Remove obsolete assembler implementation filter_neon.S 2024-05-30 jbowler SECURITY: disable build of filter_neon.S on arm 2024-03-11 kiyoungkim Remove VNDK definition(s) 2024-02-24 ctruta Bump version to 1.6.44.git 2024-02-23 ctruta Release libpng version 1.6.43 2024-02-23 ctruta ci: Add the libpng release tags to the list of exclusions 2024-02-23 ctruta test: Fix a compiler warning in pngtest.c 2024-02-22 ctruta chore: Delete comments and config settings and stuff from here and there 2024-02-22 ctruta doc: Review the libpng history and update scripts/cmake/AUTHORS.md 2024-02-22 ctruta doc: Update the README file 2024-02-22 ctruta pngexif: Import pngexifinfo as an externally-contributed project 2024-02-21 benni.buch build: Mark the installed libpng headers as system headers in CMake 2024-02-20 ctruta build: Checking for compiler support of LoongArch LSX should be guarded 2024-02-20 ctruta build: Add an explicit declaration of the AWK variable to configure.ac 2024-02-19 ctruta build: Improve the search for an AWK processor in the CMake build 2024-02-19 ctruta build: Update the CMake build options PNG_TOOLS and PNG_FRAMEWORK 2024-02-19 danoli3 build: Fix a CMake build regression introduced in version 1.6.41 2024-02-17 ctruta Fix "ci: Fix the reporting in ci_lint.sh" 2024-02-17 ctruta ci: Fix the reporting in ci_lint.sh 2024-02-17 ctruta ci: Allow the user to force an in-tree cleanup before verification 2024-02-15 ctruta chore: Clean up the spurious uses of `sizeof(png_byte)`; fix the manual 2024-02-15 ctruta chore: Update the .editorconfig files and pacify editorconfig-checker 2024-02-15 ctruta Add a GitHub Action for linting 2024-02-15 ctruta ci: Pacify shellcheck version 0.8 and apply other linting improvements 2024-02-12 ctruta ci: Fix the check of `PNG_LIBPNG_VER_BUILD` in ci_verify_version.sh 2024-02-11 ctruta ci: Remove the workaround for CI_AR from ci_verify_makefiles.sh 2024-02-11 ctruta build: Update the makefiles for the benefit of cross-compilation 2024-02-11 ctruta ci: Update (again) the ci_verify_*.sh scripts; update .shellcheckrc (...) 2020-12-14 owen cmake: Fix cross-compilation on macOS 2022-09-10 ctruta cmake: Rename the target "symbol-check" to "scripts_symbols_chk" 2021-12-04 glex.spb cmake: Correctly handle generated files 2022-09-05 ctruta configure: Initialize PNG_ARM_NEON_OPT and PNG_MIPS_MSA_OPT correctly 2022-09-05 ctruta Rerun "./autogen.sh --maintainer" 2022-09-05 ctruta Clean up configure.ac 2021-06-02 dnfield Remove obsolete/incorrect __LLVM,__asm section 2022-09-04 ctruta Update the configuration for Travis CI and AppVeyor CI 2022-09-04 ctruta ci: Update the CI scripts 2022-08-26 ctruta cmake: Set PNG_ARM_NEON to "on" by default on ARM64 2022-08-26 ctruta Update the copyright year 2021-12-06 mariaur Add updated cpe for vulnerability scanners 2021-03-15 ctruta Update the copyright year 2021-03-15 ctruta ci: Update the CI scripts 2020-12-15 benkasminbullock Eliminate spaces between function name and ( 2020-12-11 benkasminbullock Remove duplicate line 2020-12-11 benkasminbullock Fix typo in README 2020-12-11 benkasminbullock Remove second call to write_eXIf 2019-12-19 nju04zq Fix decode fail on image with invalid eXIf chunk 2020-07-28 klebertarcisio Add a check to pngimage.c 2021-03-12 ctruta contrib: Apply various fixes to libtests 2020-12-31 ctruta .gitignore: Add 2020-12-31 ctruta ci: Fix the Visual Studio verification on AppVeyor CI 2020-12-31 ctruta ci: Recognize more CI_ variables for better cross-platform verification 2018-03-19 crrodriguez libpng.pc.in: zlib dependency is private 2020-05-24 ctruta ci: Verify the install target 2020-05-24 ctruta cmake: Refactor the install target; reformat 2020-05-18 ctruta ci: Add a new top-level directory, dedicated for CI verification 2018-05-20 alex.gaynor cmake: Add an option to enable/disable building of executables 2020-05-17 ctruta mips: Remove "last changed" version information from source comment 2020-03-06 guxiwei-hf mips: Fix initialization: always close "/proc/cpuinfo" 2019-08-30 simon.hausmann Fix CMake build with Emscripten 2019-08-26 dnfield Add an __LLVM,__asm section for clang builds on ARM 2019-08-24 ssrobins cmake: Fix a build error on iOS 2019-08-02 zack Fix example.c 2019-07-30 willson.chenwx Fix a warning on Linux caused by _BSD_SOURCE 2019-07-29 pascal.massimino Fix memory leak if eXIf has incorrect crc 2019-07-04 callu.david cmake: Use the correct ZLIB_* variable names 2020-03-29 ctruta scripts: Clean up the makefiles 2020-03-29 ctruta scripts: Fix makefile.std and include it in the CI verification 2020-03-29 ctruta Update configuration for Travis CI; add configuration for AppVeyor CI 2020-03-29 ctruta scripts: Add general-purpose utilities for continuous integration 2020-02-02 ctruta Update the copyright year 2018-11-12 cthomp oss-fuzz: Add custom malloc with max limit to prevent OOM 2019-04-16 rvandermeulen arm: Use <arm_neon.h> when compiling aarch64 intrinsics with clang-cl 2019-04-22 ctruta arm: Move a png_debug statement to its correct place 2019-04-22 ctruta scripts: Delete makefile.clang-asan and makefile.gcc-asan 2019-04-22 ctruta Add support for Travis CI 2019-04-21 ctruta Avoid random test failures by running pngtest sequentially only 2019-04-14 ctruta Bump version to 1.6.38.git Created with: roll-dep third_party/libpng/src Bug: angleproject:42266949 Change-Id: I91c75da049550af1348a01a66a0c68c0848c79ff Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6460785 Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Auto-Submit: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
# Copyright 2017 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
config("libpng_config") {
include_dirs = [ "src" ]
cflags = []
if (is_clang) {
cflags += [ "-Wno-tautological-constant-out-of-range-compare" ]
}
}
static_library("libpng") {
sources = [
"src/png.c",
"src/pngerror.c",
"src/pngget.c",
"src/pngmem.c",
"src/pngpread.c",
"src/pngread.c",
"src/pngrio.c",
"src/pngrtran.c",
"src/pngrutil.c",
"src/pngset.c",
"src/pngtrans.c",
"src/pngwio.c",
"src/pngwrite.c",
"src/pngwtran.c",
"src/pngwutil.c",
]
# Note: currently pnglibconf.h defines this, but if it gets dropped in a
# future roll, needs to be added here for the other defines to work.
# defines = [ "PNG_SET_OPTION_SUPPORTED" ]
if (current_cpu == "x86" || current_cpu == "x64") {
sources += [
"src/intel/filter_sse2_intrinsics.c",
"src/intel/intel_init.c",
]
defines = [ "PNG_INTEL_SSE_OPT=1" ]
} else if (target_cpu == "arm" || target_cpu == "arm64") {
sources += [
"src/arm/arm_init.c",
"src/arm/filter_neon_intrinsics.c",
"src/arm/palette_neon_intrinsics.c",
]
defines = [
"PNG_ARM_NEON_OPT=2",
"PNG_ARM_NEON_IMPLEMENTATION=1",
]
}
if (is_win) {
cflags = [ "/wd4028" ]
}
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
public_configs = [ ":libpng_config" ]
deps = [ "//third_party/zlib:zlib" ]
}