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

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

Issue 507523002: Add content_shell_apk target (and a bunch of its dependencies) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix PageTransitionTypes.template path Created 6 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 | « base/BUILD.gn ('k') | build/android/gyp/javac.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 optparse 9 import optparse
10 import shutil 10 import shutil
(...skipping 26 matching lines...) Expand all
37 files = [] 37 files = []
38 for file_arg in options.files: 38 for file_arg in options.files:
39 files += build_utils.ParseGypList(file_arg) 39 files += build_utils.ParseGypList(file_arg)
40 40
41 for f in files: 41 for f in files:
42 shutil.copy(f, options.dest) 42 shutil.copy(f, options.dest)
43 43
44 if options.depfile: 44 if options.depfile:
45 build_utils.WriteDepfile( 45 build_utils.WriteDepfile(
46 options.depfile, 46 options.depfile,
47 options.files + build_utils.GetPythonDependencies()) 47 files + build_utils.GetPythonDependencies())
48 48
49 if options.stamp: 49 if options.stamp:
50 build_utils.Touch(options.stamp) 50 build_utils.Touch(options.stamp)
51 51
52 52
53 if __name__ == '__main__': 53 if __name__ == '__main__':
54 sys.exit(main(sys.argv[1:])) 54 sys.exit(main(sys.argv[1:]))
55 55
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | build/android/gyp/javac.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698