1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_library_static {
6    name: "libmodprobe",
7    cflags: [
8        "-Werror",
9    ],
10    vendor_available: true,
11    recovery_available: true,
12    srcs: [
13        "libmodprobe.cpp",
14        "libmodprobe_ext.cpp",
15    ],
16    shared_libs: [
17        "libbase",
18    ],
19    export_include_dirs: ["include/"],
20}
21
22cc_test {
23    name: "libmodprobe_tests",
24    cflags: ["-Werror"],
25    shared_libs: [
26        "libbase",
27    ],
28    local_include_dirs: ["include/"],
29    srcs: [
30        "libmodprobe_test.cpp",
31        "libmodprobe.cpp",
32        "libmodprobe_ext_test.cpp",
33    ],
34    test_suites: ["device-tests"],
35}
36