commit | ae9f10544d19d653f7ef47f8d133690d35c2961e | [log] [tgz] |
---|---|---|
author | Anton Hansson <hansson@google.com> | Tue Oct 02 13:16:05 2018 +0100 |
committer | Anton Hansson <hansson@google.com> | Tue Oct 02 13:16:05 2018 +0100 |
tree | 6bd96209c9b68ca3a18f73dfcfa364b99fe8b82d | |
parent | ec382da31681b8840f4701fb4b214b4dc6eca5ba [diff] |
Change install paths of libs in sanitize builds This changes the paths for partitions modules inside the 'asan' subdirectory to match those used when not making sanitized builds. This fixes get_non_asan_path macro, which just strips the 'asan' dir from the lib paths. For example, on a device without a product partition, previously libraries would install install in: - out/target/product/x/asan/product/lib[64]/y.so (with SANITIZE_TARGET) - out/target/product/x/system/product/lib[64]/y.so (no SANITIZE TARGET) Stripping the asan dir would look for the lib in out/.../<x>/product/, which didn't exist. The new path for SANITIZE_TARGET builds is now out/target/product<x>/asan/system/product/lib[64]/<y>.so Bug: 117089649 Test: m; SANITIZE_TARGET=address m (for a device without /product) Change-Id: Id663c5f284e3b4fc65ed8cb8c2da6bcf6542e034
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.