Merge "Add defaults to identity-support-lib" am: 090c0bb61c

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2600949

Change-Id: Ic8237ddeb02723defff11c2edd60af9b02f981d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Devin Moore 2023-05-24 22:28:26 +00:00 committed by Automerger Merge Worker
commit 86f9925c58

View file

@ -22,15 +22,8 @@ package {
default_applicable_licenses: ["hardware_interfaces_license"],
}
cc_library {
name: "android.hardware.identity-support-lib",
vendor_available: true,
srcs: [
"src/IdentityCredentialSupport.cpp",
],
export_include_dirs: [
"include",
],
cc_defaults {
name: "android.hardware.identity-support-lib-deps",
shared_libs: [
"android.hardware.keymaster@4.0",
"libcrypto",
@ -47,19 +40,36 @@ cc_library {
],
}
cc_library {
name: "android.hardware.identity-support-lib",
vendor_available: true,
defaults: [
"android.hardware.identity-support-lib-deps",
],
srcs: [
"src/IdentityCredentialSupport.cpp",
],
export_include_dirs: [
"include",
],
}
cc_test {
name: "android.hardware.identity-support-lib-test",
srcs: [
"tests/IdentityCredentialSupportTest.cpp",
],
defaults: [
"android.hardware.identity-support-lib-deps",
],
shared_libs: [
"android.hardware.identity-support-lib",
"libcrypto",
"libbase",
"libhidlbase",
"libhardware",
],
static_libs: [
"android.hardware.identity-support-lib",
"libcppbor_external",
"libgmock",
],