Add a build time constant to disable VABC
Test: m
Bug: 185400304
Change-Id: I4ed5676f4a1195f084ed447196ee9e3ce71ec84a
(cherry picked from commit c76afcf1ef68ce4e6362032aaa8b5e2ea77f9233)
diff --git a/BoardConfig-common.mk b/BoardConfig-common.mk
index 943ea08..2408b1e 100644
--- a/BoardConfig-common.mk
+++ b/BoardConfig-common.mk
@@ -19,6 +19,11 @@
# Should be uncommented after fixing vndk-sp violation is fixed.
PRODUCT_FULL_TREBLE_OVERRIDE := true
+# This prop, when set to 1, will prevent OTA tooling from generating a VABC OTA,
+# even if device actually supports it.
+# Remove this once P21 decides to use VABC OTA
+BOARD_DONT_USE_VABC_OTA := true
+
# HACK : To fix up after bring up multimedia devices.
TARGET_SOC := gs101