diff --git a/core/Makefile b/core/Makefile index 97ae1980c..2e9d4dd27 100644 --- a/core/Makefile +++ b/core/Makefile @@ -149,6 +149,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, \