commit | 21a09420c77ad6050de008f3122f092358e899e4 | [log] [tgz] |
---|---|---|
author | Vilas Bhat <vilasbhat@google.com> | Fri Mar 22 18:17:01 2024 +0000 |
committer | Vilas Bhat <vilasbhat@google.com> | Wed Apr 03 18:12:40 2024 +0000 |
tree | ac6360b6d0246baf544cdb0cb5b8d2f527b7374f | |
parent | 88899887c0c582cade63fe6f000e793989fb15b7 [diff] |
16k: core: Enable TARGET_NO_BIONIC_PAGE_SIZE_MACRO by default on Android V targets Enabling TARGET_NO_BIONIC_PAGE_SIZE_MACRO implies those targets no longer rely on the `PAGE_SIZE` bionic macro. Page size would be queried at runtime using getpagesize() / sysconf(_SC_PAGE_SIZE). This re-applies commit 90141637174dadd92810a5365ee8ce22164344cf and also updates the VSR_VENDOR_API_LEVEL for which TARGET_NO_BIONIC_PAGE_SIZE_MACRO is set to false from < 34 to < 35 (As this needs to be enabled only for Android V targets). Test: lunch <target> && get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO Bug: 310232825 Change-Id: I4a79939b129dd7ae6a50e8aa4719a9d8413156fb
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.