commit | e5c0c174d50e4fab5db797dc815a875d673eadac | [log] [tgz] |
---|---|---|
author | Juan Yescas <jyescas@google.com> | Fri Apr 07 23:46:43 2023 -0700 |
committer | Juan Yescas <jyescas@google.com> | Fri Apr 28 02:42:00 2023 +0000 |
tree | aa89a568253888743bdc768b40433cb3322f59c1 | |
parent | a2a2f404147940cf9e9d541a0f93ad88a698021c [diff] |
16k: Define PRODUCT_MAX_PAGE_SIZE_SUPPORTED flag The PRODUCT_MAX_PAGE_SIZE_SUPPORTED will be used to define the ELF segment alignment of the binaries (executables and shared libraries). The alignment is set based on these conditions: - If PRODUCT_MAX_PAGE_SIZE_SUPPORTED is defined, that value will be used to align the binaries. If not defined, see condition below: - If it is a low memory device, 4096 will be the alignment. If it is not low memory device, see conditon below: - If VSR vendor API level < 34, 4096 will be the alignment, otherwise it will be 65536. Test: Built for in Pixel 4a, 6 and verified the alignment with readelf. Bug: 276963698 Bug: 276801883 Change-Id: I53a8902ab62e6d378aec84c28bc627f0e8a98500
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.