Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 090c0bb6 authored by Devin Moore's avatar Devin Moore Committed by Gerrit Code Review
Browse files

Merge "Add defaults to identity-support-lib"

parents b44a84db 8790fa3f
Loading
Loading
Loading
Loading
+20 −10
Original line number Diff line number Diff line
@@ -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",
    ],