VIC is set to REL. Accordingly, set FINAL_STATE to 'rel' to prevent the
finalization scripts from running steps that have already been merged.
Bug: 335304236
Test: treehugger (main-fina-2-release succeed)
Ignore-AOSP-FIRST: arrives in aosp with ap3a
Change-Id: Id42c3ae2ffead62ac6019690f0586d8db8d22ef8
Next release configuration maps the codename to the finalized API
level, but fina_2 doesn't.
Ignore-AOSP-First: Finalization scripts are not on AOSP
Test: build/make/tools/finalization/finalize-sdk-rel.sh
Bug: 340507697
Change-Id: I00e55bf350ff5b5f5b10f9e74ceff38b0660dde3
Test: build/make/tools/finalization/finalize-vintf-resources.sh
Bug: 314010764
Ignore-AOSP-First: Finalization scripts are not on AOSP
Change-Id: Ibe77d2f2aa70d3cc85086c00bb3eba00da0986f5
It's not bromine, it's not a gauge of film: it's the next Android
release.
Set final state to "sdk" marking step-1 of finalization as complete.
Ignore-AOSP-First: Finalization is not performed in AOSP.
Bug: 335304236
Test: presubmit
Change-Id: Ifebf6ce36c5aa5c987d434085ca812f18e97ad4f
In trunk stable, the ABI dumps in "current" directory are not what we
intend to finalize. They need to be removed. The step will be replaced
with a command that builds ABI dumps.
Ignore-AOSP-First: merge conflict
Test: build/make/tools/finalization/finalize-sdk-rel.sh
Bug: 333532038
Change-Id: I08896b637b34861e73cff4d829941d9fb5c56475
--build-release=latest => Include all new APIs in API tracking files
along with the @FlaggedAPI annotation prefix.
--build-release=next => Include only those new APIs in API tracking
files for which the flag is enabled. Also the @FlaggedAPI annotation
prefix is removed from API tracking files.
Ignore-AOSP-first: VIC finalization happens outside AOSP
Bug: 335454564
Test: croot && build/tools/finalization/localonly-steps.sh
Change-Id: I3fdd71ac385835b3b961336d86604e86dfed31cf
The ADB keys have already been generated for Android 15. Remove that
step from the scripts.
Bug: 323940469
Test: TH
Ignore-AOSP-first: VIC finalization happens outside AOSP
Change-Id: I83184740bfc1db3104e320b76638253a5892507c
This is a revert of aosp/2573034, but as a separate cl because the
filename has been changed. We're reverting aosp/2573034 because the
bazel migration has been cancelled and that api_constants.bzl file
was changed to not be used.
Ignore-AOSP-First: Someone else renamed this file in internal-only.
Bug: 315353489
Test: Manually ran this snippet of shell script
Change-Id: I3a51be1119109d2a6cf3959bdc8a48192872580f
Teach step-*.sh to re-use the same branch name if running in dry-run
mode. This is useful for running the steps sequentially: if using
different branch names, each 'repo start' will undo the changes created
during the previous step-*.sh.
Bug: 323940469
Test: croot && build/tools/finalization/step-1.sh --dry-run && build/tools/finalization/step-2.sh --dry-run
Ignore-AOSP-first: VIC finalization happens outside AOSP
Change-Id: I720f294f6abf5a8b276bb30f8c531fcbea749b76
That variable is used to ensure all VINTF interfaces are frozen and is
needed for vFRC/VINTF finalization is step-0.
Since SDK finalization (step-1 and step-2) are done at a different time,
they shouldn't care about unfrozen VINTF interfaces.
Ignore-AOSP-First: b/304316873#comment10
Test: na
Bug: 333039895
Change-Id: Ica6807599d5b18078ecea96d939e147d4785749e
Teach the step-*.sh scripts to parse command line options. Add support
for --dry-run, which will skip the part where the CLs are uploaded:
useful for local experiments.
Bug: 323940469
Test: croot && build/tools/finalization/step-1.sh --dry-run # verify no CLs uploaded
Ignore-AOSP-first: VIC finalization happens outside AOSP
Change-Id: Ia58da02ae7a69c24f8332c90d1c779884e3a1dab
Add new folks working on finalization, remove folks no longer working on
it.
Also, sort the entires alphabetically.
Bug: 323940469
Test: N/A
Change-Id: Ib8f6c3f485a06e3d1269e4142317174ae7ac276b
Keep codenames in the platform_versions.txt to allow for non-REL builds.
Bug: 323940469
Test: local run
Ignore-AOSP-First: Release configs are interal repo only.
Change-Id: I664ac1c32c3aae5175d3b7a36ac763b35181bc22
Keep isAtLeast* functions compatible with older release configs.
Fixes: 329312253
Test: local run + presubmit
Ignore-AOSP-First: release configs present in internal repo only
Change-Id: I776dd808e2e01e8a1c7a6f9b6171fd84f49cdcdf
- keep previous platform versions in platform_releases.txt,
- fix for the build version test,
- after discussion with Yuri, keep non-REL resource sdk_int the same.
Bug: 323940469
Test: local run
Ignore-AOSP-First: release configs present in internal repo only
Change-Id: I6637e109191480ded615ef35c9185d927ddaec40
Update the state to 'vintf' so we don't try to re-finalize the same
level.
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: I06530eedaeb69cc9d4a9b3af5b91a101ab2eab7d
Make sure we aren't making backward incompatible changes to the
framework HALs that system serves.
Ignore-AOSP-First: b/304316873#comment10
Test: ./finalize-vintf-resources.sh
Bug: 266741352
Change-Id: I056f2e6f92cdd496b88dc52bcd1c7a51e9ffb85f
During vintf finalization we need to create a new compatibility matrix
and kernel configs for that new level. There is an existing script that
can already do this! Use it!
Ignore-AOSP-First: b/304316873#comment10
https://android-build.corp.google.com/builds/abtd/run/L07600030001757459
Test: ./finalize-vintf-resources.sh
Bug: 279809333
Change-Id: Ie97c762943445c8c95a8ebf0ea1b8c6610dc69b2
Define `vintf` state that have completed vintf finalization only.
Only if FINAL_STATE is 'unfinalized' run the vintf finalization
process to finalize vintf.
The new step-0 only runs the vintf finalization.
Ignore-AOSP-First: trunk-stable changes (b/304316873)
Bug: 318883690
Test: build-step-0.sh && build/soong/soong_ui.bash \
--make-mode TARGET_PRODUCT=cf_x86_64_phone TARGET_RELEASE=fina_0 \
TARGET_BUILD_VARIANT=userdebug droid dist
Change-Id: If3525f38204fa546744b9ccf8dc9e63711823abd
Since we no longer have the VNDK, we don't need
to update this file.
Fixes: 318888218
Test: todo ABDT
Change-Id: I4c4380292ca92fedfe12b80c46bed5cbef240a2e
Now that the VNDK is deprecated, we can remove all
references in the finalization script. This is a no-op
since it is only removing comments.
Bug: 318888218
Test: `grep -rin vndk` no output
Change-Id: Ia07dffc21d5e02e6d6d52400a2fdf6572242c160
Sometimes the output wasn't grep-able and this fixes it.
Ignore-AOSP-First: b/304316873#comment10
Test: Run the bazel query command multiple times before/after
and verify it works 100% of the time after.
Bug: 320589170
Change-Id: Ic60d3318287353aa71fdeb2c540899d588a2d273
This year's vintf levels changed from 9 to 202404, so the levels in the
finalization script need to change.
Ignore-AOSP-First: b/304316873#comment10
Test: ./finalize-vintf-resources.sh
Bug: 320589170
Change-Id: I2e9b3953233c8d032f44f379546919b9f3642a6f
Creates the next version of the file based on the previous.
Replaces the "level" value with the new one in the file.
Adds a new Android.bp module that inherits from the previous.
Adds the current matrix file unconditional to all builds.
Adds the new matrix file contintionally based on release config.
This is used in finalize-vintf-resources.sh.
Ignore-AOSP-First: b/304316873#comment10
Test: ./finalize-vintf-resources.sh
Bug: 279809333
Change-Id: Ic14b3b82a33af3cce7a738dce5ad48112b8fb33d
This splits out the AIDL/VNDK/sepolicy stuff from the SDK
finalization. However, in CI, we still do the vFRC step
as part of the first step.
We'll probably want to do some of the following:
- (maybe) add CI for the first step - a 'fina-0' branch
- add a way to do SDK finalizatoin without VINTF finalization
because after VINTF finalization is submitted, people will
develop in-progress interfaces that aren't done yet
- a lot of VINTF finalization is still not automated, so things
like sepolicy and LL-NDK need to be added here.
Ignore-AOSP-First: b/304316873#comment10
Bug: 314010935
Test: N/A
Change-Id: I4831a14f5c5c3d757bd1d10a775d8cf4940d9a4a
alexbuy@ said:
please remove both update-* scripts. they were part of r&d project
that was never finished
Ignore-AOSP-First: b/304316873#comment10
Bug: 314010935
Test: N/A
Change-Id: Iecc22cc860ba67fec336adb0c5b93f51677dc9ce
Build from text stub feature was initially implemented to improve build
performance and may be unstable for api finalization, as the stubs
generated from api signature files miss some methods, which may cause
backward compatibility issues. Therefore, this change disables building
from text stub for api finalization.
Test: build/tools/finalization/finalize-aidl-vndk-sdk-resources.sh and inspect generated ninja file to verify that the stubs are generated from source Java files.
Bug: 310279899
Change-Id: I9d374e973788bc97514815f64eeb949a94a97647
Ignore-AOSP-First: local first
Bug: 304316873
Test: build/make/tools/finalization/build-step-1-and-2.sh
Change-Id: I6d5c6d58cad755f44766a77583dfbbd7d612fed4