Fix: deps to sanitizer runtime libs are with correct 'image' variant
This change fixes a bug that sanitizer runtime libs for non-core variant (e.g. recovery, vendor, etc.) are not installed. It happened because the dependency to the sanitizer runtime lib was without 'image' variant, which in most case caused only the core variant - which is the first in the image variants - of the lib to be installed. Fixing the issue by correctly selecting image variant depending on the location of the lib having dependency to the runtime lib. Bug: 123525879 Test: SANITIZE_TARGET=hwaddress m out/target/product/blueline/boot.img Test: SANITIZE_TARGET=address m out/target/product/blueline/boot.img libclang_rt.*.so is under out/target/product/blueline/root/recovery/system/lib64 Change-Id: Iea7d718d4971e36521f0a3f712a454de944cd7ac
Loading
Please register or sign in to comment