// Build the unit tests for installd
cc_test {
    name: "installd_utils_test",
    clang: true,
    srcs: ["installd_utils_test.cpp"],
    shared_libs: [
        "libbase",
        "liblog",
        "libutils",
        "libcutils",
    ],
    static_libs: [
        "libinstalld",
        "libdiskusage",
    ],
}

cc_test {
    name: "installd_cache_test",
    clang: true,
    srcs: ["installd_cache_test.cpp"],
    shared_libs: [
        "libbase",
        "libbinder",
        "libcutils",
        "liblog",
        "liblogwrap",
        "libselinux",
        "libutils",
    ],
    static_libs: [
        "libinstalld",
        "libdiskusage",
    ],
}

cc_test {
    name: "installd_service_test",
    clang: true,
    srcs: ["installd_service_test.cpp"],
    shared_libs: [
        "libbase",
        "libbinder",
        "libcutils",
        "liblog",
        "liblogwrap",
        "libselinux",
        "libutils",
    ],
    static_libs: [
        "libinstalld",
        "libdiskusage",
    ],
}
