aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-19Merge "Snap for 11598262 from 6cc454b6e9367825dfc9d3f230a6bb5337b1cb3b to ↵sdk-releaseAndroid Build Coastguard Worker
sdk-release" into sdk-release
2024-03-19Snap for 11598262 from 6cc454b6e9367825dfc9d3f230a6bb5337b1cb3b to sdk-releaseAndroid Build Coastguard Worker
Change-Id: Ie094ea45f2228c59493d1128daa91ee8a9364ce4
2024-03-18Merge "Remove VNDK definition(s)" into mainHEADmastermainTreehugger Robot
2024-03-11Remove VNDK definition(s)Kiyoung Kim
As of VNDK deprecation, any libraries that defines vndk is no longer valid anymore. This change removes all VNDK definition(s) from modules which was VNDK. Bug: 328994089 Test: AOSP CF build succeeded Change-Id: Ia50c5018dc1102a6ca873887e74e2528e3d01a4a
2024-03-07Merge "Snap for 11541002 from ee596a2880eb3959f237188afdf677bde5e14893 to ↵platform-tools-35.0.1Android Build Coastguard Worker
sdk-release" into sdk-release
2024-03-07Snap for 11541002 from ee596a2880eb3959f237188afdf677bde5e14893 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: Ic9bea5e5b43f25f41d3e2116b37e900dee3c34e6
2023-12-13Merge "Snap for 11211409 from 9d233ce04aa1b29163de818736fa27a5c2431114 to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2023-12-13Snap for 11211409 from 9d233ce04aa1b29163de818736fa27a5c2431114 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I33d3e5ef917d77f7eaf17c3bff07a0544e30e0be
2023-10-10Merge "Snap for 10929834 from 15b4d3ddb9d500204c18743debebed3600c7d1cd to ↵Android Build Coastguard Worker
sdk-release" into sdk-release
2023-10-10Snap for 10929834 from 15b4d3ddb9d500204c18743debebed3600c7d1cd to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I57808d072e3c3b9b3e5805daeb90186e86477260
2023-07-15[automerger skipped] Empty Merge Android U (ab/10368041) am: 15b4d3ddb9 -s ↵android-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-releaseXin Li
ours am: 70b8f1abad -s ours am: d676f0f607 -s ours am: 9d233ce04a -s ours am skip reason: Merged-In I78ad12417bd62fb4f64085149b28c515abd59172 with SHA-1 dfb0b6e960 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/24087865 Change-Id: Id21e83ce10ffeae344d84034c160c0d71f91cf14 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-15[automerger skipped] Empty Merge Android U (ab/10368041) am: 15b4d3ddb9 -s ↵Xin Li
ours am: 70b8f1abad -s ours am: d676f0f607 -s ours am skip reason: Merged-In I78ad12417bd62fb4f64085149b28c515abd59172 with SHA-1 dfb0b6e960 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/24087865 Change-Id: I35e161775cc4c30c879bf6568aca54802c089eb5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-15[automerger skipped] Empty Merge Android U (ab/10368041) am: 15b4d3ddb9 -s ↵Xin Li
ours am: 70b8f1abad -s ours am skip reason: Merged-In I78ad12417bd62fb4f64085149b28c515abd59172 with SHA-1 dfb0b6e960 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/24087865 Change-Id: I4e0433e198a6aca7f8368cfaa945a82ce04c7f84 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-15[automerger skipped] Empty Merge Android U (ab/10368041) am: 15b4d3ddb9 -s oursXin Li
am skip reason: Merged-In I78ad12417bd62fb4f64085149b28c515abd59172 with SHA-1 dfb0b6e960 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libpng/+/24087865 Change-Id: I370da8227350c70363a2ee678d52deee0b2c7bf5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-14Empty Merge Android U (ab/10368041)Xin Li
Bug: 291102124 Merged-In: I78ad12417bd62fb4f64085149b28c515abd59172 Change-Id: Ic882cfa960110ebeeb7478952ae010fa5a695fb0
2023-06-28Merge "Snap for 10399941 from 27bd9cf3d0653c64c982150282197e339cb63b04 to ↵platform-tools-34.0.5platform-tools-34.0.4Android Build Coastguard Worker
sdk-release" into sdk-release
2023-06-28Snap for 10399941 from 27bd9cf3d0653c64c982150282197e339cb63b04 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: Iaac14fc86c4fcc0dbc0fb4ec3738082777855530
2023-06-23Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0 am: 6f2b0d3a5f am: ↵Elliott Hughes
edfff8897e am: b936c177bb am: af839e6640 am: 7442ebec21 Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: I9a64f396b21cdad02406c0e3c129001113bda8fa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0 am: 6f2b0d3a5f am: ↵Elliott Hughes
edfff8897e am: b936c177bb am: af839e6640 Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: I0f19b4ac51bb646a1a1d52f3ddd3851e51f93b99 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-23Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0 am: 6f2b0d3a5f am: ↵Elliott Hughes
edfff8897e am: b936c177bb Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: I07777ef3553a1014f75f4be9e93b634721117092 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0 am: 6f2b0d3a5f am: edfff8897eElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: I74118902eb9279d75d27bbac6c78f595b95ab3af Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0 am: 6f2b0d3a5fElliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: Ib8ebf64c5b03f8175fdcac5177a48b19423f093a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22Merge "Upgrade libpng to v1.6.40" am: 27bd9cf3d0Elliott Hughes
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2636112 Change-Id: I6e3f06caa2b136ef06deedc85a54f3839f9cf155 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-22Merge "Upgrade libpng to v1.6.40"Elliott Hughes
2023-06-22Upgrade libpng to v1.6.40Elliott Hughes
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update libpng For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: I742b3f5e3214503c610ab42913f472961ece8125
2023-06-21Release libpng version 1.6.40Cosmin Truta
2023-06-21Fix a build regression on SolarisCosmin Truta
Fix a regression introduced in commit aeb26da4cb64c0e75c8d. On an Illumos test machine, running the GCC compiler and the Solaris link editor, the CMake build failed with the following error: ld: fatal: unrecognized option '--version-script=/.../libpng.vers' The fix consists in avoiding the use of CMAKE_SHARED_LIBRARY_C_FLAGS in version script checks on Solaris. Also clean up the surrounding code, as follows: * Rename CMAKE_REQUIRED_FLAGS_SAVE to _SAVED_CMAKE_REQUIRED_FLAGS. (The name of an internal variable should not begin with "CMAKE_".) * Reformat the version script to optimize the vertical space.
2023-06-21Ensure that only one eXIf chunk is written in the entire datastreamCosmin Truta
EXIF data can be stored in an eXIf chunk before IDAT, or after IDAT, but the entire PNG datastream may contain one eXIf chunk at most. Introduce the private mode flag PNG_WROTE_eXIf, which is meant to be used like the PNG_WROTE_tIME flag. The eXIf chunk and the tIME chunk have the same ordering rules (i.e. no constraints are imposed), and the same multiplicity rules (i.e. no multiples are allowed), and they should be initialized and checked using the same algorithm. This fixes commit cd03aaf7bf0e0c748b8c6cb34a56b402b40d61d0, previously reverted in 3d57708c9166419b7f5e0bbda2f7a2149112c844. Reported-by: Ben Bullock <benkasminbullock@gmail.com>
2023-06-20Don't report a valid tRNS chunk if it was canceledWan-Teh Chang
Add special handling of the PNG_INFO_tRNS flag to png_get_valid() to not report a canceled tRNS chunk as valid. Fix https://github.com/glennrp/libpng/issues/482 Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-06-20Avoid a memory leak when allocation of a pCAL buffer failsCosmin Truta
Set the PNG_FREE_PCAL flag immediately after the allocation of the first pCAL buffer, so that, if any one of the subsequent allocations fail, all pCAL buffers still get deallocated by png_free_data. Also reorder the initialization of other PNG_FREE_ flags (without altering the semantics) to improve the overall consistency inside the pngset.c module. Co-authored-by: Philippe Antoine <contact@catenacyber.fr> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-04-20Merge "Snap for 9979206 from c05ebac4402364fe0f5dd8472b087d4021313316 to ↵platform-tools-34.0.3Android Build Coastguard Worker
sdk-release" into sdk-release
2023-04-20Snap for 9979206 from c05ebac4402364fe0f5dd8472b087d4021313316 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I73681a46a3f0322de0eab14ebf1122a142286440
2023-03-02Merge "Snap for 9679998 from cb9e209cabb804a07d0b8661306c11656775af57 to ↵platform-tools-34.0.1Android Build Coastguard Worker
sdk-release" into sdk-release
2023-03-02Snap for 9679998 from cb9e209cabb804a07d0b8661306c11656775af57 to sdk-releaseAndroid Build Coastguard Worker
Change-Id: Ie63df882d040bac1f825bbb26a195009a90c25a7
2023-02-16Fix a doc typo in pnglibconf.dfaJesús González
Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-02-16Merge "Upgrade libpng to v1.6.39" am: cb9e209cab am: c05ebac440 am: 725d7d60eeandroid-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16aml_hef_341613000aml_hef_341512030aml_hef_341415040aml_hef_341311010aml_hef_341114030android14-qpr1-s2-releaseandroid14-qpr1-releaseandroid14-mainline-healthfitness-releaseandroid14-devandroid14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-releaseSadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2435872 Change-Id: I78ad12417bd62fb4f64085149b28c515abd59172 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15Merge "Upgrade libpng to v1.6.39" am: cb9e209cab am: c05ebac440Sadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2435872 Change-Id: I1f08558da6b79ca77bcc65ab0552010aec33166f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15Merge "Upgrade libpng to v1.6.39" am: cb9e209cabandroid-u-beta-1-gplSadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/libpng/+/2435872 Change-Id: I55f6baed19a6ba4cbb67fbd493e1615e9570cef9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-15Merge "Upgrade libpng to v1.6.39"Sadaf Ebrahimi
2023-02-14Upgrade libpng to v1.6.39Sadaf Ebrahimi
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update libpng For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: Iaf1e90d0dd15d9fb9e30c34eab3809a9991a997f
2023-02-12cmake: Allow overwriting the debug postfix of library filenamesCosmin Truta
Users may opt to change the debug suffix, e.g., from "d" to "_debug". Rather than making CMAKE_DEBUG_POSTFIX a cache variable (which is an antipattern in CMake), we introduce a new cache variable, named PNG_DEBUG_POSTFIX. Suggested-by: Diego Barrios Romero <eldruin@gmail.com>
2023-02-12cmake: Redo the fix for Clang support on WindowsCosmin Truta
Redo commit 70fda1837d5de802ce5f7e04be239192b6a74d92, with a redesign. Define the variables PNG_SHARED_OUTPUT_NAME and PNG_STATIC_OUTPUT_NAME for the benefit of the OUTPUT_NAME target properties of, respectively, the shared libpng build and the static libpng build. Fix and improve not only Clang, but also other Windows toolchains, such as Embarcadero. Rename the variable PNGLIB_SHARED_SOVERSION to PNG_ABI_VERSION. The applicability of this variable, which is much wider than the old name used to suggest, includes the definitions of PNG_*_OUTPUT_NAME. Delete the confusingly-named variables PNGLIB_NAME and PNG_LIB_NAME, and rename PNG_LIB_TARGETS to PNG_LIBRARY_TARGETS. Set the macros _CRT_SECURE_NO_DEPRECATE and _CRT_NONSTDC_NO_DEPRECATE, for all compilers that use MSVC run-time library headers. Currently, these compilers are MSVC and Clang/Windows. Add or improve the comments that accompany user-serviceable variables and options. Co-authored-by: B. Scott Michel <scooter.phd@gmail.com> Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-02-08Clean up CMakeLists.txtCosmin Truta
* Rename the target `png` to `png_shared`. The main targets are now named `png_shared`, `png_static` and `png_framework`. * Rename the function symbol_prefix() to find_symbol_prefix(). * Rename the prefix `S` to `_SYM` in the function create_symlink(). * Rewrite the precondition checks in the function create_symlink(). * Add precondition checks to the function generate_copy(). * Delete the vestigial property CLEAN_DIRECT_OUTPUT. * Delete the variables PNG_LIB_NAME_STATIC and PNG_LIB_NAME_FRAMEWORK. * Initialize and use PNG_LIB_TARGETS consistently as a list. * Move all include() commands to the top of the file. * Acknowledge a former contributor. * Reformat.
2023-02-08cmake: Rename the custom targets to have the png_ prefixJeremy Maitin-Shepard
This avoids taget namespace pollution when including libpng as a sub-project. Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-02-07Revert "cmake: Fix the Clang support on Windows"Cosmin Truta
This reverts commit 70fda1837d5de802ce5f7e04be239192b6a74d92. Fixing Clang on Windows is important. However, in the previous fix, the name of the compiled libpng library file was changed, incorrectly, on all platforms except Windows. A proper fix will follow up.
2023-02-05ci: Update the CI scriptsCosmin Truta
Apply the following changes: * Update CI_BUILDDIR and CI_INSTALLDIR to reflect the new script names. * Introduce CI_SRCDIR_FROM_BUILDDIR and CI_INSTALLDIR_FROM_BUILDDIR to the cmake build, to ensure that the Windows tools can handle native Windows paths correctly when executed via Bash-on-Windows. * Stop guessing and using CI_SRCDIR_NATIVE and CI_INSTALLDIR_NATIVE in the cmake build, since we now have a better solution. * Show the ninja program version in ninja-based cmake builds. * Move the cleanup of previous builds into separate functions, and do it in a cleaner manner. No pun intended.
2023-02-04ci: Add CMake+Ninja+Clang to the AppVeyor CI matrixCosmin Truta
2023-02-03cmake: Fix the Clang support on WindowsB. Scott Michel
Fix a build error that occurs with the Ninja code generator and the Clang compiler on Windows: ninja: error: build.ninja: multiple rules generate png16.lib Signed-off-by: Cosmin Truta <ctruta@gmail.com>
2023-02-01Merge "Snap for 9550355 from 3f67af02ac46d5a0e53f824e7e3b2fa09f97713b to ↵platform-tools-34.0.0platform-tools-33.0.4Android Build Coastguard Worker
sdk-release" into sdk-release
2023-02-01Snap for 9550355 from 3f67af02ac46d5a0e53f824e7e3b2fa09f97713b to sdk-releaseAndroid Build Coastguard Worker
Change-Id: I39ecdc6fc94e9e2d09f5160ceb503bcaeb079736