platform_system_security/identity/Android.bp
David Zeuthen a6f9fba382 Port credstore to IdentityCredential AIDL.
Bug: 111446262
Test: atest android.security.identity.cts
Test: VtsHalIdentityTargetTest
Test: android.hardware.identity-support-lib-test
Change-Id: I338b35f57f2bb7345c3f8f0c608c7a6213a0dc6b
2020-02-14 13:41:52 -05:00

87 lines
2.4 KiB
Text

cc_defaults {
name: "identity_defaults",
cflags: [
"-Wall",
// "-Werror",
"-Wextra",
"-Wunused",
],
sanitize: {
misc_undefined : ["integer"],
},
clang : true,
}
cc_binary {
name: "credstore",
defaults: ["identity_defaults"],
srcs: [
"main.cpp",
"CredentialStore.cpp",
"CredentialStoreFactory.cpp",
"WritableCredential.cpp",
"Credential.cpp",
"CredentialData.cpp",
"Util.cpp",
],
init_rc: ["credstore.rc"],
shared_libs: [
"libbase",
"libbinder",
"libkeystore_aidl",
"libcredstore_aidl",
"libutils",
"libhidlbase",
"android.hardware.identity-support-lib",
"libkeymaster4support",
"libkeystore-attestation-application-id",
],
static_libs: [
"android.hardware.identity-cpp",
"android.hardware.keymaster-cpp",
"libcppbor",
]
}
filegroup {
name: "credstore_aidl",
srcs: [
"binder/android/security/identity/ICredential.aidl",
"binder/android/security/identity/IWritableCredential.aidl",
"binder/android/security/identity/ICredentialStore.aidl",
"binder/android/security/identity/AccessControlProfileParcel.aidl",
"binder/android/security/identity/EntryNamespaceParcel.aidl",
"binder/android/security/identity/EntryParcel.aidl",
"binder/android/security/identity/RequestNamespaceParcel.aidl",
"binder/android/security/identity/RequestEntryParcel.aidl",
"binder/android/security/identity/ResultNamespaceParcel.aidl",
"binder/android/security/identity/ResultEntryParcel.aidl",
"binder/android/security/identity/GetEntriesResultParcel.aidl",
"binder/android/security/identity/AuthKeyParcel.aidl",
"binder/android/security/identity/SecurityHardwareInfoParcel.aidl",
"binder/android/security/identity/ICredentialStoreFactory.aidl",
],
path: "binder",
}
cc_library_shared {
name: "libcredstore_aidl",
srcs: [
":credstore_aidl",
],
aidl: {
export_aidl_headers: true,
include_dirs: [
"system/security/identity/binder",
],
},
shared_libs: [
"libbinder",
"libutils",
"libkeymaster4support",
],
export_shared_lib_headers: [
"libbinder",
],
}