Move virtual_ab makefiles to its own dir.

Also add a readme file.

Test: none

Change-Id: Ia1e02d8fb0c6df13271f208b3ca1dc1f250b085b
This commit is contained in:
Yifan Hong 2020-11-20 11:58:44 -08:00
parent 01585c5ce6
commit 018c698280
6 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,14 @@
# Virtual A/B makefiles
Devices that uses Virtual A/B must inherit from one of the makefiles in this directory.
## Structure
```
launch.mk
|- retrofit.mk
|- plus_non_ab.mk
|- compression.mk
compression_retrofit.mk
```

View file

@ -14,7 +14,7 @@
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch.mk)
PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.enabled=true

View file

@ -14,7 +14,7 @@
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch.mk)
PRODUCT_OTA_FORCE_NON_AB_PACKAGE := true

View file

@ -14,7 +14,7 @@
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch.mk)
PRODUCT_VIRTUAL_AB_OTA_RETROFIT := true