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

Issue 149781: Rewrite gyp rules with helper script to generate all langpaks on Linux. (Closed)

Created:
11 years, 5 months ago by Michael Moss
Modified:
9 years, 7 months ago
Reviewers:
Mark Mentovai, TVL, sgk
CC:
chromium-reviews_googlegroups.com, jon
Visibility:
Public.

Description

Rewrite gyp rules with helper script to generate all langpaks on Linux. crbug.com/14790

Patch Set 1 #

Patch Set 2 : ... #

Patch Set 3 : ... #

Patch Set 4 : merge #

Patch Set 5 : ... #

Patch Set 6 : merge #

Total comments: 2

Patch Set 7 : make mac rules same as before #

Total comments: 2

Patch Set 8 : cleanups #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -142 lines) Patch
M chrome/chrome.gyp View 1 2 3 4 5 6 7 4 chunks +34 lines, -142 lines 0 comments Download
A chrome/tools/build/repack_locales.py View 1 2 3 4 5 6 7 1 chunk +176 lines, -0 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
Michael Moss
11 years, 4 months ago (2009-07-31 20:22:27 UTC) #1
TVL
http://codereview.chromium.org/149781/diff/3006/2013 File chrome/chrome.gyp (right): http://codereview.chromium.org/149781/diff/3006/2013#newcode3227 Line 3227: '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak', don't we need to update the mac ...
11 years, 4 months ago (2009-08-03 02:27:57 UTC) #2
Michael Moss
http://codereview.chromium.org/149781/diff/3006/2013 File chrome/chrome.gyp (right): http://codereview.chromium.org/149781/diff/3006/2013#newcode3227 Line 3227: '<(INTERMEDIATE_DIR)/repack/da.lproj/locale.pak', Oops, bad merge. This was commented out ...
11 years, 4 months ago (2009-08-03 17:22:52 UTC) #3
Mark Mentovai
lg http://codereview.chromium.org/149781/diff/3010/3012 File chrome/tools/build/repack_locales.py (right): http://codereview.chromium.org/149781/diff/3010/3012#newcode17 Line 17: sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '../../../tools/data_pack')) 80 and since you're using ...
11 years, 4 months ago (2009-08-04 18:02:53 UTC) #4
sgk
11 years, 4 months ago (2009-08-04 19:26:40 UTC) #5
lgtm

http://codereview.chromium.org/149781/diff/2018/3016
File chrome/tools/build/repack_locales.py (right):

http://codereview.chromium.org/149781/diff/2018/3016#newcode126
Line 126: opts, locales = getopt.getopt(argv[1:], short_options, long_options)
Not worth redoing this script (I know the structure here is based on other
scripts in the tree), but for future reference, optparse is now recommended
instead of getopt.  It leads to more compact and readable option handling.

http://codereview.chromium.org/149781/diff/2018/3016#newcode126
Line 126: opts, locales = getopt.getopt(argv[1:], short_options, long_options)
argv[1:] will fail if the default argv=None value is used.

Powered by Google App Engine
This is Rietveld 408576698