commit | 2cfa99722beb33d9ca1335962a7c2d58e48fe210 | [log] [tgz] |
---|---|---|
author | Kostya Kortchinsky <kostyak@google.com> | Thu Jun 14 11:02:15 2018 -0700 |
committer | Kostya Kortchinsky <kostyak@google.com> | Tue Jun 19 09:46:35 2018 -0700 |
tree | 307803bcd77a790147f4ac6218b551b581b315e6 | |
parent | f16031cfecfe69b2e0964a9a703d2a3ac66541ae [diff] |
Add Scudo support for Make Scudo is a hardened usermode allocator that is part of LLVM's compiler-rt project (home of the Sanitizers). clang allows for -fsanitize=scudo as a possible command line option to link the shared Scudo library to a binary. This patch add Scudo as a potential sanitize option. Scudo is not compatible with ASan and TSan and will be disabled if either is enabled. Test: aosp compiled with m -j Test: local experiment with LOCAL_SANITIZE := scudo to ensure that a test target (mediaserver) could be linked with scudo. Change-Id: I462843b9d5512fba2c4a3ac1a0c356ca90bce4e5
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.