diff --git a/core/Makefile b/core/Makefile index 2ccb32fcb..a299d82f6 100644 --- a/core/Makefile +++ b/core/Makefile @@ -146,6 +146,11 @@ ifdef property_overrides_split_enabled INSTALLED_VENDOR_DEFAULT_PROP_TARGET := $(TARGET_OUT_VENDOR)/default.prop ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_VENDOR_DEFAULT_PROP_TARGET) +ifdef BOARD_VNDK_VERSION +FINAL_VENDOR_DEFAULT_PROPERTIES := ro.vndk.version=${BOARD_VNDK_VERSION} +else +FINAL_VENDOR_DEFAULT_PROPERTIES := +endif FINAL_VENDOR_DEFAULT_PROPERTIES += \ $(call collapse-pairs, $(PRODUCT_DEFAULT_PROPERTY_OVERRIDES)) FINAL_VENDOR_DEFAULT_PROPERTIES := $(call uniq-pairs-by-first-component, \