commit | be3dbb2af92ecf4cf7c2e8de6fd9dd4808a20506 | [log] [tgz] |
---|---|---|
author | Krzysztof Kosiński <krzysio@google.com> | Wed Mar 12 10:42:09 2025 +0000 |
committer | Krzysztof Kosiński <krzysio@google.com> | Wed Mar 12 10:50:22 2025 +0000 |
tree | 2c99c96cb00500adea32fe041e1dee207edb1dde | |
parent | e13bd368a3adbcbdb542276846ce567ff8802d4f [diff] |
Fix deprecated utcfromtimestamp() usage. Fixes the following build warning: build_image.py:53: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). Bug: 402676308 Test: presubmit Change-Id: I5fe76402231a43aedf5ff5b3ad945fc117d64ffa
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.