Adding BOARD_NON_AB_OTA_DISABLE_COMPRESSION

Brotli decompression error occured during sideloading non A/B full OTA.
The flag disable brotli compression for non A/B full OTA.

The flag set if a device supports non A/B update.

Bug: 248350283
Test: build and sideload the full ota package.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:64f700aad93501edbcfb0d2fa81b3bacc2194a73)
Merged-In: I1a7dcd0cbfc425629ec4a8b7dbe18f2937571c09
Change-Id: I1a7dcd0cbfc425629ec4a8b7dbe18f2937571c09
diff --git a/core/board_config.mk b/core/board_config.mk
index af05973..66f42c7 100644
--- a/core/board_config.mk
+++ b/core/board_config.mk
@@ -954,6 +954,11 @@
   endif
 endif
 
+# For Non A/B full OTA, disable brotli compression.
+ifeq ($(TARGET_OTA_ALLOW_NON_AB),true)
+  BOARD_NON_AB_OTA_DISABLE_COMPRESSION := true
+endif
+
 # Quick check for building generic OTA packages. Currently it only supports A/B OTAs.
 ifeq ($(PRODUCT_BUILD_GENERIC_OTA_PACKAGE),true)
   ifneq ($(AB_OTA_UPDATER),true)