From 7da042912b65acd8d11fb86ae16e317a1fd2366f Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sat, 4 Jan 2020 13:58:54 -0800 Subject: [PATCH] Likely fix SANITIZE_HOST=address builds We're passing in ASAN_OPTIONS=detect_leaks=0 on the command line, and the build started failing after we limited the environment. Test: forrest of aosp-master/aosp_x86_64-eng Change-Id: I42c91897c7677e1a249412e5a8bc7bb1edb2f881 --- ui/build/ninja.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/build/ninja.go b/ui/build/ninja.go index 57a074d39..6775ccf85 100644 --- a/ui/build/ninja.go +++ b/ui/build/ninja.go @@ -110,6 +110,7 @@ func runNinja(ctx Context, config Config) { "USER", // TODO: remove these carefully + "ASAN_OPTIONS", "TARGET_BUILD_APPS", "TARGET_BUILD_VARIANT", "TARGET_PRODUCT",