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

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed)

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

Description

Switch from using 'nacl_main' to 'main' entry point Also EnableCliMain function which ports can use to enable use of cli_main/nacl_spawn. This allows is to modify the linker flags/libraries in a single location which will be useful for adding emscripten support. Committed: https://chromium.googlesource.com/external/naclports/+/55ead6d51c8490331905b239951aeb64f2cd47c7

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 16

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -1957 lines) Patch
M PRESUBMIT.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M build_tools/common.sh View 1 2 3 4 4 chunks +17 lines, -7 lines 0 comments Download
M build_tools/pnacl-configure-shim.py View 1 chunk +0 lines, -1 line 0 comments Download
M ports/agg-demo/drawing.cc View 2 chunks +1 line, -5 lines 0 comments Download
M ports/alut-demo/Makefile View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ports/alut-demo/alut_hello_world.c View 1 2 3 4 3 chunks +2 lines, -4 lines 0 comments Download
M ports/alut-demo/build.sh View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ports/alut-demo/pkg_info View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M ports/avrdude/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/avrdude/nacl.patch View 1 2 3 4 5 2 chunks +1 line, -16 lines 0 comments Download
M ports/babl/build.sh View 1 chunk +2 lines, -6 lines 0 comments Download
M ports/bash/build.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M ports/bdftopcf/build.sh View 1 chunk +4 lines, -4 lines 0 comments Download
M ports/binutils-2.25/build.sh View 1 2 3 1 chunk +6 lines, -8 lines 0 comments Download
M ports/binutils/build.sh View 1 chunk +2 lines, -1 line 0 comments Download
M ports/binutils/nacl.patch View 3 chunks +2 lines, -32 lines 0 comments Download
M ports/bison/build.sh View 1 chunk +1 line, -3 lines 0 comments Download
M ports/blackbox/build.sh View 1 2 3 4 5 6 1 chunk +6 lines, -6 lines 0 comments Download
M ports/blackbox/nacl.patch View 1 2 3 4 5 3 chunks +0 lines, -66 lines 0 comments Download
M ports/busybox/build.sh View 1 1 chunk +1 line, -2 lines 0 comments Download
M ports/bzip2/build.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M ports/cairo/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/civetweb/build.sh View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ports/coreutils/build.sh View 1 chunk +1 line, -3 lines 0 comments Download
M ports/curl/build.sh View 1 chunk +2 lines, -1 line 0 comments Download
M ports/curl/nacl.patch View 1 chunk +0 lines, -14 lines 0 comments Download
M ports/devenv/build.sh View 2 chunks +3 lines, -3 lines 0 comments Download
M ports/devenv/jseval.c View 1 chunk +1 line, -1 line 0 comments Download
M ports/devenv/tests/devenv_small_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M ports/emacs-x/pkg_info View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ports/emacs/build.sh View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ports/emacs/emacs_pepper.c View 1 chunk +1 line, -1 line 0 comments Download
M ports/emacs/pkg_info View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M ports/findutils/build.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M ports/findutils/nacl.patch View 1 2 3 4 5 1 chunk +0 lines, -16 lines 0 comments Download
M ports/font-util/build.sh View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M ports/fontconfig/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/fuseiso/README.nacl View 2 chunks +4 lines, -5 lines 0 comments Download
M ports/fvwm/build.sh View 2 chunks +2 lines, -3 lines 0 comments Download
M ports/gawk/build.sh View 1 2 3 4 1 chunk +1 line, -11 lines 0 comments Download
M ports/gcc-avr/nacl.patch View 2 chunks +0 lines, -191 lines 0 comments Download
M ports/gcc/nacl.patch View 2 chunks +0 lines, -82 lines 0 comments Download
M ports/gdb/build.sh View 1 chunk +3 lines, -3 lines 0 comments Download
M ports/gdb/nacl.patch View 1 chunk +0 lines, -14 lines 0 comments Download
M ports/gdk-pixbuf/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/gegl/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/geturl/Makefile View 1 chunk +1 line, -3 lines 0 comments Download
M ports/geturl/build.sh View 2 chunks +3 lines, -0 lines 0 comments Download
M ports/geturl/geturl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M ports/gforth/build.sh View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M ports/gimp/build.sh View 1 chunk +1 line, -3 lines 0 comments Download
M ports/git/build.sh View 5 chunks +4 lines, -3 lines 0 comments Download
M ports/git/nacl.patch View 9 chunks +0 lines, -690 lines 0 comments Download
M ports/grep/nacl.patch View 1 chunk +0 lines, -12 lines 0 comments Download
M ports/gtk+/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/gtk+/nacl.patch View 1 chunk +0 lines, -12 lines 0 comments Download
M ports/gzip/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/harfbuzz/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
D ports/harfbuzz/nacl.patch View 1 chunk +0 lines, -13 lines 0 comments Download
M ports/ipython-ppapi/Makefile View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M ports/ipython-ppapi/build.sh View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ports/ipython-ppapi/kernel.cc View 1 2 3 4 4 chunks +9 lines, -11 lines 0 comments Download
M ports/less/build.sh View 1 chunk +2 lines, -0 lines 0 comments Download
M ports/less/nacl.patch View 1 chunk +0 lines, -29 lines 0 comments Download
M ports/libgit2-demo/Makefile View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ports/libgit2-demo/build.sh View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ports/libgit2-demo/libgit2-demo.c View 2 chunks +1 line, -2 lines 0 comments Download
M ports/libxcb/build.sh View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M ports/libxpm/build.sh View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
M ports/lua/build.sh View 2 chunks +2 lines, -2 lines 0 comments Download
M ports/m4/nacl.patch View 1 chunk +0 lines, -12 lines 0 comments Download
M ports/make/build.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M ports/make/nacl.patch View 1 chunk +1 line, -11 lines 0 comments Download
M ports/mongoose/build.sh View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M ports/nacl-spawn/cli_main.c View 3 chunks +8 lines, -1 line 0 comments Download
M ports/nacl-spawn/nacl_spawn_test.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M ports/nano/build.sh View 1 chunk +1 line, -3 lines 0 comments Download
M ports/netcat/nacl.patch View 1 chunk +0 lines, -24 lines 0 comments Download
M ports/nethack/nethack_pepper.c View 1 chunk +1 line, -1 line 0 comments Download
M ports/ninja/build.sh View 1 chunk +1 line, -1 line 0 comments Download
M ports/ninja/nacl.patch View 1 2 3 4 5 7 chunks +18 lines, -25 lines 0 comments Download
M ports/openssh/build.sh View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M ports/openssh/nacl.patch View 1 chunk +1 line, -1 line 0 comments Download
M ports/pango/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
D ports/pango/nacl.patch View 1 chunk +0 lines, -15 lines 0 comments Download
M ports/perl/build.sh View 1 2 3 4 5 3 chunks +3 lines, -4 lines 0 comments Download
M ports/perl/nacl.patch View 3 chunks +0 lines, -68 lines 0 comments Download
M ports/pkg/build.sh View 3 chunks +4 lines, -4 lines 0 comments Download
M ports/python/build.sh View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M ports/python3/build.sh View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M ports/ruby-ppapi/Makefile View 1 chunk +0 lines, -2 lines 0 comments Download
M ports/ruby-ppapi/build.sh View 1 chunk +1 line, -0 lines 0 comments Download
M ports/ruby-ppapi/main.c View 1 chunk +1 line, -1 line 0 comments Download
M ports/samba/build.sh View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M ports/sqlite/build.sh View 1 2 3 4 5 3 chunks +6 lines, -28 lines 0 comments Download
M ports/sqlite/nacl.patch View 1 chunk +0 lines, -11 lines 0 comments Download
M ports/subversion/build.sh View 1 chunk +1 line, -4 lines 0 comments Download
M ports/tar/nacl.patch View 1 chunk +0 lines, -9 lines 0 comments Download
M ports/tcl/build.sh View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M ports/texinfo/build.sh View 1 chunk +1 line, -2 lines 0 comments Download
M ports/texlive/nacl.patch View 4 chunks +0 lines, -332 lines 0 comments Download
M ports/thttpd/Makefile View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ports/thttpd/build.sh View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M ports/thttpd/nacl.patch View 1 chunk +1 line, -1 line 0 comments Download
M ports/tk/build.sh View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ports/toybox/build.sh View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M ports/toybox/nacl.patch View 1 2 3 4 5 6 7 1 chunk +12 lines, -8 lines 0 comments Download
M ports/tree/build.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M ports/twm/build.sh View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M ports/unzip/build.sh View 2 chunks +4 lines, -3 lines 0 comments Download
M ports/vim/nacl.patch View 1 chunk +2 lines, -3 lines 0 comments Download
M ports/wireshark/build.sh View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M ports/xeyes/build.sh View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M ports/xkbcomp/build.sh View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ports/xorg-server/build.sh View 1 2 3 4 5 6 7 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 56 (30 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/1417223003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/20001
5 years, 1 month ago (2015-10-26 19:24:20 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: naclports-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-presubmit/builds/609)
5 years, 1 month ago (2015-10-26 19:27:58 UTC) #4
Sam Clegg
5 years, 1 month ago (2015-10-27 19:14:01 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/40001
5 years, 1 month ago (2015-10-27 19:14:03 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: naclports-linux-clang-0 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-clang-0/builds/827)
5 years, 1 month ago (2015-10-27 20:57:21 UTC) #11
binji
lgtm, wondering about when you don't use EnableCliMain though https://codereview.chromium.org/1417223003/diff/40001/ports/avrdude/nacl.patch File ports/avrdude/nacl.patch (left): https://codereview.chromium.org/1417223003/diff/40001/ports/avrdude/nacl.patch#oldcode9 ports/avrdude/nacl.patch:9: ...
5 years, 1 month ago (2015-10-27 21:52:38 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/60001
5 years, 1 month ago (2015-10-28 16:18:25 UTC) #14
Sam Clegg
https://codereview.chromium.org/1417223003/diff/40001/ports/avrdude/nacl.patch File ports/avrdude/nacl.patch (left): https://codereview.chromium.org/1417223003/diff/40001/ports/avrdude/nacl.patch#oldcode9 ports/avrdude/nacl.patch:9: + $(AM_V_CCLD)$(avrdude_LINK) $(avrdude_OBJECTS) $(EXTRA_LIBS) $(avrdude_LDADD) $(LIBS) On 2015/10/27 21:52:38, ...
5 years, 1 month ago (2015-10-28 17:06:31 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: naclports-linux-pnacl-4 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-pnacl-4/builds/847)
5 years, 1 month ago (2015-10-28 17:52:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/80001
5 years, 1 month ago (2015-10-28 19:34:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-pnacl-1 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-pnacl-1/builds/822)
5 years, 1 month ago (2015-10-28 21:20:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/100001
5 years, 1 month ago (2015-10-29 01:33:46 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-pnacl-2 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-pnacl-2/builds/822)
5 years, 1 month ago (2015-10-29 03:56:39 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/120001
5 years, 1 month ago (2015-10-29 04:50:50 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-glibc-3 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-glibc-3/builds/1379)
5 years, 1 month ago (2015-10-29 09:20:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/140001
5 years, 1 month ago (2015-10-29 16:38:35 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/160001
5 years, 1 month ago (2015-10-30 00:30:52 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-glibc-4 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-glibc-4/builds/1439)
5 years, 1 month ago (2015-10-30 03:01:21 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/160001
5 years, 1 month ago (2015-10-30 03:48:30 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-glibc-3 on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-glibc-3/builds/1384)
5 years, 1 month ago (2015-10-30 09:25:14 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/180001
5 years, 1 month ago (2015-10-30 22:23:22 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: naclports-linux-clang-1 on tryserver.nacl (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.nacl/builders/naclports-linux-clang-1/builds/825) naclports-linux-glibc-1 on tryserver.nacl (JOB_TIMED_OUT, ...
5 years, 1 month ago (2015-10-31 04:23:43 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/180001
5 years, 1 month ago (2015-10-31 18:14:53 UTC) #51
commit-bot: I haz the power
Exceeded global retry quota
5 years, 1 month ago (2015-10-31 22:24:09 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1417223003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1417223003/180001
5 years, 1 month ago (2015-11-02 17:17:17 UTC) #55
commit-bot: I haz the power
5 years, 1 month ago (2015-11-02 22:35:51 UTC) #56
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/external/naclports/+/55ead6d51c8490331905b2...

Powered by Google App Engine
This is Rietveld 408576698