aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McTernan <mikemcternan@google.com>2023-12-19 17:40:17 +0000
committerMike McTernan <mikemcternan@google.com>2023-12-19 17:40:17 +0000
commit034998f474c9b99d3742d19d6af709896f70c438 (patch)
tree691008af6b29714bcacbea9cb0c0585a0a3aeeb9
parentc7d8c1cc2249269f43ac1a95c216c33cae08451e (diff)
downloadconfirmationui-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.mk4
-rw-r--r--test/rules.mk4
-rw-r--r--usertests-inc.mk4
3 files changed, 11 insertions, 1 deletions
diff --git a/rules.mk b/rules.mk
index 98432a2..270d96a 100644
--- a/rules.mk
+++ b/rules.mk
@@ -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