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