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

Side by Side Diff: gclient.py

Issue 10479004: Add 'android' to possible deps_os values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« 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 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Meta checkout manager supporting both Subversion and GIT. 6 """Meta checkout manager supporting both Subversion and GIT.
7 7
8 Files 8 Files
9 .gclient : Current client configuration, written by 'config' command. 9 .gclient : Current client configuration, written by 'config' command.
10 Format is a Python script defining 'solutions', a list whose 10 Format is a Python script defining 'solutions', a list whose
(...skipping 775 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 DEPS_OS_CHOICES = { 786 DEPS_OS_CHOICES = {
787 "win32": "win", 787 "win32": "win",
788 "win": "win", 788 "win": "win",
789 "cygwin": "win", 789 "cygwin": "win",
790 "darwin": "mac", 790 "darwin": "mac",
791 "mac": "mac", 791 "mac": "mac",
792 "unix": "unix", 792 "unix": "unix",
793 "linux": "unix", 793 "linux": "unix",
794 "linux2": "unix", 794 "linux2": "unix",
795 "linux3": "unix", 795 "linux3": "unix",
796 "android": "android",
796 } 797 }
797 798
798 DEFAULT_CLIENT_FILE_TEXT = ("""\ 799 DEFAULT_CLIENT_FILE_TEXT = ("""\
799 solutions = [ 800 solutions = [
800 { "name" : "%(solution_name)s", 801 { "name" : "%(solution_name)s",
801 "url" : "%(solution_url)s", 802 "url" : "%(solution_url)s",
802 "deps_file" : "%(deps_file)s", 803 "deps_file" : "%(deps_file)s",
803 "managed" : %(managed)s, 804 "managed" : %(managed)s,
804 "custom_deps" : { 805 "custom_deps" : {
805 }, 806 },
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 except (gclient_utils.Error, subprocess2.CalledProcessError), e: 1601 except (gclient_utils.Error, subprocess2.CalledProcessError), e:
1601 print >> sys.stderr, 'Error: %s' % str(e) 1602 print >> sys.stderr, 'Error: %s' % str(e)
1602 return 1 1603 return 1
1603 1604
1604 1605
1605 if '__main__' == __name__: 1606 if '__main__' == __name__:
1606 fix_encoding.fix_encoding() 1607 fix_encoding.fix_encoding()
1607 sys.exit(Main(sys.argv[1:])) 1608 sys.exit(Main(sys.argv[1:]))
1608 1609
1609 # vim: ts=2:sw=2:tw=80:et: 1610 # vim: ts=2:sw=2:tw=80:et:
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