summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2018-03-21 11:53:48 +0800
committer Logan Chien <loganchien@google.com> 2018-03-21 14:54:31 +0800
commita8f5158594fe4e72bc2c97d354621c1156666827 (patch)
tree82c6c236541b675fde7006513e17115d5f31b87c /java/java.go
parent28c68b9a760f437cae88709c382be2ca475a02e9 (diff)
Use PlatformVndkVersion to find ABI dump by default
This commit changes "current" to ctx.DeviceConfig.PlatformVndkVersion(). This change make it possible to place ABI dumps in prebuilts/abi-dumps/vndk/${version} instead of prebuilts/abi-dumps/vndk/current. If BOARD_VNDK_VERSION is not specified or is equal to "current", PLATFORM_VNDK_VERSION (either PLATFORM_SDK_VERSION or PLATFORM_VERSION_CODENAME) will be chosen. Currently, BOARD_VNDK_VERSION is always equal to "current" because both system and vendor images are built in a single source tree. In the future, if the system image and vendor images are separately built in different source trees, BOARD_VNDK_VERSION will be set to other values and we should respect that value. Test: Create an ABI dump under prebuilts/abi-dumps/vndk/${PLATFORM_VNDK_VERSION}, make some ABI breakages, and see whether the checks are working. Bug: 76036094 Change-Id: I6242e0c71ebd9acd5c4a3497c67539cb3e6663f3
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions