diff options
author | 2021-05-04 23:12:56 +0000 | |
---|---|---|
committer | 2021-05-11 01:26:16 +0000 | |
commit | bd5002b57ce855d1467cc647ea788dc9b56502d0 (patch) | |
tree | 4345d08af23e47514fdc946ef4a5989bef9e9187 /libs/binder/RpcSession.cpp | |
parent | 4fccd098967a1cad0a188672b801bf4e7b515079 (diff) |
libbinder: vsock compiles on host
Currently not tested, since connecting doesn't work. However, this helps
avoid the ifndef business.
Bug: 185269356
Test: binderRpcTest
Change-Id: I3b93e0a97e671d3d939979f00bc1e297f593a31d
Diffstat (limited to 'libs/binder/RpcSession.cpp')
-rw-r--r-- | libs/binder/RpcSession.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/binder/RpcSession.cpp b/libs/binder/RpcSession.cpp index f4a3cffa24..f406c2d7d0 100644 --- a/libs/binder/RpcSession.cpp +++ b/libs/binder/RpcSession.cpp @@ -61,14 +61,10 @@ bool RpcSession::setupUnixDomainClient(const char* path) { return setupSocketClient(UnixSocketAddress(path)); } -#ifdef __BIONIC__ - bool RpcSession::setupVsockClient(unsigned int cid, unsigned int port) { return setupSocketClient(VsockSocketAddress(cid, port)); } -#endif // __BIONIC__ - bool RpcSession::setupInetClient(const char* addr, unsigned int port) { auto aiStart = InetSocketAddress::getAddrInfo(addr, port); if (aiStart == nullptr) return false; |