Linux: Update to debian jessie sysroots

This commit is contained in:
Marshall Greenblatt 2017-06-05 14:07:54 +03:00
parent 7d05784842
commit 8774cd9639
1 changed files with 4 additions and 3 deletions

View File

@ -426,12 +426,13 @@ def LinuxSysrootExists(cpu):
# Directory that contains sysroots. # Directory that contains sysroots.
sysroot_root = os.path.join(src_dir, 'build', 'linux') sysroot_root = os.path.join(src_dir, 'build', 'linux')
# CPU-specific sysroot directory names. # CPU-specific sysroot directory names.
# Should match the values in build/config/sysroot.gni.
if cpu == 'x86': if cpu == 'x86':
sysroot_name = 'debian_wheezy_i386-sysroot' sysroot_name = 'debian_jessie_i386-sysroot'
elif cpu == 'x64': elif cpu == 'x64':
sysroot_name = 'debian_wheezy_amd64-sysroot' sysroot_name = 'debian_jessie_amd64-sysroot'
elif cpu == 'arm': elif cpu == 'arm':
sysroot_name = 'debian_wheezy_arm-sysroot' sysroot_name = 'debian_jessie_arm-sysroot'
else: else:
raise Exception('Unrecognized sysroot CPU: %s' % cpu) raise Exception('Unrecognized sysroot CPU: %s' % cpu)