Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b32c0009 authored by Dan Albert's avatar Dan Albert
Browse files

Remove LOCAL_ADDRESS_SANITIZER.

I've migrated all users of this to the new option now, so we can drop
this.

Dropping `SANITIZE_HOST := true` will have to wait until the build
server configs have been updated.

Change-Id: I591436e197a6c6c079a6cd6a2decb702b574cd71
parent 944fc40e
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -4,17 +4,6 @@

my_sanitize := $(strip $(LOCAL_SANITIZE))

# Keep compatibility for LOCAL_ADDRESS_SANITIZER until all targets have moved to
# `LOCAL_SANITIZE := address`.
ifeq ($(strip $(LOCAL_ADDRESS_SANITIZER)),true)
  my_sanitize += address
endif

# And `LOCAL_SANITIZE := never`.
ifeq ($(strip $(LOCAL_ADDRESS_SANITIZER)),false)
  my_sanitize := never
endif

# Don't apply sanitizers to NDK code.
ifdef LOCAL_SDK_VERSION
  my_sanitize := never