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

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

Change-Id: I1bddf76775de6c97cb7821783aca6c3fe58d958d
This commit is contained in:
Treehugger Robot
2021-03-19 09:58:46 +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) \