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

Side by Side Diff: build/android/gn/zip.py

Issue 2336173003: Fix android depfiles to always list GN's outputs[0] (Closed)
Patch Set: fix cronet_package Created 4 years, 3 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/findbugs_diff.py ('k') | build/android/gyp/aidl.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 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 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 """Archives a set of files. 7 """Archives a set of files.
8 """ 8 """
9 9
10 import ast 10 import ast
(...skipping 16 matching lines...) Expand all
27 27
28 options, _ = parser.parse_args() 28 options, _ = parser.parse_args()
29 29
30 inputs = ast.literal_eval(options.inputs) 30 inputs = ast.literal_eval(options.inputs)
31 output = options.output 31 output = options.output
32 base_dir = options.base_dir 32 base_dir = options.base_dir
33 33
34 build_utils.DoZip(inputs, output, base_dir) 34 build_utils.DoZip(inputs, output, base_dir)
35 35
36 if options.depfile: 36 if options.depfile:
37 build_utils.WriteDepfile( 37 build_utils.WriteDepfile(options.depfile, output)
38 options.depfile,
39 build_utils.GetPythonDependencies())
40 38
41 39
42 if __name__ == '__main__': 40 if __name__ == '__main__':
43 sys.exit(main()) 41 sys.exit(main())
OLDNEW
« no previous file with comments | « build/android/findbugs_diff.py ('k') | build/android/gyp/aidl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698