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/Makefile b/core/Makefile index e1a08bf..9fe209f 100644 --- a/core/Makefile +++ b/core/Makefile
@@ -5441,6 +5441,9 @@ ifeq ($(TARGET_OTA_ALLOW_NON_AB),true) $(hide) echo "allow_non_ab=true" >> $@ endif +ifeq ($(BOARD_NON_AB_OTA_DISABLE_COMPRESSION),true) + $(hide) echo "board_non_ab_ota_disable_compression=true" >> $@ +endif ifdef BOARD_PREBUILT_DTBOIMAGE $(hide) echo "has_dtbo=true" >> $@ ifeq ($(BOARD_AVB_ENABLE),true)