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

Side by Side Diff: build/android/gyp/jar.py

Issue 184103038: android: Remove unneeded md5sum class for jar.py and jar_toc.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | build/android/gyp/jar_toc.py » ('j') | build/java_apk.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 import fnmatch 7 import fnmatch
8 import optparse 8 import optparse
9 import os 9 import os
10 import sys 10 import sys
(...skipping 28 matching lines...) Expand all
39 39
40 40
41 def main(argv): 41 def main(argv):
42 parser = optparse.OptionParser() 42 parser = optparse.OptionParser()
43 parser.add_option('--classes-dir', help='Directory containing .class files.') 43 parser.add_option('--classes-dir', help='Directory containing .class files.')
44 parser.add_option('--jar-path', help='Jar output path.') 44 parser.add_option('--jar-path', help='Jar output path.')
45 parser.add_option('--excluded-classes', 45 parser.add_option('--excluded-classes',
46 help='List of .class file patterns to exclude from the jar.') 46 help='List of .class file patterns to exclude from the jar.')
47 parser.add_option('--stamp', help='Path to touch on success.') 47 parser.add_option('--stamp', help='Path to touch on success.')
48 48
49 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja.
50 parser.add_option('--ignore', help='Ignored.')
51
52 options, _ = parser.parse_args() 49 options, _ = parser.parse_args()
53 50
54 DoJar(options) 51 DoJar(options)
55 52
56 if options.stamp: 53 if options.stamp:
57 build_utils.Touch(options.stamp) 54 build_utils.Touch(options.stamp)
58 55
59 56
60 if __name__ == '__main__': 57 if __name__ == '__main__':
61 sys.exit(main(sys.argv)) 58 sys.exit(main(sys.argv))
62 59
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/jar_toc.py » ('j') | build/java_apk.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698