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
Loading
Please register or sign in to comment