platform_system_core/libmodprobe/Android.bp
Junki Min c8dc7ffd5e toolbox/libmodprobe: add toolbox to vendor_ramdisk
toolbox and libmodprobe are required for module loading before
first stage init begin.

BUG: 329807942
Signed-off-by: Junki Min <joonki.min@samsung.com>
Change-Id: Icf04888e602b012758ebf353ed8e4aff2585fd07
2024-03-18 17:35:26 +09:00

38 lines
768 B
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library_static {
name: "libmodprobe",
cflags: [
"-Werror",
],
vendor_available: true,
ramdisk_available: true,
recovery_available: true,
vendor_ramdisk_available: true,
host_supported: 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"],
}