commit | 8566eb0ee81cf1d60f8ad4f798335144b537ccac | [log] [tgz] |
---|---|---|
author | Evgenii Stepanov <eugenis@google.com> | Thu Feb 01 11:34:59 2024 -0800 |
committer | Evgenii Stepanov <eugenis@google.com> | Thu Feb 01 11:34:59 2024 -0800 |
tree | bff088740e263eb098b3f1032f8e68841c9fcad9 | |
parent | 7ba1e17dcce8028cd0400ed61b2a038b754244d6 [diff] |
Add missing linker flags for memtag sanitizers. This fixes a discrepancy between Make and Soong build systems. Memtag sanitizers rely on the linker to mark the executable as requesting heap/stack/globals tagging. Test: readelf -n <binary> | grep .note.android.memtag Bug: 322107634 Change-Id: I4a25509ff280e25d14576157903a2bbf162a4895
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.