Allow BOARD_VNDK_VERSION to be changed

Some devices e.g. cuttlefish include BoardConfigMainlineCommon.mk.
This allows BOARD_VNDK_VERSION to be changed other than current, to
allow mixed build experiment with BOARD_VNDK_VERSION.

Test: try setting BOARD_VNDK_VERSION and get_build_var
Change-Id: I7eb7fe6527f24ee2a3b4af32194a48ca98146a78
This commit is contained in:
Inseob Kim 2021-02-25 21:22:27 +09:00
parent 0e0307b0a2
commit 6e7693f159
1 changed files with 2 additions and 1 deletions

View File

@ -19,7 +19,8 @@ TARGET_COPY_OUT_PRODUCT := product
# the devices with metadata parition # the devices with metadata parition
BOARD_USES_METADATA_PARTITION := true BOARD_USES_METADATA_PARTITION := true
BOARD_VNDK_VERSION := current # Default is current, but allow devices to override vndk version if needed.
BOARD_VNDK_VERSION ?= current
# Required flag for non-64 bit devices from P. # Required flag for non-64 bit devices from P.
TARGET_USES_64_BIT_BINDER := true TARGET_USES_64_BIT_BINDER := true