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

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

Issue 1830693003: Default no-locals to 0 in dex.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 import json 7 import json
8 import logging 8 import logging
9 import optparse 9 import optparse
10 import os 10 import os
(...skipping 29 matching lines...) Expand all
40 parser.add_option('--dex-path', help='Dex output path.') 40 parser.add_option('--dex-path', help='Dex output path.')
41 parser.add_option('--configuration-name', 41 parser.add_option('--configuration-name',
42 help='The build CONFIGURATION_NAME.') 42 help='The build CONFIGURATION_NAME.')
43 parser.add_option('--proguard-enabled', 43 parser.add_option('--proguard-enabled',
44 help='"true" if proguard is enabled.') 44 help='"true" if proguard is enabled.')
45 parser.add_option('--debug-build-proguard-enabled', 45 parser.add_option('--debug-build-proguard-enabled',
46 help='"true" if proguard is enabled for debug build.') 46 help='"true" if proguard is enabled for debug build.')
47 parser.add_option('--proguard-enabled-input-path', 47 parser.add_option('--proguard-enabled-input-path',
48 help=('Path to dex in Release mode when proguard ' 48 help=('Path to dex in Release mode when proguard '
49 'is enabled.')) 49 'is enabled.'))
50 parser.add_option('--no-locals', 50 parser.add_option('--no-locals', default='0',
51 help='Exclude locals list from the dex file.') 51 help='Exclude locals list from the dex file.')
52 parser.add_option('--incremental', 52 parser.add_option('--incremental',
53 action='store_true', 53 action='store_true',
54 help='Enable incremental builds when possible.') 54 help='Enable incremental builds when possible.')
55 parser.add_option('--inputs', help='A list of additional input paths.') 55 parser.add_option('--inputs', help='A list of additional input paths.')
56 parser.add_option('--excluded-paths', 56 parser.add_option('--excluded-paths',
57 help='A list of paths to exclude from the dex file.') 57 help='A list of paths to exclude from the dex file.')
58 parser.add_option('--main-dex-list-path', 58 parser.add_option('--main-dex-list-path',
59 help='A file containing a list of the classes to ' 59 help='A file containing a list of the classes to '
60 'include in the main dex.') 60 'include in the main dex.')
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 options, 195 options,
196 input_paths=input_paths, 196 input_paths=input_paths,
197 input_strings=dex_cmd, 197 input_strings=dex_cmd,
198 output_paths=output_paths, 198 output_paths=output_paths,
199 force=force, 199 force=force,
200 pass_changes=True) 200 pass_changes=True)
201 201
202 202
203 if __name__ == '__main__': 203 if __name__ == '__main__':
204 sys.exit(main(sys.argv[1:])) 204 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698