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

Issue 1240343004: NaCl: Copy PNaCl translator IRT interfaces to the Chromium side (Closed)

Created:
5 years, 5 months ago by Mark Seaborn
Modified:
5 years, 5 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NaCl: Copy PNaCl translator IRT interfaces to the Chromium side Add a copy of the existing SRPC-based implementation -- native_client/src/untrusted/irt/irt_pnacl_translator_{compile,link}.c -- to the Chromium side. This will allow the two implementations to be independently changed to remove use of SRPC. In copying this code, I have made some changes to follow the Chromium style: * Switching to C++ and using C++ comments * Using anon namespaces instead of "static" * "*" spacing (using clang-format) * "FooBar" function naming instead of "foo_bar" * Using the Chromium copyright notice BUG=302078 TEST=e.g. NaClBrowserTestPnacl.PPAPICore in browser_tests (also manually tested with NaCl-side interface disabled, to ensure the Chromium-side one is really being used) Committed: https://crrev.com/d735c8b9e7d1c2267d65a357e9a3541358e846e2 Cr-Commit-Position: refs/heads/master@{#339825}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -0 lines) Patch
M ppapi/nacl_irt/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/nacl_irt/irt_interfaces.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/nacl_irt/irt_interfaces.cc View 2 chunks +16 lines, -0 lines 0 comments Download
A ppapi/nacl_irt/irt_pnacl_translator_compile.cc View 1 chunk +117 lines, -0 lines 3 comments Download
A ppapi/nacl_irt/irt_pnacl_translator_link.cc View 1 chunk +61 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240343004/1
5 years, 5 months ago (2015-07-21 18:48:52 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/46831)
5 years, 5 months ago (2015-07-21 19:58:37 UTC) #5
Mark Seaborn
5 years, 5 months ago (2015-07-21 20:16:53 UTC) #6
jvoung (off chromium)
LGTM https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc File ppapi/nacl_irt/irt_pnacl_translator_compile.cc (right): https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc#newcode6 ppapi/nacl_irt/irt_pnacl_translator_compile.cc:6: #include <string.h> Could use cstring
5 years, 5 months ago (2015-07-21 21:58:06 UTC) #7
Mark Seaborn
https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc File ppapi/nacl_irt/irt_pnacl_translator_compile.cc (right): https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc#newcode6 ppapi/nacl_irt/irt_pnacl_translator_compile.cc:6: #include <string.h> On 2015/07/21 21:58:06, jvoung wrote: > Could ...
5 years, 5 months ago (2015-07-21 23:32:30 UTC) #8
jvoung (off chromium)
https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc File ppapi/nacl_irt/irt_pnacl_translator_compile.cc (right): https://codereview.chromium.org/1240343004/diff/1/ppapi/nacl_irt/irt_pnacl_translator_compile.cc#newcode6 ppapi/nacl_irt/irt_pnacl_translator_compile.cc:6: #include <string.h> On 2015/07/21 23:32:30, Mark Seaborn wrote: > ...
5 years, 5 months ago (2015-07-21 23:39:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240343004/1
5 years, 5 months ago (2015-07-21 23:44:43 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/80732)
5 years, 5 months ago (2015-07-21 23:55:37 UTC) #13
Mark Seaborn
+bbudge for OWNERS sign off on the gyp/gn files.
5 years, 5 months ago (2015-07-21 23:59:30 UTC) #15
bbudge
lgtm
5 years, 5 months ago (2015-07-22 01:26:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1240343004/1
5 years, 5 months ago (2015-07-22 02:50:07 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 5 months ago (2015-07-22 02:55:15 UTC) #19
commit-bot: I haz the power
5 years, 5 months ago (2015-07-22 02:55:50 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d735c8b9e7d1c2267d65a357e9a3541358e846e2
Cr-Commit-Position: refs/heads/master@{#339825}

Powered by Google App Engine
This is Rietveld 408576698