From 3d4965b2e1dae1ed870dc8a65b9fac1e44584b1a Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep <jeffv@google.com> Date: Tue, 13 Feb 2018 20:29:55 -0800 Subject: [PATCH] Use SELINUX_IGNORE_NEVERALLOWS flag to disable all tests The intent of this flag is to disable tests during early device bringup so that vendor drops can occur without build breakages. When SELINUX_IGNORE_NEVERALLOWS=true also disable labeling tests sepolicy_tests, and treble_sepolicy_tests. Bug: 73322735 Test: build, verify known tests failures do not cause build breakage. Change-Id: I3e7165938d4e34c066bfa0a20e68b7e02dae4a24 --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index cece346a4..8cbc60871 100644 --- a/Android.mk +++ b/Android.mk @@ -233,11 +233,13 @@ LOCAL_REQUIRED_MODULES += \ endif ifneq ($(with_asan),true) +ifneq ($(SELINUX_IGNORE_NEVERALLOWS),true) LOCAL_REQUIRED_MODULES += \ sepolicy_tests \ treble_sepolicy_tests \ endif +endif include $(BUILD_PHONY_PACKAGE) -- GitLab