2021-02-17 04:02:14 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
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,
|
2021-06-11 05:58:53 +02:00
|
|
|
ramdisk_available: true,
|
2019-04-16 02:43:02 +02:00
|
|
|
recovery_available: true,
|
2024-03-18 09:35:26 +01:00
|
|
|
vendor_ramdisk_available: true,
|
2023-03-30 00:14:38 +02:00
|
|
|
host_supported: true,
|
2019-04-16 02:43:02 +02:00
|
|
|
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"],
|
|
|
|
}
|