We want to run bump.py during finalization. We don't want to have to
update Level.h and the VTS tests that early.
So this CL removes the dependency on Level.h and requires the
current/next letters of the API levels for the kernerl configs to be
passed as arguments.
Test: bump.py 202404 202505 v w
Bug: 279809333
Change-Id: If8f281eccf62d380949a5ea9f5d0d3bb2d7f19ab
The next year's compatbility matrix is added to a conditional statement
so it's only available on in-development release configurations.
The curent year's compatibility matrix is moved from the conditional
statement to always be added to all release configs.
The next year's compatibility matrix level is set to the next year's
level after copying the current matrix file.
Test: ./bump.py
Bug: 279809333
Change-Id: Id711ba79110c8775f715eddf37a9bf51b073ec91
Add a `bump.py` script that does the following:
- Create a commit in kernel/configs with the new versions
- Copy the latest compatibility matrix to a new compatibility matrix
- Fix Android.bp and Android.mk
Prerequisite:
- libvintf/Level.h must contain the mapping for the next release.
Test: bump.py 9 10
Bug: 279809082
Change-Id: I4520a128b39f66a03f22d24218348f5fff92e9cd