From d3fe83a781277bd9ba028733893b989ef5a1d2ac Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 13 Sep 2023 14:19:28 -0700 Subject: Replace ASan with HWASan ASan on device is deprecated and HWASan now works on all arm64 devices Test: atest libcompositionengine_test Bug: 300289881 Change-Id: I978bf4e3f5117e95799271a8fc4e8acdae58fc15 --- services/surfaceflinger/CompositionEngine/Android.bp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/services/surfaceflinger/CompositionEngine/Android.bp b/services/surfaceflinger/CompositionEngine/Android.bp index 11a9e19db8..f12d7b6a17 100644 --- a/services/surfaceflinger/CompositionEngine/Android.bp +++ b/services/surfaceflinger/CompositionEngine/Android.bp @@ -140,18 +140,6 @@ cc_test { "libgtest", ], sanitize: { - // By using the address sanitizer, we not only uncover any issues - // with the test, but also any issues with the code under test. - // - // Note: If you get an runtime link error like: - // - // CANNOT LINK EXECUTABLE "/data/local/tmp/libcompositionengine_test": library "libclang_rt.asan-aarch64-android.so" not found - // - // it is because the address sanitizer shared objects are not installed - // by default in the system image. - // - // You can either "make dist tests" before flashing, or set this - // option to false temporarily. - address: true, + hwaddress: true, }, } -- cgit v1.2.3-59-g8ed1b