Add HWASAN libraries in case of ARM64
Based on the implementaion in base_system.mk, add more dependencies with
HWASAN libraries in case of ARM64 arch.
Bug: 381019466
Test: aosp_shared_system_image on aosp_arm64 contains HWASAN libraries
Change-Id: I038930540c6c4380d9f445b1188bb076aea44946
diff --git a/target/product/generic/Android.bp b/target/product/generic/Android.bp
index bca4fcd..4a3d21b 100644
--- a/target/product/generic/Android.bp
+++ b/target/product/generic/Android.bp
@@ -872,6 +872,14 @@
}),
},
},
+ arch: {
+ arm64: {
+ deps: [
+ "libclang_rt.hwasan",
+ "libc_hwasan",
+ ],
+ },
+ },
}
android_system_image {