summaryrefslogtreecommitdiff
path: root/python/python_test.go
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2018-03-21 11:53:48 +0800
committer Jayant Chowdhary <jchowdhary@google.com> 2018-03-23 16:31:04 -0700
commitb7515421d10cddd56cfb64c4428dfabe0ffa8c85 (patch)
tree6d654fb48f049ae5347fd5c7b217df889f1efc53 /python/python_test.go
parentb785b616218f11a6863ae9917076f8464aa7125e (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 Merged-In: I6242e0c71ebd9acd5c4a3497c67539cb3e6663f3 Change-Id: I6242e0c71ebd9acd5c4a3497c67539cb3e6663f3 (cherry picked from commit a8f5158594fe4e72bc2c97d354621c1156666827)
Diffstat (limited to 'python/python_test.go')
0 files changed, 0 insertions, 0 deletions