diff options
| author | 2023-09-13 14:19:28 -0700 | |
|---|---|---|
| committer | 2023-09-13 21:50:17 +0000 | |
| commit | d3fe83a781277bd9ba028733893b989ef5a1d2ac (patch) | |
| tree | fc40a90375494a419086465495a20833756ee5d7 | |
| parent | a1681106e379fa6b3b67441980cce4e8744648f7 (diff) | |
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
| -rw-r--r-- | services/surfaceflinger/CompositionEngine/Android.bp | 14 |
1 files changed, 1 insertions, 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, }, } |