Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 9051052: Changes to Chrome build process (Closed)

Created:
Dec. 19, 2012, 4:27 p.m. by Wladimir Palant
Modified:
Jan. 11, 2013, 2:47 p.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

Four changes here: introducing build.py devenv command (creates a test directory), changing the approach for Chrome from a files blacklist to a whitelist, generating manifest.json dynamically from metadata and converting files from ABP/Firefox during build

Patch Set 1 #

Patch Set 2 : Fixed jshydra failures #

Patch Set 3 : Moved JSHydra dependency to build tools and added automatic devenv reloading #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -90 lines) Patch
A .hgsub View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A .hgsubstate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M build.py View 3 chunks +11 lines, -0 lines 0 comments Download
A chromeDevenvPoller__.js.tmpl View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A manifest.json.tmpl View 1 chunk +73 lines, -0 lines 0 comments Download
M packagerChrome.py View 1 2 2 chunks +183 lines, -90 lines 3 comments Download

Messages

Total messages: 6
Wladimir Palant
Dec. 19, 2012, 4:27 p.m. (2012-12-19 16:27:49 UTC) #1
Wladimir Palant
Updated the patches to fix issues running jshydra when both regular and experimental nightlies are ...
Dec. 20, 2012, 2:25 p.m. (2012-12-20 14:25:25 UTC) #2
Wladimir Palant
I moved JSHydra dependency to build tools after all, it made the code simpler and ...
Dec. 29, 2012, 8:17 p.m. (2012-12-29 20:17:28 UTC) #3
Felix Dahlke
LGTM except for that nit. But it appears that you'll have to grant SSH access ...
Jan. 11, 2013, 12:24 p.m. (2013-01-11 12:24:16 UTC) #4
Wladimir Palant
Yes, everybody will need access to all the subrepositories unfortunately - even if they don't ...
Jan. 11, 2013, 2:45 p.m. (2013-01-11 14:45:39 UTC) #5
Felix Dahlke
Jan. 11, 2013, 2:47 p.m. (2013-01-11 14:47:55 UTC) #6
LGTM

http://codereview.adblockplus.org/9051052/diff/8001/packagerChrome.py
File packagerChrome.py (right):

http://codereview.adblockplus.org/9051052/diff/8001/packagerChrome.py#newcode82
packagerChrome.py:82: size = file[len(prefix):-len(suffix)]
On 2013/01/11 14:45:39, Wladimir Palant wrote:
> On 2013/01/11 12:24:16, Felix H. Dahlke wrote:
> > How about using a regex here?
> 
> As soon as we add the required escaping (prefix and suffix can be anything,
> could include special characters like e.g. ".") and the missing ^ and $ things
> won't be simple at all any more. No, regexps are a pretty bad choice if you
need
> to do string comparison.

Right, forgot about the escaping. I suppose it's better this way.

Powered by Google App Engine
This is Rietveld