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

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

Issue 13473017: CheckCallDie: add option to suppress successful output (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: :/ Created 7 years, 8 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 | « build/android/gyp/create_device_library_links.py ('k') | build/android/gyp/dex.py » ('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 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 """Writes .h file for NativeLibraries.template 7 """Writes .h file for NativeLibraries.template
8 8
9 This header should contain the list of native libraries to load in the form: 9 This header should contain the list of native libraries to load in the form:
10 = { "lib1", "lib2" } 10 = { "lib1", "lib2" }
11 """ 11 """
12 12
13 import json 13 import json
14 import optparse 14 import optparse
15 import os 15 import os
16 import sys 16 import sys
17 17
18 from pylib import build_utils 18 from util import build_utils
19 19
20 20
21 def main(argv): 21 def main(argv):
22 parser = optparse.OptionParser() 22 parser = optparse.OptionParser()
23 23
24 parser.add_option('--output', help='Path to generated .java file') 24 parser.add_option('--output', help='Path to generated .java file')
25 parser.add_option('--ordered-libraries', 25 parser.add_option('--ordered-libraries',
26 help='Path to json file containing list of ordered libraries') 26 help='Path to json file containing list of ordered libraries')
27 parser.add_option('--stamp', help='Path to touch on success') 27 parser.add_option('--stamp', help='Path to touch on success')
28 28
(...skipping 14 matching lines...) Expand all
43 header.write(array) 43 header.write(array)
44 44
45 if options.stamp: 45 if options.stamp:
46 build_utils.Touch(options.stamp) 46 build_utils.Touch(options.stamp)
47 47
48 48
49 if __name__ == '__main__': 49 if __name__ == '__main__':
50 sys.exit(main(sys.argv)) 50 sys.exit(main(sys.argv))
51 51
52 52
OLDNEW
« no previous file with comments | « build/android/gyp/create_device_library_links.py ('k') | build/android/gyp/dex.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698