blob: 739f33f50f59b0d96c20526c711c1a2ccaf2d59f [file] [log] [blame]
// Build the unit tests for installd
cc_test {
name: "installd_utils_test",
test_suites: ["device-tests"],
clang: true,
srcs: ["installd_utils_test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
"libutils",
"libcutils",
],
static_libs: [
"libdiskusage",
"libinstalld",
"liblog",
],
}
cc_test {
name: "installd_cache_test",
test_suites: ["device-tests"],
clang: true,
srcs: ["installd_cache_test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
"libbinder",
"libcrypto",
"libcutils",
"libselinux",
"libutils",
],
static_libs: [
"libdiskusage",
"libinstalld",
"liblog",
"liblogwrap",
],
}
cc_test {
name: "installd_service_test",
test_suites: ["device-tests"],
clang: true,
srcs: ["installd_service_test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
"libbinder",
"libcrypto",
"libcutils",
"libselinux",
"libutils",
],
static_libs: [
"libdiskusage",
"libinstalld",
"liblog",
"liblogwrap",
],
}
cc_test {
name: "installd_dexopt_test",
test_suites: ["device-tests"],
clang: true,
srcs: ["installd_dexopt_test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
"libbinder",
"libcrypto",
"libcutils",
"libselinux",
"libutils",
],
static_libs: [
"libdiskusage",
"libinstalld",
"liblog",
"liblogwrap",
],
}
cc_test {
name: "installd_otapreopt_test",
test_suites: ["device-tests"],
clang: true,
srcs: ["installd_otapreopt_test.cpp"],
cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",
"libcutils",
"libutils",
],
static_libs: [
"liblog",
"libotapreoptparameters"
],
}