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

Issue 8539039: Fix size regression due to missing strip. (Closed)

Created:
9 years, 1 month ago by noelallen1
Modified:
9 years, 1 month ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews
Visibility:
Public.

Description

Fix size regression due to missing strip. Add a strip script based on the old build_nacl_irt.py (just keep strip piece) Rename nacl_irt target to nacl_irt_unstripped and add a new target called nacl_irt which strips the previous target. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109764

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -3 lines) Patch
A chrome/strip_nacl_irt.py View 1 2 3 1 chunk +77 lines, -0 lines 0 comments Download
M ppapi/native_client/native_client.gyp View 1 2 2 chunks +64 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ryan Sleevi
Quick drive by http://codereview.chromium.org/8539039/diff/1/ppapi/native_client/native_client.gyp File ppapi/native_client/native_client.gyp (right): http://codereview.chromium.org/8539039/diff/1/ppapi/native_client/native_client.gyp#newcode101 ppapi/native_client/native_client.gyp:101: '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe', Should you also add strip_nacl_irt.py ...
9 years, 1 month ago (2011-11-12 02:38:14 UTC) #1
noelallen1
http://codereview.chromium.org/8539039/diff/1/ppapi/native_client/native_client.gyp File ppapi/native_client/native_client.gyp (right): http://codereview.chromium.org/8539039/diff/1/ppapi/native_client/native_client.gyp#newcode101 ppapi/native_client/native_client.gyp:101: '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe', On 2011/11/12 02:38:14, Ryan Sleevi wrote: > Should ...
9 years, 1 month ago (2011-11-12 02:46:11 UTC) #2
Ryan Sleevi
LGTM http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py File chrome/strip_nacl_irt.py (right): http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py#newcode1 chrome/strip_nacl_irt.py:1: #!/usr/bin/python In my msys checkout, this has historically ...
9 years, 1 month ago (2011-11-12 02:52:51 UTC) #3
noelallen1
http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py File chrome/strip_nacl_irt.py (right): http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py#newcode1 chrome/strip_nacl_irt.py:1: #!/usr/bin/python On 2011/11/12 02:52:51, Ryan Sleevi wrote: > In ...
9 years, 1 month ago (2011-11-12 03:00:53 UTC) #4
Ryan Sleevi
9 years, 1 month ago (2011-11-12 03:07:14 UTC) #5
http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py
File chrome/strip_nacl_irt.py (right):

http://codereview.chromium.org/8539039/diff/3001/chrome/strip_nacl_irt.py#new...
chrome/strip_nacl_irt.py:1: #!/usr/bin/python
On 2011/11/12 03:00:54, noelallen1 wrote:
> On 2011/11/12 02:52:51, Ryan Sleevi wrote:
> > In my msys checkout, this has historically caused problems.
> > 
> > #!/usr/bin/env python
> > 
> > Although from gyp, at least, you're invoking directly with python_exe, so
this
> > is not critical.
> 
> We allow cygwin for Windows in NaCl land.  But yeah we always run python just
in
> case.
> 
> This is sta

Right, I know the Google Open-Source Python guide says to use #!/usr/bin/python
(or #!/usr/bin/python{version}), but within the Chromium tree, scripts are more
evenly split between #!/usr/bin/python and #!/usr/bin/env python

The latter is so that the hermetic python (from depot_tools) can be located,
rather than the one bundled (which, in the case of msys, there is none)

Powered by Google App Engine
This is Rietveld 408576698