From 3f84f6ea6f522efc23945598ad5bb71eecd59bc1 Mon Sep 17 00:00:00 2001 From: Justin Yun Date: Thu, 24 Oct 2024 09:20:48 +0900 Subject: Define VendorApiLevelPropOverride for GRF prop Soong must read BOARD_API_LEVEL_PROP_OVERRIDE to generate build props for vendor image. If this value is provided, ro.board.api_level will be set to this value. Bug: 374333106 Test: read product_config Change-Id: Ifbeea76596ea7b22928ae58467bb05cffeb5da1f --- android/variable.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'android/variable.go') diff --git a/android/variable.go b/android/variable.go index 34a3d3041..c35294200 100644 --- a/android/variable.go +++ b/android/variable.go @@ -241,7 +241,8 @@ type ProductVariables struct { DeviceMaxPageSizeSupported *string `json:",omitempty"` DeviceNoBionicPageSizeMacro *bool `json:",omitempty"` - VendorApiLevel *string `json:",omitempty"` + VendorApiLevel *string `json:",omitempty"` + VendorApiLevelPropOverride *string `json:",omitempty"` DeviceSecondaryArch *string `json:",omitempty"` DeviceSecondaryArchVariant *string `json:",omitempty"` -- cgit v1.2.3-59-g8ed1b