Build: Disable leak sanitizer for ijar

Temporary workaround.

Bug: 37756495
Test: ASAN_OPTIONS= SANITIZE_HOST=address mm
Change-Id: Idf48f45f0c33fc57af29574c8591a532144d4623
This commit is contained in:
Andreas Gampe 2017-04-27 18:26:36 -07:00
parent 83c5c474b8
commit 48d9a5c80b

View file

@ -2393,13 +2393,16 @@ else \
fi
endef
# b/37756495
IJAR_ASAN_OPTIONS := ASAN_OPTIONS=detect_leaks=0
## Rule to create a table of contents from a .jar file.
## Must be called with $(eval).
# $(1): A .jar file
define _transform-jar-to-toc
$1.toc: $1 | $(IJAR)
@echo Generating TOC: $$@
$(hide) $(IJAR) $$< $$@.tmp
$(hide) $(IJAR_ASAN_OPTIONS) $(IJAR) $$< $$@.tmp
$$(call commit-change-for-toc,$$@)
endef