4104b8803a
A toolbox implementation of modprobe will require libmodprobe. Change-Id: I7790576b828ad8cd5fae0c51926d8da9fb540d30
31 lines
607 B
Text
31 lines
607 B
Text
cc_library_static {
|
|
name: "libmodprobe",
|
|
cflags: [
|
|
"-Werror",
|
|
],
|
|
vendor_available: true,
|
|
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"],
|
|
}
|