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

Issue 10950042: PNaCl: Build a PPAPI shims library for all architectures (Closed)

Created:
8 years, 3 months ago by Mark Seaborn
Modified:
8 years, 3 months ago
CC:
chromium-reviews, bradn
Visibility:
Public.

Description

PNaCl: Build a PPAPI shims library on all architectures Before, the shims library was only built on x86-64. We change it to build on x86-32 and ARM too, where we define _pnacl_wrapper_start() to be a trivial wrapper which immediately calls the user code's _start() function. This will mean we won't need an conditional for x86-64 in the translators. Since Gyp doesn't allow files to be excluded per architecture, I've put #ifdefs into shim_ppapi.c and pnacl_shim.c. BUG=http://code.google.com/p/nativeclient/issues/detail?id=3018 TEST=I checked that libpnacl_irt_shim.a builds OK in Scons Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158121

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -12 lines) Patch
M ppapi/generators/idl_gen_pnacl.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/generators/idl_gen_wrapper.py View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/nacl.scons View 1 chunk +17 lines, -9 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 3 chunks +7 lines, -1 line 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_entry.c View 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/shim_ppapi.c View 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mark Seaborn
8 years, 3 months ago (2012-09-20 00:49:12 UTC) #1
jvoung (off chromium)
http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py File ppapi/generators/idl_gen_wrapper.py (right): http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py#newcode433 ppapi/generators/idl_gen_wrapper.py:433: out.Write('\n/* The PNaCl PPAPI shims are only needed on ...
8 years, 3 months ago (2012-09-20 01:06:36 UTC) #2
Mark Seaborn
http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py File ppapi/generators/idl_gen_wrapper.py (right): http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py#newcode433 ppapi/generators/idl_gen_wrapper.py:433: out.Write('\n/* The PNaCl PPAPI shims are only needed on ...
8 years, 3 months ago (2012-09-20 03:56:24 UTC) #3
jvoung (off chromium)
Lgtm http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py File ppapi/generators/idl_gen_wrapper.py (right): http://codereview.chromium.org/10950042/diff/1/ppapi/generators/idl_gen_wrapper.py#newcode433 ppapi/generators/idl_gen_wrapper.py:433: out.Write('\n/* The PNaCl PPAPI shims are only needed ...
8 years, 3 months ago (2012-09-20 15:13:48 UTC) #4
Mark Seaborn
+sehr: I need an OWNERS review for ppapi/generators
8 years, 3 months ago (2012-09-20 16:28:35 UTC) #5
Mark Seaborn
+brettw: Can you sign off on this as an OWNER of ppapi/generators, please?
8 years, 3 months ago (2012-09-21 18:26:38 UTC) #6
sehr (please use chromium)
8 years, 3 months ago (2012-09-21 23:11:39 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698