Commit Graph

13 Commits

Author SHA1 Message Date
Hsin-Yi Chen
a7d2200a71 Add the step to generate LLNDK ABI dumps
Test: build/make/tools/finalization/finalize-vintf-resources.sh
Bug: 314010764
Ignore-AOSP-First: Finalization scripts are not on AOSP
Change-Id: Ibe77d2f2aa70d3cc85086c00bb3eba00da0986f5
2024-04-30 02:43:21 +00:00
Devin Moore
63d4b06b18 Merge "finalization: add a step to freeze the framework manifest" into main 2024-02-16 20:32:01 +00:00
Devin Moore
bdc54ada9d finalization: add a step to freeze the framework manifest
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
2024-02-15 18:46:20 +00:00
Treehugger Robot
9292413f7c Merge "Use full path for sepolicy finalization script" into main 2024-02-12 17:30:46 +00:00
Devin Moore
56f8a77012 Use existing script to create new compatibility matrix
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
2024-02-09 18:10:40 +00:00
Justin Yun
7c28c2327d Define step-0 for vintf finalization
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
2024-02-06 11:56:00 +09:00
Devin Moore
df129fbbf9 Use full path for sepolicy finalization script
Otherwise we can only run main script from ANDROID_BUILD_TOP

Ignore-AOSP-First: b/304316873#comment10

https://android-build.corp.google.com/builds/abtd/run/L79300030001797715

Test: ./finalize-vintf-resources.sh
Bug: none
Change-Id: Id9a8c27b9ceb6741c0990d2189bb555d1f60c89d
2024-02-03 00:51:55 +00:00
Inseob Kim
9d5066b5f2 Move sepolicy finalization to vintf
Ignore-AOSP-First: b/304316873#comment10

Bug: 314010177
Test: ABTD run with fina-1 and fina-2
Change-Id: I5324eb0c619b9d3ddc5fcda0ce52f614f8596f6c
2024-01-30 03:34:56 +00:00
Steven Moreland
b5f5e2d8da finalization: remove VNDK current.txt copy
Since we no longer have the VNDK, we don't need
to update this file.

Fixes: 318888218
Test: todo ABDT
Change-Id: I4c4380292ca92fedfe12b80c46bed5cbef240a2e
2024-01-29 18:34:03 +00:00
Devin Moore
395d5e32e2 Capture queryview stderr and stdout in finalization scripts
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
2024-01-17 16:51:10 +00:00
Devin Moore
196c1b5352 Update vintf levels for finalization script
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
2024-01-17 16:50:59 +00:00
Devin Moore
a1339afbb3 Add new function to create a new compat matrix for finalization
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
2024-01-13 00:21:44 +00:00
Steven Moreland
0f84e4b21c Split finalization scripts between vFRC and sFRC.
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
2023-12-27 00:24:00 +00:00