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

Issue 907563002: Simplify cli_main (Closed)

Created:
5 years, 10 months ago by gdeepti
Modified:
5 years, 10 months ago
Reviewers:
sbc, bradn, Sam Clegg
CC:
native-client-reviews_googlegroups.com, Sam Clegg
Base URL:
https://chromium.googlesource.com/external/naclports.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Simplify cli_main - Have cli_main register main, move everything else to nacl_spawn. - Add nacl_spawn to NACL_CLI_MAIN_LIB - Use NACL_CLI_MAIN_LIB in build files - Fix a typo in the README.rst BUG=NONE R=bradnelson@google.com, sbc@chromium.org, sbc@google.com Committed: https://chromium.googlesource.com/external/naclports/+/e5548672278a4b49f52238f942d62568c604e9b9

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 15

Patch Set 9 : #

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Patch Set 12 : #

Total comments: 2

Patch Set 13 : #

Total comments: 2

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -213 lines) Patch
M README.rst View 1 chunk +1 line, -1 line 0 comments Download
M build_tools/common.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ports/bash/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/civetweb/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/curl/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ports/devenv/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/gcc/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/geturl/Makefile View 1 chunk +1 line, -1 line 0 comments Download
M ports/git/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/grep/nacl.patch View 1 7 chunks +10 lines, -10 lines 0 comments Download
M ports/ipython-ppapi/kernel.cc View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M ports/libgit2-demo/Makefile View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ports/m4/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/make/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/mingn/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/nacl-spawn/Makefile View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A ports/nacl-spawn/cli_main.c View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +18 lines, -0 lines 0 comments Download
M ports/nacl-spawn/cli_main.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -149 lines 0 comments Download
M ports/nacl-spawn/include/nacl_main.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +8 lines, -1 line 0 comments Download
M ports/nacl-spawn/nacl_spawn.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +123 lines, -2 lines 0 comments Download
M ports/ninja/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/openssh/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ports/python-static/build.sh View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ports/python-static/nacl.patch View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -26 lines 0 comments Download
A ports/sdl/nacl.patch View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M ports/tcl/build.sh View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ports/texlive/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/toybox/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/xkbcomp/build.sh View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M ports/xorg-server/build.sh View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
gdeepti
5 years, 10 months ago (2015-02-13 02:05:29 UTC) #1
bradn
LGTM with issues. Do wait for Sam before landing though. https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/nacl_spawn.cc File ports/nacl-spawn/nacl_spawn.cc (right): https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/nacl_spawn.cc#newcode92 ...
5 years, 10 months ago (2015-02-13 02:12:32 UTC) #2
Sam Clegg
https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/cli_main.cc File ports/nacl-spawn/cli_main.cc (right): https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/cli_main.cc#newcode3 ports/nacl-spawn/cli_main.cc:3: * Use of this source code is governed by ...
5 years, 10 months ago (2015-02-13 18:35:18 UTC) #4
gdeepti
https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/cli_main.cc File ports/nacl-spawn/cli_main.cc (right): https://codereview.chromium.org/907563002/diff/140001/ports/nacl-spawn/cli_main.cc#newcode3 ports/nacl-spawn/cli_main.cc:3: * Use of this source code is governed by ...
5 years, 10 months ago (2015-02-13 21:43:56 UTC) #6
Sam Clegg
lgtm with comments. https://codereview.chromium.org/907563002/diff/180001/ports/nacl-spawn/cli_main.c File ports/nacl-spawn/cli_main.c (right): https://codereview.chromium.org/907563002/diff/180001/ports/nacl-spawn/cli_main.c#newcode13 ports/nacl-spawn/cli_main.c:13: extern int nacl_main(int argc, char *argv[]); ...
5 years, 10 months ago (2015-02-17 18:22:45 UTC) #7
gdeepti
https://codereview.chromium.org/907563002/diff/180001/ports/nacl-spawn/cli_main.c File ports/nacl-spawn/cli_main.c (right): https://codereview.chromium.org/907563002/diff/180001/ports/nacl-spawn/cli_main.c#newcode13 ports/nacl-spawn/cli_main.c:13: extern int nacl_main(int argc, char *argv[]); On 2015/02/17 18:22:45, ...
5 years, 10 months ago (2015-02-17 21:06:49 UTC) #9
Sam Clegg
https://codereview.chromium.org/907563002/diff/220001/ports/nacl-spawn/include/nacl_main.h File ports/nacl-spawn/include/nacl_main.h (right): https://codereview.chromium.org/907563002/diff/220001/ports/nacl-spawn/include/nacl_main.h#newcode45 ports/nacl-spawn/include/nacl_main.h:45: Perhaps just nacl_setup_env() to be consistent with the function ...
5 years, 10 months ago (2015-02-17 21:27:52 UTC) #10
gdeepti
https://codereview.chromium.org/907563002/diff/220001/ports/nacl-spawn/include/nacl_main.h File ports/nacl-spawn/include/nacl_main.h (right): https://codereview.chromium.org/907563002/diff/220001/ports/nacl-spawn/include/nacl_main.h#newcode45 ports/nacl-spawn/include/nacl_main.h:45: On 2015/02/17 21:27:52, Sam Clegg wrote: > Perhaps just ...
5 years, 10 months ago (2015-02-17 21:59:43 UTC) #11
Sam Clegg
thanks, lgtm (no need to re-run trybots for spelling fixes) https://codereview.chromium.org/907563002/diff/240001/ports/nacl-spawn/include/nacl_main.h File ports/nacl-spawn/include/nacl_main.h (right): https://codereview.chromium.org/907563002/diff/240001/ports/nacl-spawn/include/nacl_main.h#newcode41 ...
5 years, 10 months ago (2015-02-17 22:11:26 UTC) #12
gdeepti
https://codereview.chromium.org/907563002/diff/240001/ports/nacl-spawn/include/nacl_main.h File ports/nacl-spawn/include/nacl_main.h (right): https://codereview.chromium.org/907563002/diff/240001/ports/nacl-spawn/include/nacl_main.h#newcode41 ports/nacl-spawn/include/nacl_main.h:41: * Setup common environt variables and mounts. On 2015/02/17 ...
5 years, 10 months ago (2015-02-18 01:49:14 UTC) #14
gdeepti
5 years, 10 months ago (2015-02-18 18:04:15 UTC) #15
Message was sent while issue was closed.
Committed patchset #14 (id:260001) manually as
e5548672278a4b49f52238f942d62568c604e9b9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698