From 9e0cb35c29bf804ffea3952b9e7f940bc498665b Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 16 Sep 2015 15:41:55 -0700 Subject: [PATCH] Allow 'sanitize' to be arch-specific. The usecase here is system/core/liblog, which wants to turn off sanitizer only for the target module, since the target sanitizers depend on liblog. Change-Id: I99141574a1c4c4847aa8a72bdcc88901fd9b01cd --- cc/cc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/cc.go b/cc/cc.go index 3aa068e82..857235fe1 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -323,7 +323,7 @@ type CCBase struct { unused struct { Native_coverage bool Required []string - Sanitize []string + Sanitize []string `android:"arch_variant"` Sanitize_recover []string Strip string Tags []string