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

Issue 42793005: Port xxd.pl to xxd.py (Perl to Python) (Closed)

Created:
7 years, 2 months ago by Nils Barth (inactive)
Modified:
6 years, 9 months ago
CC:
blink-reviews, eseidel, haraken, kouhei (in TOK)
Visibility:
Public.

Description

Port xxd.pl to xxd.py (Perl to Python) Per: "Retiring build-time execution of Perl" https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/fnWX8n6JrTg xxd.pl is one of 3 remaining Perl scripts. It is a very simple script, so this simply ports it directly to Python. We should be able to merge this to make-file-arrays.py, or do this a different way, but that's more involved, so first just port to Python. See also: Refactor make-file-arrays.py to ease reuse https://codereview.chromium.org/43083002/ BUG=347863 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160558

Patch Set 1 #

Total comments: 8

Patch Set 2 : Revised #

Patch Set 3 : Python 2.6 (not 2.7): {} => {0} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -62 lines) Patch
M Source/build/ConvertFileToHeaderWithCharacterArray.gypi View 1 1 chunk +4 lines, -3 lines 0 comments Download
D Source/build/scripts/xxd.pl View 1 chunk +0 lines, -45 lines 0 comments Download
A + Source/build/scripts/xxd.py View 1 2 2 chunks +19 lines, -5 lines 0 comments Download
M Source/core/core_derived_sources.gyp View 1 3 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Nils Barth (inactive)
Hi Adam, Quick port of xxd.pl. (And then there were 2...)
7 years, 2 months ago (2013-10-25 03:20:40 UTC) #1
abarth-chromium
LGTM Thanks!
7 years, 2 months ago (2013-10-25 04:01:53 UTC) #2
Nico
lgtm, but two comments: https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi File Source/build/ConvertFileToHeaderWithCharacterArray.gypi (right): https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi#newcode56 Source/build/ConvertFileToHeaderWithCharacterArray.gypi:56: ], Can this be 'msvs_cygwin_shell': ...
7 years, 2 months ago (2013-10-25 04:14:31 UTC) #3
abarth-chromium
https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi File Source/build/ConvertFileToHeaderWithCharacterArray.gypi (right): https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi#newcode56 Source/build/ConvertFileToHeaderWithCharacterArray.gypi:56: ], On 2013/10/25 04:14:31, Nico wrote: > Can this ...
7 years, 2 months ago (2013-10-25 04:16:34 UTC) #4
Nico
On Thu, Oct 24, 2013 at 9:16 PM, <abarth@chromium.org> wrote: > > https://codereview.chromium.**org/42793005/diff/1/Source/**build/** > ConvertFileToHeaderWithCharact**erArray.gypi<https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi> ...
7 years, 2 months ago (2013-10-25 04:18:15 UTC) #5
abarth-chromium
You seem to be right: def IsRuleRunUnderCygwin(self, rule): """Determine if an action should be run ...
7 years, 2 months ago (2013-10-25 04:24:31 UTC) #6
scottmg
https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi File Source/build/ConvertFileToHeaderWithCharacterArray.gypi (right): https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi#newcode56 Source/build/ConvertFileToHeaderWithCharacterArray.gypi:56: ], On 2013/10/25 04:16:35, abarth wrote: > On 2013/10/25 ...
7 years, 2 months ago (2013-10-25 04:24:45 UTC) #7
scottmg
(so, lgtm)
7 years, 2 months ago (2013-10-25 04:24:56 UTC) #8
Nils Barth (inactive)
Thanks all; revised and landing. https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi File Source/build/ConvertFileToHeaderWithCharacterArray.gypi (right): https://codereview.chromium.org/42793005/diff/1/Source/build/ConvertFileToHeaderWithCharacterArray.gypi#newcode56 Source/build/ConvertFileToHeaderWithCharacterArray.gypi:56: ], Thanks all! Added ...
7 years, 2 months ago (2013-10-25 07:22:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/42793005/120001
7 years, 2 months ago (2013-10-25 07:23:02 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-10-25 07:50:56 UTC) #11
Nils Barth (inactive)
On 2013/10/25 07:50:56, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 1 month ago (2013-10-25 07:56:43 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nbarth@chromium.org/42793005/250001
7 years, 1 month ago (2013-10-25 07:57:42 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-10-25 09:30:52 UTC) #14
Message was sent while issue was closed.
Change committed as 160558

Powered by Google App Engine
This is Rietveld 408576698