Attempt to make libavb test working in CI

Test: presubmit
Bug: 178215452
Change-Id: I82d847e05a2fddf3037a8f97793e24a593230ba7
This commit is contained in:
Julien Desprez 2021-01-21 18:35:45 -08:00
parent c7e586a7bf
commit f8d9765e0a
1 changed files with 15 additions and 0 deletions

View File

@ -91,12 +91,19 @@ cc_test_host {
name: "libfs_avb_test",
defaults: ["libfs_avb_host_test_defaults"],
test_suites: ["general-tests"],
test_options: {
unit_test: true,
},
static_libs: [
"libfs_avb_test_util",
],
shared_libs: [
"libcrypto",
],
data: [
":avbtool",
":fec",
],
srcs: [
"tests/basic_test.cpp",
"tests/fs_avb_test.cpp",
@ -108,9 +115,17 @@ cc_test_host {
name: "libfs_avb_internal_test",
defaults: ["libfs_avb_host_test_defaults"],
test_suites: ["general-tests"],
test_options: {
unit_test: true,
},
static_libs: [
"libfs_avb_test_util",
],
compile_multilib: "first",
data: [
":avbtool",
":fec",
],
srcs: [
"avb_util.cpp",
"util.cpp",