Steven Moreland | d0d759d | 2017-04-24 17:15:31 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | name: "libsysutils", |
Jayant Chowdhary | a1bdd24 | 2017-05-16 14:53:23 -0700 | [diff] [blame] | 3 | vendor_available: true, |
Justin Yun | 6a7e882 | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 4 | vndk: { |
| 5 | enabled: true, |
| 6 | }, |
Jayant Chowdhary | a1bdd24 | 2017-05-16 14:53:23 -0700 | [diff] [blame] | 7 | |
Steven Moreland | d0d759d | 2017-04-24 17:15:31 -0700 | [diff] [blame] | 8 | srcs: [ |
| 9 | "src/SocketListener.cpp", |
| 10 | "src/FrameworkListener.cpp", |
| 11 | "src/NetlinkListener.cpp", |
| 12 | "src/NetlinkEvent.cpp", |
| 13 | "src/FrameworkCommand.cpp", |
| 14 | "src/SocketClient.cpp", |
| 15 | "src/ServiceManager.cpp", |
| 16 | ], |
| 17 | |
| 18 | logtags: ["EventLogTags.logtags"], |
| 19 | |
| 20 | cflags: ["-Werror"], |
| 21 | |
| 22 | shared_libs: [ |
| 23 | "libbase", |
| 24 | "libcutils", |
| 25 | "liblog", |
Steven Moreland | d0d759d | 2017-04-24 17:15:31 -0700 | [diff] [blame] | 26 | ], |
| 27 | |
| 28 | export_include_dirs: ["include"], |
| 29 | } |
Bernie Innocenti | 763ccaa | 2018-06-05 22:32:34 +0900 | [diff] [blame] | 30 | |
| 31 | cc_test { |
| 32 | name: "libsysutils_tests", |
| 33 | test_suites: ["device-tests"], |
| 34 | srcs: [ |
| 35 | "src/SocketListener_test.cpp", |
| 36 | ], |
| 37 | shared_libs: [ |
| 38 | "libbase", |
| 39 | "libcutils", |
| 40 | "libsysutils", |
| 41 | ], |
| 42 | } |