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

Issue 11576019: build_nexe.py: Allow --strip-debug for archives (Closed)

Created:
8 years ago by jvoung (off chromium)
Modified:
8 years ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

build_nexe.py: Allow --strip-debug for archives This will allow us to strip debug info from libpnacl_irt_shim.a and reduce the chrome-packaging size from 400KB -> 100KB. Error out when give --strip-all on archives. Locally tested with: https://codereview.chromium.org/11566017/ BUG=none Committed: http://src.chromium.org/viewvc/native_client?view=rev&revision=10461

Patch Set 1 #

Total comments: 3

Patch Set 2 : tweak comment #

Patch Set 3 : give user what they asked for... #

Patch Set 4 : share code path #

Patch Set 5 : error out instead #

Patch Set 6 : whitespace #

Patch Set 7 : period #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M build/build_nexe.py View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jvoung (off chromium)
8 years ago (2012-12-13 20:42:06 UTC) #1
Roland McGrath
https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py File build/build_nexe.py (right): https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py#newcode499 build/build_nexe.py:499: # Also valid to strip archives, but strip_all seems ...
8 years ago (2012-12-13 20:51:39 UTC) #2
Sam Clegg
https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py File build/build_nexe.py (right): https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py#newcode500 build/build_nexe.py:500: if self.strip_debug: This seems a little confusing to me. ...
8 years ago (2012-12-13 20:55:58 UTC) #3
jvoung - send to chromium...
https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py File build/build_nexe.py (right): https://codereview.chromium.org/11576019/diff/1/build/build_nexe.py#newcode500 build/build_nexe.py:500: if self.strip_debug: On 2012/12/13 20:55:58, Sam Clegg wrote: > ...
8 years ago (2012-12-13 21:23:22 UTC) #4
noelallen1
On archives, does the strip-all fail immediately, or when someone tries to link/load it? If ...
8 years ago (2012-12-14 00:20:38 UTC) #5
Roland McGrath
On 2012/12/14 00:20:38, noelallen1 wrote: > On archives, does the strip-all fail immediately, or when ...
8 years ago (2012-12-14 00:31:12 UTC) #6
noelallen_use_chromium
Seems like we should error then. Getting a message further down the pipe from where ...
8 years ago (2012-12-14 00:38:52 UTC) #7
jvoung (off chromium)
On 2012/12/14 00:38:52, noelallen wrote: > Seems like we should error then. Getting a message ...
8 years ago (2012-12-14 01:27:48 UTC) #8
noelallen_use_chromium
lgtm
8 years ago (2012-12-14 17:27:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://nativeclient-status.appspot.com/cq/jvoung@chromium.org/11576019/13004
8 years ago (2012-12-14 17:44:55 UTC) #10
commit-bot: I haz the power
8 years ago (2012-12-14 19:38:50 UTC) #11
Message was sent while issue was closed.
Change committed as 10461

Powered by Google App Engine
This is Rietveld 408576698