libsnapshot: compile tests for both 32 and 64 bit

Bug: 360254891
Test: vts_libsnapshot_test
Change-Id: I7c49bf5e40c58022e1930e054ebc0bd9319b4da2
This commit is contained in:
Akilesh Kailash 2024-08-22 17:31:07 +00:00
parent 6e1b4c5a1e
commit 109eae5cd7
2 changed files with 21 additions and 2 deletions

View file

@ -285,7 +285,6 @@ cc_defaults {
],
auto_gen_config: true,
require_root: true,
compile_multilib: "first",
}
cc_test {
@ -298,6 +297,15 @@ cc_test {
"vts",
"general-tests",
],
compile_multilib: "both",
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
test_options: {
min_shipping_api_level: 30,
},
@ -315,6 +323,7 @@ cc_test {
test_suites: [
"general-tests",
],
compile_multilib: "64",
test_options: {
// Legacy VAB launched in Android R.
min_shipping_api_level: 30,

View file

@ -239,9 +239,19 @@ cc_defaults {
test_options: {
min_shipping_api_level: 30,
},
compile_multilib: "both",
multilib: {
lib32: {
suffix: "32",
},
lib64: {
suffix: "64",
},
},
auto_gen_config: true,
require_root: true,
compile_multilib: "first",
}
cc_test {