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

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

Change-Id: I989107357cddac790c3cdb3b24fcc9e776fceb8e
This commit is contained in:
Treehugger Robot
2021-03-19 09:19:23 +00:00
committed by Automerger Merge Worker

View File

@@ -290,6 +290,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) \