blob: c2f97abd393870b36e58c496ab847d2b3300f712 [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 Scherpelzf3fa5cc2017-05-22 12:30:03 +090012 ],
13 shared_libs: [
14 "libbase",
15 ],
16 export_include_dirs: ["include"],
17}
18
19cc_test {
20 name: "netdutils_test",
21 srcs: [
22 "SliceTest.cpp",
23 "StatusTest.cpp",
24 "FdTest.cpp",
25 "SyscallsTest.cpp",
26 ],
27 static_libs: ["libgmock"],
28 shared_libs: ["libnetdutils"],
29}