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