commit | 8163cfa5f43db08dd8c1abca31b9e0a6a81ece0f | [log] [tgz] |
---|---|---|
author | Fabien Sanglard <sanglardf@google.com> | Mon Oct 10 22:19:47 2022 +0000 |
committer | Fabien Sanglard <sanglardf@google.com> | Wed Oct 12 13:57:16 2022 -0700 |
tree | b90eee014c849b7b7a12ee0d21b550f5457970fa | |
parent | d8b3c2901dcda8042f5f116e9cf74be2bdc8f912 [diff] |
Zipalign: Don't align directory entries Directories are entries with uncompressed size zero and ending with character '/' or '\' are allowed in apks since b/204425803. These entries should not be considered for alignment since they are not mmap by the framework. Test: align_test.cpp Bug: 250872480 Change-Id: I964aad118a82839f9ed230acc4c2c76f51888c67
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.