2019-04-16 02:43:02 +02:00
|
|
|
cc_library_static {
|
|
|
|
name: "libmodprobe",
|
|
|
|
cflags: [
|
|
|
|
"-Werror",
|
|
|
|
],
|
2019-07-30 20:55:49 +02:00
|
|
|
vendor_available: true,
|
2019-04-16 02:43:02 +02:00
|
|
|
recovery_available: true,
|
|
|
|
srcs: [
|
|
|
|
"libmodprobe.cpp",
|
|
|
|
"libmodprobe_ext.cpp",
|
|
|
|
],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
],
|
|
|
|
export_include_dirs: ["include/"],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
name: "libmodprobe_tests",
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
],
|
|
|
|
local_include_dirs: ["include/"],
|
|
|
|
srcs: [
|
|
|
|
"libmodprobe_test.cpp",
|
|
|
|
"libmodprobe.cpp",
|
|
|
|
"libmodprobe_ext_test.cpp",
|
|
|
|
],
|
|
|
|
test_suites: ["device-tests"],
|
|
|
|
}
|