diff options
author | Mike McTernan <mikemcternan@google.com> | 2023-12-19 17:40:17 +0000 |
---|---|---|
committer | Mike McTernan <mikemcternan@google.com> | 2023-12-19 17:40:17 +0000 |
commit | 034998f474c9b99d3742d19d6af709896f70c438 (patch) | |
tree | 691008af6b29714bcacbea9cb0c0585a0a3aeeb9 | |
parent | c7d8c1cc2249269f43ac1a95c216c33cae08451e (diff) | |
download | confirmationui-main-16k.tar.gz |
trusty: allow disabling of confirmation UIsimpleperf-releasemain-16k
Bug: 316160738
Bug: 316551915
Test: build.py
Change-Id: I2e97acfe7d29641c3e9c0c63fb8945ade5d2bb31
-rw-r--r-- | rules.mk | 4 | ||||
-rw-r--r-- | test/rules.mk | 4 | ||||
-rw-r--r-- | usertests-inc.mk | 4 |
3 files changed, 11 insertions, 1 deletions
@@ -12,6 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. +ifeq (true,$(call TOBOOL,$(CONFIRMATIONUI_DISABLED))) +$(error Trying to build DISABLED confirmationui) +endif + LOCAL_DIR := $(GET_LOCAL_DIR) MODULE := $(LOCAL_DIR) diff --git a/test/rules.mk b/test/rules.mk index aa816d5..e68f2b5 100644 --- a/test/rules.mk +++ b/test/rules.mk @@ -13,6 +13,10 @@ # limitations under the License. # +ifeq (true,$(call TOBOOL,$(CONFIRMATIONUI_DISABLED))) +$(error Trying to build tests for DISABLED confirmationui) +endif + LOCAL_DIR := $(GET_LOCAL_DIR) MODULE := $(LOCAL_DIR) diff --git a/usertests-inc.mk b/usertests-inc.mk index a121f93..46dd2df 100644 --- a/usertests-inc.mk +++ b/usertests-inc.mk @@ -13,5 +13,7 @@ # limitations under the License. # +ifeq (false,$(call TOBOOL,$(CONFIRMATIONUI_DISABLED))) TRUSTY_USER_TESTS += \ - trusty/user/app/confirmationui/test \ + trusty/user/app/confirmationui/test +endif |