27cb4eb4da
The problem was that VtsHalIdentityTargetTest was dynamically linking libraries that (currently) only are pulled in by the default IC HAL implementaiton. This caused linking problems when copying VtsHalIdentityTargetTest onto a device a running it. Fix this by only dynamically linking libbinder and libcrypto. Bug: 150475275 Test: VtsHalIdentityTargetTest runs on a device without Identity Credential. Change-Id: I4162cc81ade0373c31c96008f3a2bc95684fd2c2
22 lines
519 B
Text
22 lines
519 B
Text
cc_test {
|
|
name: "VtsHalIdentityTargetTest",
|
|
defaults: [
|
|
"VtsHalTargetTestDefaults",
|
|
"use_libaidlvintf_gtest_helper_static",
|
|
],
|
|
srcs: ["VtsHalIdentityTargetTest.cpp"],
|
|
shared_libs: [
|
|
"libbinder",
|
|
"libcrypto",
|
|
],
|
|
static_libs: [
|
|
"libcppbor",
|
|
"android.hardware.identity-support-lib",
|
|
"android.hardware.identity-cpp",
|
|
"android.hardware.keymaster-cpp",
|
|
],
|
|
test_suites: [
|
|
"general-tests",
|
|
"vts-core",
|
|
],
|
|
}
|