blob: fd8c89fff07ed80ce5057851c0580b0d165dca6e [file] [log] [blame]
Joel Scherpelzf3fa5cc2017-05-22 12:30:03 +09001cc_library_shared {
2 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",
16 ],
17 export_include_dirs: ["include"],
18}
19
20cc_test {
21 name: "netdutils_test",
22 srcs: [
23 "SliceTest.cpp",
24 "StatusTest.cpp",
25 "FdTest.cpp",
26 "SyscallsTest.cpp",
27 ],
28 static_libs: ["libgmock"],
29 shared_libs: ["libnetdutils"],
30}