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 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
OS and the finalization scripts use sdk_int - 1 in way too many places.
Bug: 275409981
Test: run locally
Change-Id: If4896a3eb0a6afadac5dbfd6ad455427d1c23d41
The command that creates ABI dumps was written for testing purpose.
It creates the ABI dumps for aosp_arm64-user. The complete finalization
process should create ABI dumps for all supported architectures. This
commit removes the command parameters so that it will create all ABI
dumps by default.
Test: out/host/linux-x86/bin/create_reference_dumps
Bug: 276503801
Change-Id: Id6fbbac512a13d085ea74fec6e8b137485639467
- actually do the first step instead of just logging a message,
- make sure extension SDK bump gets picked up by the topic,
- fix the resources_sdk_int in first step, and unfix in the second.
Bug: 278246368
Fixes: 278246368
Test: local run
Change-Id: I0d0f4e2ec7f0b584b9fc14a545cfec73a9fcbdea
- add a mode to disable finalization steps if they were already merged,
- add the extension version into commit message.
Bug: 243966946
Test: local run
Change-Id: I51505e5d5715b56f3b385d714e1aabaae06f58ed
Because prebuilts/abi-dumps/ndk/current contains additional ABI dumps
that are not included in the finalization process, the script copies
only the subdirectory to the finalized ABI dump directory.
Test: ./finalize-sdk-rel.sh
Bug: 276503801
Change-Id: I76287cf110323baf40035a957564a1e8f39e8015