Merge "Define ro.board.first_api_level property" am: 5dcd959a90 am: ea649248ca am: 98de12b000

Original change: https://android-review.googlesource.com/c/platform/build/+/1640362

Change-Id: I8ae464ad8e29a5f03e03787b9330dad1012e0637
This commit is contained in:
Treehugger Robot 2021-03-19 10:50:38 +00:00 committed by Automerger Merge Worker
commit a04ff5da40

View file

@ -292,6 +292,13 @@ ADDITIONAL_VENDOR_PROPERTIES += \
ro.product.first_api_level=$(PRODUCT_SHIPPING_API_LEVEL) ro.product.first_api_level=$(PRODUCT_SHIPPING_API_LEVEL)
endif endif
# Vendors with GRF must define BOARD_SHIPPING_API_LEVEL for the vendor API level.
# This must not be defined for the non-GRF devices.
ifdef BOARD_SHIPPING_API_LEVEL
ADDITIONAL_VENDOR_PROPERTIES += \
ro.board.first_api_level=$(BOARD_SHIPPING_API_LEVEL)
endif
ADDITIONAL_VENDOR_PROPERTIES += \ ADDITIONAL_VENDOR_PROPERTIES += \
ro.vendor.build.security_patch=$(VENDOR_SECURITY_PATCH) \ ro.vendor.build.security_patch=$(VENDOR_SECURITY_PATCH) \
ro.product.board=$(TARGET_BOOTLOADER_BOARD_NAME) \ ro.product.board=$(TARGET_BOOTLOADER_BOARD_NAME) \