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

Issue 659243002: Non-SFI Mode: Build ipc/ library by PNaCl toolchain for nacl_helper_nonsfi. (Closed)

Created:
6 years, 2 months ago by hidehiko
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, hamaji, Junichi Uekawa, mazda
Base URL:
https://chromium.googlesource.com/chromium/src.git/+/master
Project:
chromium
Visibility:
Public.

Description

Non-SFI Mode: Build ipc/ library by PNaCl toolchain for nacl_helper_nonsfi. This CL is to build ipc/ for nacl_helper_nonsfi. The library is similar to ipc_nacl, but slightly different: - The IPC::Channel should use ChannelPosix rather than ChannelNaCl, as it runs under linux directly. - Some features of ChannelPosix cannot be compiled by PNaCl toolchain for Non-SFI build, but these are not necessary for nacl_helper_nonsfi. These are dropped by "ifdef" guard. Note that this library is not used yet, but should be built successfully. BUG=358465 TEST=Ran trybot. Implement nacl_helper_nonsfi on top of this CL, and made sure it works. Committed: https://crrev.com/c2eec0d81f92df06e614e104eba8b3e12bbc6030 Cr-Commit-Position: refs/heads/master@{#301037}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 15

Patch Set 5 : Rebase #

Patch Set 6 : #

Total comments: 16

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -13 lines) Patch
M components/nacl_nonsfi.gyp View 1 2 3 4 5 6 3 chunks +16 lines, -0 lines 0 comments Download
M ipc/ipc_channel.h View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M ipc/ipc_channel.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M ipc/ipc_channel_posix.cc View 1 2 3 4 5 6 11 chunks +39 lines, -3 lines 0 comments Download
M ipc/ipc_channel_proxy.h View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M ipc/ipc_channel_proxy.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M ipc/ipc_nacl.gyp View 1 2 3 4 5 6 1 chunk +31 lines, -1 line 0 comments Download

Messages

Total messages: 30 (7 generated)
hidehiko
Mark, could you review this from the project point of view? Dave, could you review ...
6 years, 2 months ago (2014-10-17 08:14:55 UTC) #2
Junichi Uekawa
https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel.cc File ipc/ipc_channel.cc (left): https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel.cc#oldcode13 ipc/ipc_channel.cc:13: #if !defined(OS_NACL) This is going to introduce a new ...
6 years, 2 months ago (2014-10-17 10:31:13 UTC) #4
hidehiko
PTAL. https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel.cc File ipc/ipc_channel.cc (left): https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel.cc#oldcode13 ipc/ipc_channel.cc:13: #if !defined(OS_NACL) On 2014/10/17 10:31:13, Junichi Uekawa wrote: ...
6 years, 2 months ago (2014-10-20 06:02:28 UTC) #5
hamaji
https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel_posix.cc#newcode350 ipc/ipc_channel_posix.cc:350: // IPC channels in nacl_helper_nonsfi should not be NAMED ...
6 years, 2 months ago (2014-10-20 06:37:41 UTC) #7
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc (right): https://codereview.chromium.org/659243002/diff/1/ipc/ipc_channel_posix.cc#newcode350 ipc/ipc_channel_posix.cc:350: // IPC channels in ...
6 years, 2 months ago (2014-10-20 09:25:29 UTC) #8
hidehiko
FYI: Rebased and applied Mark's comment for crrev.com/649183005. Thanks, - hidehiko On 2014/10/20 09:25:29, hidehiko ...
6 years, 2 months ago (2014-10-20 19:05:49 UTC) #9
dmichael (off chromium)
I'm wishing there was a cleaner way to distinguish the cases of: POSIX, normal/non-NaCl POSIX, ...
6 years, 2 months ago (2014-10-20 19:17:21 UTC) #11
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/659243002/diff/40001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/659243002/diff/40001/ipc/ipc_channel.h#newcode183 ipc/ipc_channel.h:183: (!defined(OS_NACL) || defined(__native_client_nonsfi__)) On ...
6 years, 2 months ago (2014-10-20 20:22:00 UTC) #12
hidehiko
Hi, friendly ping? On 2014/10/20 20:22:00, hidehiko wrote: > Thank you for review. PTAL. > ...
6 years, 2 months ago (2014-10-21 19:23:03 UTC) #13
Mark Seaborn
https://codereview.chromium.org/659243002/diff/60001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/659243002/diff/60001/ipc/ipc_channel.h#newcode184 ipc/ipc_channel.h:184: // Here, as for NaCl, the IPC library for ...
6 years, 2 months ago (2014-10-22 00:35:51 UTC) #14
hidehiko
Thank you for review. PTAL. https://codereview.chromium.org/659243002/diff/60001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/659243002/diff/60001/ipc/ipc_channel.h#newcode184 ipc/ipc_channel.h:184: // Here, as for ...
6 years, 2 months ago (2014-10-22 13:31:06 UTC) #15
Mark Seaborn
LGTM, but can you take out the PID-related parts, please? (See below.) https://codereview.chromium.org/659243002/diff/60001/ipc/ipc_channel_posix.cc File ipc/ipc_channel_posix.cc ...
6 years, 2 months ago (2014-10-23 03:33:49 UTC) #16
Junichi Uekawa
lgtm https://codereview.chromium.org/659243002/diff/100001/ipc/ipc_channel.h File ipc/ipc_channel.h (right): https://codereview.chromium.org/659243002/diff/100001/ipc/ipc_channel.h#newcode204 ipc/ipc_channel.h:204: #if !defined(OS_NACL) || defined(__native_client_nonsfi__) optional: I wish we ...
6 years, 2 months ago (2014-10-23 05:34:24 UTC) #17
Mark Seaborn
On 22 October 2014 22:34, <uekawa@chromium.org> wrote: > lgtm > > > https://codereview.chromium.org/659243002/diff/100001/ipc/ipc_channel.h > File ...
6 years, 2 months ago (2014-10-23 06:32:44 UTC) #18
hamaji
lgtm
6 years, 2 months ago (2014-10-23 08:24:01 UTC) #19
hidehiko
Thank you for review. Rebased and addressed Mark's comments. jam@, could you take a look? ...
6 years, 2 months ago (2014-10-23 14:19:10 UTC) #21
jam
I'm not a good reviewer here, please use another owner
6 years, 2 months ago (2014-10-23 22:46:01 UTC) #22
dmichael (off chromium)
lgtm
6 years, 2 months ago (2014-10-23 22:58:52 UTC) #24
dmichael (off chromium)
(but please do follow up later with the suggested pre-compiler defines)
6 years, 2 months ago (2014-10-23 22:59:51 UTC) #25
hidehiko
Thank you for review. Submitting. On 2014/10/23 22:59:51, dmichael wrote: > (but please do follow ...
6 years, 2 months ago (2014-10-24 02:12:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659243002/140001
6 years, 2 months ago (2014-10-24 02:14:21 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:140001)
6 years, 2 months ago (2014-10-24 03:49:35 UTC) #29
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 03:50:35 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c2eec0d81f92df06e614e104eba8b3e12bbc6030
Cr-Commit-Position: refs/heads/master@{#301037}

Powered by Google App Engine
This is Rietveld 408576698