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

Side by Side Diff: tools/clang/scripts/update.py

Issue 1959613003: Roll clang 268419:268799. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « 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 """This script is used to download prebuilt clang binaries. 6 """This script is used to download prebuilt clang binaries.
7 7
8 It is also used by package.py to build the prebuilt clang binaries.""" 8 It is also used by package.py to build the prebuilt clang binaries."""
9 9
10 import argparse 10 import argparse
(...skipping 14 matching lines...) Expand all
25 25
26 root = os.path.dirname(os.path.dirname(os.path.dirname( 26 root = os.path.dirname(os.path.dirname(os.path.dirname(
27 os.path.dirname(__file__)))) 27 os.path.dirname(__file__))))
28 sys.path.append(os.path.join(root, 'build')) 28 sys.path.append(os.path.join(root, 'build'))
29 import mac_toolchain 29 import mac_toolchain
30 30
31 31
32 # Do NOT CHANGE this if you don't know what you're doing -- see 32 # Do NOT CHANGE this if you don't know what you're doing -- see
33 # https://chromium.googlesource.com/chromium/src/+/master/docs/updating_clang.md 33 # https://chromium.googlesource.com/chromium/src/+/master/docs/updating_clang.md
34 # Reverting problematic clang rolls is safe, though. 34 # Reverting problematic clang rolls is safe, though.
35 CLANG_REVISION = '268419' 35 CLANG_REVISION = '268799'
36 36
37 use_head_revision = 'LLVM_FORCE_HEAD_REVISION' in os.environ 37 use_head_revision = 'LLVM_FORCE_HEAD_REVISION' in os.environ
38 if use_head_revision: 38 if use_head_revision:
39 CLANG_REVISION = 'HEAD' 39 CLANG_REVISION = 'HEAD'
40 40
41 # This is incremented when pushing a new build of Clang at the same revision. 41 # This is incremented when pushing a new build of Clang at the same revision.
42 CLANG_SUB_REVISION=1 42 CLANG_SUB_REVISION=1
43 43
44 PACKAGE_VERSION = "%s-%s" % (CLANG_REVISION, CLANG_SUB_REVISION) 44 PACKAGE_VERSION = "%s-%s" % (CLANG_REVISION, CLANG_SUB_REVISION)
45 45
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 args.force_local_build = True 878 args.force_local_build = True
879 if 'OS=android' not in os.environ.get('GYP_DEFINES', ''): 879 if 'OS=android' not in os.environ.get('GYP_DEFINES', ''):
880 # Only build the Android ASan rt on ToT bots when targetting Android. 880 # Only build the Android ASan rt on ToT bots when targetting Android.
881 args.with_android = False 881 args.with_android = False
882 882
883 return UpdateClang(args) 883 return UpdateClang(args)
884 884
885 885
886 if __name__ == '__main__': 886 if __name__ == '__main__':
887 sys.exit(main()) 887 sys.exit(main())
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