From 9005bb61f7e955536ac786ccf38f41aae8f0665c Mon Sep 17 00:00:00 2001 From: Yihan Dong Date: Wed, 26 Jun 2024 14:59:35 +0800 Subject: [PATCH] Add whitelist for mcts modules Some MCTS modules should not be removed from CTS because they are dependencies of both MCTS and CTS. Add a whitelist as a short term solution. Test: m cts EXCLUDE_MCTS=true Bug: 349372705 BYPASS_INCLUSIVE_LANGUAGE_REASON=for mcts only Change-Id: I26ada6da95a8b3547de9e54781b744facb121b05 --- core/base_rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/base_rules.mk b/core/base_rules.mk index 0d72903100..a8cf67e4b0 100644 --- a/core/base_rules.mk +++ b/core/base_rules.mk @@ -717,12 +717,14 @@ else endif ifeq ($(EXCLUDE_MCTS),true) +ifeq (,$(filter $(LOCAL_MODULE),$(mcts_whitelist))) ifneq (,$(test_config)) ifneq (,$(filter mcts-%,$(LOCAL_COMPATIBILITY_SUITE))) LOCAL_COMPATIBILITY_SUITE := $(filter-out cts,$(LOCAL_COMPATIBILITY_SUITE)) endif endif endif +endif ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))