Fix the calculation of package verification code which should not include algorithm information.

Bug: 293304694
Test: atest --host sbom_data_test
Test: build/soong/tests/sbom_test.sh
Change-Id: I94ea42284a9a6b5cc787a3489bfa575aa7663282
This commit is contained in:
Wei Li
2023-07-31 14:12:52 -07:00
parent 9997fdbacf
commit f99db9977c
3 changed files with 162 additions and 1 deletions

View File

@@ -53,5 +53,27 @@ python_test_host {
libs: [
"sbom_lib",
],
version: {
py3: {
embedded_launcher: true,
},
},
test_suites: ["general-tests"],
}
python_test_host {
name: "sbom_data_test",
main: "sbom_data_test.py",
srcs: [
"sbom_data_test.py",
],
libs: [
"sbom_lib",
],
version: {
py3: {
embedded_launcher: true,
},
},
test_suites: ["general-tests"],
}