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

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

Issue 1568583005: Add proguard_verbose GN arg (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « build/android/gyp/apk_obfuscate.py ('k') | build/android/gyp/util/proguard_util.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 import optparse 7 import optparse
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 proguard.outjar(options.output_path) 54 proguard.outjar(options.output_path)
55 55
56 if options.mapping: 56 if options.mapping:
57 proguard.mapping(options.mapping) 57 proguard.mapping(options.mapping)
58 58
59 if options.tested_apk_info: 59 if options.tested_apk_info:
60 proguard.tested_apk_info(options.tested_apk_info) 60 proguard.tested_apk_info(options.tested_apk_info)
61 61
62 classpath = list(set(options.classpath)) 62 classpath = list(set(options.classpath))
63 proguard.libraryjars(classpath) 63 proguard.libraryjars(classpath)
64 proguard.verbose(options.verbose)
64 65
65 input_paths = proguard.GetInputs() 66 input_paths = proguard.GetInputs()
66 67
67 build_utils.CallAndWriteDepfileIfStale( 68 build_utils.CallAndWriteDepfileIfStale(
68 lambda: proguard.CheckOutput(options.verbose), 69 proguard.CheckOutput,
69 options, 70 options,
70 input_paths=input_paths, 71 input_paths=input_paths,
71 input_strings=proguard.build(), 72 input_strings=proguard.build(),
72 output_paths=[options.output_path]) 73 output_paths=[options.output_path])
73 74
74 75
75 if __name__ == '__main__': 76 if __name__ == '__main__':
76 sys.exit(main(sys.argv[1:])) 77 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « build/android/gyp/apk_obfuscate.py ('k') | build/android/gyp/util/proguard_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698