From 07407cd082033b72c953cbef37feb98cbd8a1b61 Mon Sep 17 00:00:00 2001 From: Vishwath Mohan Date: Thu, 29 Sep 2016 15:05:51 -0700 Subject: [PATCH] Set coverage to false for dex2oat. dex2oat explicitly sets address to false when SANITIZE_TARGET is non-empty, in order to prevent it being compiled with ASAN. This CL also sets coverage to false to prevent build errors when SANITIZE_TARGET="address coverage" (because coverage currently does not work without address). Bug: 29188876 Test: SANITIZE_TARGET="address coverage" builds without error Change-Id: I0faeb7fab76678b923af732235188e19e08ea90c --- dex2oat/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/dex2oat/Android.bp b/dex2oat/Android.bp index 931bbd368..05a5d0fa2 100644 --- a/dex2oat/Android.bp +++ b/dex2oat/Android.bp @@ -31,6 +31,7 @@ cc_defaults { // SANITIZE_TARGET mode. // Bug: 22233158 address: false, + coverage: false, }, }, }, -- 2.11.0