diff options
Diffstat (limited to 'build/Android.executable.mk')
-rw-r--r-- | build/Android.executable.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build/Android.executable.mk b/build/Android.executable.mk index dfea6e191e..978cd901c8 100644 --- a/build/Android.executable.mk +++ b/build/Android.executable.mk @@ -28,6 +28,7 @@ ART_EXECUTABLES_CFLAGS := # $(5): target or host # $(6): ndebug or debug # $(7): value for LOCAL_MULTILIB (empty means default) +# $(8): value for LOCAL_SANITIZE (empty means default) define build-art-executable ifneq ($(5),target) ifneq ($(5),host) @@ -47,6 +48,7 @@ define build-art-executable art_target_or_host := $(5) art_ndebug_or_debug := $(6) art_multilib := $(7) + art_local_sanitize := $(8) art_out_binary_name := include $(CLEAR_VARS) @@ -69,6 +71,8 @@ define build-art-executable LOCAL_LDFLAGS := -Wl,--export-dynamic endif + LOCAL_SANITIZE := $$(art_local_sanitize) + ifeq ($$(art_target_or_host),target) $(call set-target-local-clang-vars) $(call set-target-local-cflags-vars,$(6)) @@ -149,6 +153,7 @@ define build-art-executable art_ndebug_or_debug := art_multilib := art_out_binary_name := + art_local_sanitize := endef |