blob: 79b449241d22abf1197aebea125117e2b11bb478 [file] [log] [blame]
Tri Voa4267722017-08-16 10:19:02 -07001cc_library {
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +09002 name: "libnetdutils",
3 srcs: [
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +09004 "Fd.cpp",
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +09005 "Netfilter.cpp",
6 "Netlink.cpp",
7 "Slice.cpp",
Joel Scherpelzde937962017-06-01 13:20:21 +09008 "Socket.cpp",
9 "Status.cpp",
10 "Syscalls.cpp",
11 "UniqueFd.cpp",
Joel Scherpelz01cc5492017-06-16 10:45:14 +090012 "UniqueFile.cpp",
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +090013 ],
14 shared_libs: [
15 "libbase",
ludi6e8eccd2017-08-14 14:40:37 -070016 "libbinder",
17 ],
18 export_shared_lib_headers: [
19 "libbase",
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +090020 ],
21 export_include_dirs: ["include"],
22}
23
24cc_test {
25 name: "netdutils_test",
26 srcs: [
27 "SliceTest.cpp",
28 "StatusTest.cpp",
29 "FdTest.cpp",
30 "SyscallsTest.cpp",
31 ],
32 static_libs: ["libgmock"],
33 shared_libs: ["libnetdutils"],
34}