diff --git a/target/product/base_system.mk b/target/product/base_system.mk index b97d98d84..586c058da 100644 --- a/target/product/base_system.mk +++ b/target/product/base_system.mk @@ -281,6 +281,12 @@ PRODUCT_PACKAGES += \ system_manifest.xml \ system_compatibility_matrix.xml \ +# HWASAN runtime for SANITIZE_TARGET=hwaddress builds +ifneq (,$(filter hwaddress,$(SANITIZE_TARGET))) + PRODUCT_PACKAGES += \ + libclang_rt.hwasan-aarch64-android.bootstrap +endif + # Host tools to install PRODUCT_HOST_PACKAGES += \ BugReport \