commit | a52b6e9ba85ef65b90a8673180a686ee89f2026c | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Wed Sep 12 10:03:37 2018 +0900 |
committer | Jiyong Park <jiyong@google.com> | Wed Sep 12 10:05:58 2018 +0900 |
tree | 7a72785459196658cd8995fa90cf73f0c2feec5d | |
parent | d9a58852bd5b97d566a9ea59b343c0a86ad7024d [diff] |
fix: linktype for recovery modules in ASAN build is native:platform When ASAN is on, recovery modules are instaled to $(OUT_DIR)/target/product/.../data/asan/recovery/root. However, since this is not under $(TARGET_RECOVERY_OUT), their linktype is incorrectly determined as native:platform, instead of native:recovery. To fix this, use get_non_asan_path to have consistent paths when determining the linktype. Bug: 115361480 Test: m -j; SANITIZE_TARGET=address m -j Change-Id: I75edb1fe193d8a1a8099d4f5cf498910ca868d38
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.