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

Side by Side Diff: grit/format/repack.py

Issue 7994004: Initial source commit to grit-i18n project. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « grit/format/rc_unittest.py ('k') | grit/format/resource_map.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """
7 A simple utility function to merge data pack files into a single data pack. See
8 http://dev.chromium.org/developers/design-documents/linuxresourcesandlocalizedst rings
9 for details about the file format.
10 """
11
12 import sys
13
14 import data_pack
15
16 def main(argv):
17 if len(argv) < 3:
18 print ("Usage:\n %s <output_filename> <input_file1> [input_file2] ... " %
19 argv[0])
20 sys.exit(-1)
21 data_pack.DataPack.RePack(argv[1], argv[2:])
22
23 if '__main__' == __name__:
24 main(sys.argv)
OLDNEW
« no previous file with comments | « grit/format/rc_unittest.py ('k') | grit/format/resource_map.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698