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

Side by Side Diff: mojo/android/add_manifest_entry.py

Issue 1239353002: Move rules for building Android Mojo services to //mojo/android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « examples/java_android/example_service/BUILD.gn ('k') | mojo/android/rules.gni » ('j') | no next file with comments »
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 2015 The Chromium Authors. All rights reserved. 3 # Copyright 2015 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 """Add an entry into the manifest file of a jar file.""" 7 """Add an entry into the manifest file of a jar file."""
8 8
9 import optparse 9 import optparse
10 import os 10 import os
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 parser.add_option('--output', help='Name of the output jar.') 45 parser.add_option('--output', help='Name of the output jar.')
46 parser.add_option('--key', help='Name of the key to add to the manifest.') 46 parser.add_option('--key', help='Name of the key to add to the manifest.')
47 parser.add_option('--value', help='Name of the value to add to the manifest.') 47 parser.add_option('--value', help='Name of the value to add to the manifest.')
48 48
49 options, _ = parser.parse_args() 49 options, _ = parser.parse_args()
50 AddKey(options.input, options.output, options.key, options.value) 50 AddKey(options.input, options.output, options.key, options.value)
51 51
52 52
53 if __name__ == '__main__': 53 if __name__ == '__main__':
54 sys.exit(main()) 54 sys.exit(main())
OLDNEW
« no previous file with comments | « examples/java_android/example_service/BUILD.gn ('k') | mojo/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698