Merge "Add variable PRODUCT_SHIPPING_API_LEVEL and make files with the new read only product property ro.product.first_api_level."
This commit is contained in:
commit
e5c1af2dd0
|
@ -120,7 +120,7 @@ _product_var_list := \
|
||||||
PRODUCT_DEX_PREOPT_MODULE_CONFIGS \
|
PRODUCT_DEX_PREOPT_MODULE_CONFIGS \
|
||||||
PRODUCT_DEX_PREOPT_DEFAULT_FLAGS \
|
PRODUCT_DEX_PREOPT_DEFAULT_FLAGS \
|
||||||
PRODUCT_DEX_PREOPT_BOOT_FLAGS \
|
PRODUCT_DEX_PREOPT_BOOT_FLAGS \
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL \
|
||||||
|
|
||||||
define dump-product
|
define dump-product
|
||||||
$(info ==== $(1) ====)\
|
$(info ==== $(1) ====)\
|
||||||
|
|
|
@ -355,6 +355,12 @@ PRODUCT_PROPERTY_OVERRIDES := \
|
||||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES := \
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES := \
|
||||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEFAULT_PROPERTY_OVERRIDES))
|
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_DEFAULT_PROPERTY_OVERRIDES))
|
||||||
|
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_SHIPPING_API_LEVEL))
|
||||||
|
ifdef PRODUCT_SHIPPING_API_LEVEL
|
||||||
|
ADDITIONAL_BUILD_PROPERTIES += \
|
||||||
|
ro.product.first_api_level=$(PRODUCT_SHIPPING_API_LEVEL)
|
||||||
|
endif
|
||||||
|
|
||||||
# Should we use the default resources or add any product specific overlays
|
# Should we use the default resources or add any product specific overlays
|
||||||
PRODUCT_PACKAGE_OVERLAYS := \
|
PRODUCT_PACKAGE_OVERLAYS := \
|
||||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGE_OVERLAYS))
|
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_PACKAGE_OVERLAYS))
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := 21
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := 22
|
|
@ -0,0 +1,2 @@
|
||||||
|
#PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := 23
|
|
@ -0,0 +1,2 @@
|
||||||
|
#PRODUCT_SHIPPING_API_LEVEL indicates the first api level, device has been commercially launced on.
|
||||||
|
PRODUCT_SHIPPING_API_LEVEL := 24
|
Loading…
Reference in New Issue