commit | 4d291ec5ee2a8774e9c281a2a97f57320725b57d | [log] [tgz] |
---|---|---|
author | YoungJoon Yang <youngjoonyang@google.com> | Wed Jan 18 17:39:10 2023 +0900 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Mon Mar 20 21:04:42 2023 +0000 |
tree | de3964e9638c43c5493336052ce93a965e35173f | |
parent | 413e5cd8d39039c0791abb0c093ef300a3bae218 [diff] [blame] |
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)