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

Side by Side Diff: build/linux/sysroot_scripts/install-sysroot.py

Issue 2248683005: Update install-sysroot.py to include libbluetooth (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@IncludeLinuxTime
Patch Set: Created 4 years, 4 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) 2013 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2013 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 """Install Debian sysroots for building chromium. 6 """Install Debian sysroots for building chromium.
7 """ 7 """
8 8
9 # The sysroot is needed to ensure that binaries will run on Debian Wheezy, 9 # The sysroot is needed to ensure that binaries will run on Debian Wheezy,
10 # the oldest supported linux distribution. For ARM64 linux, we have Debian 10 # the oldest supported linux distribution. For ARM64 linux, we have Debian
(...skipping 17 matching lines...) Expand all
28 28
29 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 29 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
30 sys.path.append(os.path.dirname(os.path.dirname(SCRIPT_DIR))) 30 sys.path.append(os.path.dirname(os.path.dirname(SCRIPT_DIR)))
31 import detect_host_arch 31 import detect_host_arch
32 import gyp_chromium 32 import gyp_chromium
33 import gyp_environment 33 import gyp_environment
34 34
35 35
36 URL_PREFIX = 'https://commondatastorage.googleapis.com' 36 URL_PREFIX = 'https://commondatastorage.googleapis.com'
37 URL_PATH = 'chrome-linux-sysroot/toolchain' 37 URL_PATH = 'chrome-linux-sysroot/toolchain'
38 REVISION_AMD64 = 'c52471d9dec240c8d0a88fa98aa1eefeee32e22f' 38 REVISION_AMD64 = 'c09e94d74f6efc174bd88195eee902b4350fc006'
39 REVISION_ARM = 'c52471d9dec240c8d0a88fa98aa1eefeee32e22f' 39 REVISION_ARM = 'c09e94d74f6efc174bd88195eee902b4350fc006'
40 REVISION_ARM64 = 'bd10c315594d2a20e31a94a7a6c7adb9a0961c56' 40 REVISION_ARM64 = 'bd10c315594d2a20e31a94a7a6c7adb9a0961c56'
41 REVISION_I386 = 'c52471d9dec240c8d0a88fa98aa1eefeee32e22f' 41 REVISION_I386 = 'c09e94d74f6efc174bd88195eee902b4350fc006'
42 REVISION_MIPS = 'c52471d9dec240c8d0a88fa98aa1eefeee32e22f' 42 REVISION_MIPS = 'c09e94d74f6efc174bd88195eee902b4350fc006'
43 TARBALL_AMD64 = 'debian_wheezy_amd64_sysroot.tgz' 43 TARBALL_AMD64 = 'debian_wheezy_amd64_sysroot.tgz'
44 TARBALL_ARM = 'debian_wheezy_arm_sysroot.tgz' 44 TARBALL_ARM = 'debian_wheezy_arm_sysroot.tgz'
45 TARBALL_ARM64 = 'debian_jessie_arm64_sysroot.tgz' 45 TARBALL_ARM64 = 'debian_jessie_arm64_sysroot.tgz'
46 TARBALL_I386 = 'debian_wheezy_i386_sysroot.tgz' 46 TARBALL_I386 = 'debian_wheezy_i386_sysroot.tgz'
47 TARBALL_MIPS = 'debian_wheezy_mips_sysroot.tgz' 47 TARBALL_MIPS = 'debian_wheezy_mips_sysroot.tgz'
48 TARBALL_AMD64_SHA1SUM = 'ca4ed6e7c9e333b046be19d38584a11f6785eea6' 48 TARBALL_AMD64_SHA1SUM = 'dceb51a6bd358f7ef64062e813f4698464e89554'
49 TARBALL_ARM_SHA1SUM = '1fab0c2b1e93a933ddc593df3b43872b0ba5ded2' 49 TARBALL_ARM_SHA1SUM = '9dfbf23878a75fc8d482f39b0569314bbb869d63'
50 TARBALL_ARM64_SHA1SUM = '0db3be51912e0be46bb1b906fc196c5c1dfc090f' 50 TARBALL_ARM64_SHA1SUM = '0db3be51912e0be46bb1b906fc196c5c1dfc090f'
51 TARBALL_I386_SHA1SUM = '80c48c303319af2284e4a104c882d888af75ba81' 51 TARBALL_I386_SHA1SUM = '89da0ad90690c0bc71222caf0d55496f0ad8c201'
52 TARBALL_MIPS_SHA1SUM = '01da32a35288627e05cfca193b7f3659531c6f7d' 52 TARBALL_MIPS_SHA1SUM = '652631078c59f1c1f2bbb24637ef33374a2e8cdf'
53 SYSROOT_DIR_AMD64 = 'debian_wheezy_amd64-sysroot' 53 SYSROOT_DIR_AMD64 = 'debian_wheezy_amd64-sysroot'
54 SYSROOT_DIR_ARM = 'debian_wheezy_arm-sysroot' 54 SYSROOT_DIR_ARM = 'debian_wheezy_arm-sysroot'
55 SYSROOT_DIR_ARM64 = 'debian_jessie_arm64-sysroot' 55 SYSROOT_DIR_ARM64 = 'debian_jessie_arm64-sysroot'
56 SYSROOT_DIR_I386 = 'debian_wheezy_i386-sysroot' 56 SYSROOT_DIR_I386 = 'debian_wheezy_i386-sysroot'
57 SYSROOT_DIR_MIPS = 'debian_wheezy_mips-sysroot' 57 SYSROOT_DIR_MIPS = 'debian_wheezy_mips-sysroot'
58 58
59 valid_archs = ('arm', 'arm64', 'i386', 'amd64', 'mips') 59 valid_archs = ('arm', 'arm64', 'i386', 'amd64', 'mips')
60 60
61 61
62 class Error(Exception): 62 class Error(Exception):
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 with open(stamp, 'w') as s: 226 with open(stamp, 'w') as s:
227 s.write(url) 227 s.write(url)
228 228
229 229
230 if __name__ == '__main__': 230 if __name__ == '__main__':
231 try: 231 try:
232 sys.exit(main(sys.argv[1:])) 232 sys.exit(main(sys.argv[1:]))
233 except Error as e: 233 except Error as e:
234 sys.stderr.write(str(e) + '\n') 234 sys.stderr.write(str(e) + '\n')
235 sys.exit(1) 235 sys.exit(1)
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