From bcda23488c9ea1a68e6b6165bc29ab4a82ef88f1 Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Mon, 26 Jul 2021 09:57:45 -0400 Subject: [PATCH] Add a build prop for go/vabc-xor Allow each lunch target to control if they want to use this new feature. Test: th Change-Id: I10219a916bca258e669de051262f9ebba8434803 --- .../virtual_ab_ota/compression_with_xor.mk | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/product/virtual_ab_ota/compression_with_xor.mk diff --git a/target/product/virtual_ab_ota/compression_with_xor.mk b/target/product/virtual_ab_ota/compression_with_xor.mk new file mode 100644 index 0000000000..7d9253299c --- /dev/null +++ b/target/product/virtual_ab_ota/compression_with_xor.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2021 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + + +$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/compression.mk) + + +PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.xor.enabled=true