diff options
author | Vikram Panduranga <vpandura@codeaurora.org> | 2019-08-07 13:33:01 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2019-09-25 16:09:46 -0700 |
commit | 6ff1c956cd0bb1e49063fc1a8086bf2da66f1d3b (patch) | |
tree | 6cc7883fb456de8b3cecddde607528f6049e33a9 /voice_processing | |
parent | 4f29891fdca8b7ebafe6b676c902870dead63f2b (diff) |
hal: Enable integer overflow sanitizer
Enable integer overflow sanitizer in audio HAL for kona.
Change-Id: I6aba4c636f2d467518281361259b1a7768ae34d7
Diffstat (limited to 'voice_processing')
-rw-r--r-- | voice_processing/Android.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/voice_processing/Android.mk b/voice_processing/Android.mk index 56a3abd9..e448b6f7 100644 --- a/voice_processing/Android.mk +++ b/voice_processing/Android.mk @@ -50,5 +50,8 @@ LOCAL_CFLAGS += -Wno-tautological-compare LOCAL_CFLAGS += -Wno-unused-function LOCAL_CFLAGS += -Wno-unused-local-typedef +ifneq ($(filter kona,$(TARGET_BOARD_PLATFORM)),) +LOCAL_SANITIZE := integer_overflow +endif include $(BUILD_SHARED_LIBRARY) endif |