Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1143)

Issue 670773004: Update socket_libevent.cc to build on android (Closed)

Created:
6 years, 1 month ago by jamesr
Modified:
6 years, 1 month ago
Reviewers:
Chris Masone
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Project:
mojo
Visibility:
Public.

Description

Update socket_libevent.cc to build on android Android ships with crazy old system headers that don't include the SOCK_NONBLOCK define. Since this is easy to live without, update the domain socket code to set the socket to nonblocking using an fcntl when built without this define. Still use SOCK_NONBLOCK when available since it's cheaper to avoid the fcntl. R=cmasone@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/d15579edf090dfdcad350bcc4f50e94e1dd7e276

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -10 lines) Patch
M mojo/shell/domain_socket/socket_libevent.cc View 3 chunks +18 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
jamesr
6 years, 1 month ago (2014-10-27 07:09:32 UTC) #1
Chris Masone
lgtm
6 years, 1 month ago (2014-10-27 17:03:56 UTC) #2
jamesr
6 years, 1 month ago (2014-10-27 18:04:10 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d15579edf090dfdcad350bcc4f50e94e1dd7e276 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698