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

Issue 412083002: [NaCl SDK] Allow ppapi_simple executables to run in both sel_ldr and in chrome. (Closed)

Created:
6 years, 5 months ago by Sam Clegg
Modified:
6 years, 3 months ago
Reviewers:
noelallen1, binji
CC:
chromium-reviews, binji+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[NaCl SDK] Allow ppapi_simple executables to run in both sel_ldr and in chrome. Override the main() function from libppapi_stub, and rather than simply failing when PPAPI is missing, assume that we are running in sel_ldr and jump directly to the user's main function. As a nice side effect this removes the needs to SEL_LDR=1 builds. Committed: https://crrev.com/dc0238737d54d1c925cc4f012c0835bafd04ef2a Cr-Commit-Position: refs/heads/master@{#292710}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -133 lines) Patch
M native_client_sdk/src/build_tools/generate_make.py View 1 chunk +0 lines, -17 lines 0 comments Download
M native_client_sdk/src/examples/tutorial/testing/testing.cc View 1 2 3 chunks +13 lines, -22 lines 0 comments Download
M native_client_sdk/src/examples/tutorial/using_ppapi_simple/hello_world.c View 2 chunks +0 lines, -6 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +4 lines, -20 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps_instance.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps_main.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -3 lines 0 comments Download
M native_client_sdk/src/libraries/ppapi_simple/ps_main.cc View 1 2 3 4 5 6 7 1 chunk +34 lines, -3 lines 0 comments Download
M native_client_sdk/src/resources/Makefile.example.template View 1 chunk +2 lines, -12 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_socket_test/main.cc View 1 2 3 2 chunks +4 lines, -14 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/kernel_wrap_test.cc View 1 2 3 4 5 6 7 8 9 5 chunks +7 lines, -2 lines 0 comments Download
M native_client_sdk/src/tests/nacl_io_test/main.cc View 2 chunks +5 lines, -15 lines 0 comments Download
M native_client_sdk/src/tests/sdk_util_test/main.cc View 1 2 chunks +4 lines, -14 lines 0 comments Download
M native_client_sdk/src/tools/common.mk View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Sam Clegg
6 years, 5 months ago (2014-07-24 23:14:47 UTC) #1
binji
lgtm A quick git grep shows that there's a few more SEL_LDR lines in the ...
6 years, 5 months ago (2014-07-25 17:04:36 UTC) #2
Sam Clegg
On 2014/07/25 17:04:36, binji wrote: > lgtm > > A quick git grep shows that ...
6 years, 4 months ago (2014-08-20 15:24:23 UTC) #3
Sam Clegg
https://codereview.chromium.org/412083002/diff/60001/native_client_sdk/src/libraries/ppapi_simple/ps.h File native_client_sdk/src/libraries/ppapi_simple/ps.h (right): https://codereview.chromium.org/412083002/diff/60001/native_client_sdk/src/libraries/ppapi_simple/ps.h#newcode62 native_client_sdk/src/libraries/ppapi_simple/ps.h:62: * the instance object. This function is defined by ...
6 years, 4 months ago (2014-08-20 15:24:29 UTC) #4
binji
great, slgtm
6 years, 4 months ago (2014-08-20 17:55:23 UTC) #5
noelallen1
lgtm
6 years, 4 months ago (2014-08-25 22:15:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sbc@chromium.org/412083002/200001
6 years, 3 months ago (2014-08-29 22:21:01 UTC) #8
commit-bot: I haz the power
Committed patchset #11 (id:200001) as 42d6e5d3e12aa02baa6e7e909757ebcced44eae7
6 years, 3 months ago (2014-08-29 23:13:15 UTC) #9
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:11:30 UTC) #10
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/dc0238737d54d1c925cc4f012c0835bafd04ef2a
Cr-Commit-Position: refs/heads/master@{#292710}

Powered by Google App Engine
This is Rietveld 408576698