commit | aa73cefbc4cfbe398f5463e52da23a93280f338a | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Dec 20 15:55:08 2018 -0800 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Dec 20 16:15:54 2018 -0800 |
tree | 62f027e49df235bc2d1adfa799b6f18e9759eb8b | |
parent | 92b623259b64be29fb63f8fd20197c9a83166fd5 [diff] |
Use ASAN linker for native tests Native tests (BUILD_NATIVE_TEST) use their own MODULE_CLASS. Check for it when selecting the linker for ASAN. Test: build a native test, readelf -l <test> | grep linker Change-Id: I34ca8c443c792bdf8b4b1fa812806c56f13a72d0
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.