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

Commit 48d9a5c8 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Build: Disable leak sanitizer for ijar

Temporary workaround.

Bug: 37756495
Test: ASAN_OPTIONS= SANITIZE_HOST=address mm
Change-Id: Idf48f45f0c33fc57af29574c8591a532144d4623
parent 83c5c474
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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