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

Side by Side Diff: build/android/gyp/copy_ex.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/gyp/ant.py ('k') | build/android/gyp/create_dist_jar.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 """Copies files to a directory.""" 7 """Copies files to a directory."""
8 8
9 import itertools 9 import itertools
10 import optparse 10 import optparse
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 deps = [] 98 deps = []
99 99
100 if options.files: 100 if options.files:
101 DoCopy(options, deps) 101 DoCopy(options, deps)
102 102
103 if options.renaming_sources: 103 if options.renaming_sources:
104 DoRenaming(options, deps) 104 DoRenaming(options, deps)
105 105
106 if options.depfile: 106 if options.depfile:
107 build_utils.WriteDepfile( 107 assert options.stamp
108 options.depfile, 108 build_utils.WriteDepfile(options.depfile, options.stamp, deps)
109 deps + build_utils.GetPythonDependencies())
110 109
111 if options.stamp: 110 if options.stamp:
112 build_utils.Touch(options.stamp) 111 build_utils.Touch(options.stamp)
113 112
114 113
115 if __name__ == '__main__': 114 if __name__ == '__main__':
116 sys.exit(main(sys.argv[1:])) 115 sys.exit(main(sys.argv[1:]))
117 116
OLDNEW
« no previous file with comments | « build/android/gyp/ant.py ('k') | build/android/gyp/create_dist_jar.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698