# Version number of the x86 host toolchain for untrusted targets.
# Each of these toolchain revision numbers should only be updated
# whenever there has been a real change to the corresponding
# toolchain, so that new toolchain tarballs are not downloaded
# unnecessarily.  There is no need to keep these numbers in sync
# with each other.
BIONIC_VERSION=12904
NEWLIB_VERSION=12790
GLIBC_VERSION=12831
PNACL_VERSION=12919

# ARM trusted toolchain is just a sysroot image.  The trusted cross
# compiler comes from the debian/ubuntu package.
ARM_TRUSTED_VERSION=12292

# TODO(bradnelson): Provide an automated way to update this.
#
# To update manually, go to the toolchain waterfall:
#   http://build.chromium.org/p/client.nacl.toolchain/console
# In the "merged" view choose a green build from native-newlib-arm and
# update the revision (leftmost column) below. Visit each of the Linux,
# Mac and Win builders and obtain the download URL for their GCC and
# binutils tarballs. Obtain the ALL_NEWLIB and ALL_GCC_LIBS hashes from
# the linux build. Finally, update the tool hashes below.
#
# ARM untrusted toolchain component versions to use.
# Results of toolchain_build.py revision: 12843
LINUX_BINUTILS_ARM=binutils_arm_i686_linux_b7ee3f0d62b065fe4338aff33f94a47aa19e64eb
LINUX_GCC_ARM=gcc_arm_i686_linux_75fe11bb5ec0e62a57b53ad2e5e6dce33e40c02e
MAC_BINUTILS_ARM=binutils_arm_x86_64_apple_darwin_5263d6a8ee47c4b52c2425b0667e7bcf19247ca2
MAC_GCC_ARM=gcc_arm_x86_64_apple_darwin_3ec225526fcfaa148346c7a9ef44158331692a7e
WIN_BINUTILS_ARM=binutils_arm_i686_w64_mingw32_58bcb6e977406fa77fd44d15951c799c611c5460
WIN_GCC_ARM=gcc_arm_i686_w64_mingw32_a16c6773411da5d81a847e6c4b17596ab0260a64
ALL_NEWLIB_ARM=newlib_arm_c48d44b3686abee01abb09c467554dfb619e7fcf
ALL_GCC_LIBS_ARM=gcc_libs_arm_5bfb9505b0b59ea263e69990c3c3952ebd6892e5

# Tool hashes
# In order to get the new hashes after changing the revs above
# run: build/download_toolchains.py --arm-untrusted --allow-bionic --hash
NACL_TOOL_ALL_GCC_LIBS_ARM_HASH=a2bd2213972bed08872e13a243546547c07ae1ec
NACL_TOOL_ALL_NEWLIB_ARM_HASH=479ae0e625fb7ce004df6b1cdf809413ae18b06e
NACL_TOOL_LINUX_BINUTILS_ARM_HASH=b214f57eee5fd3e6a9a1d73cd23d889876405cdd
NACL_TOOL_LINUX_GCC_ARM_HASH=89689d67bf1bff3a1ff3e5538eb7c92855b413e5
NACL_TOOL_MAC_BINUTILS_ARM_HASH=eab9296efff534d6ba569efb4bec733c9f2947e6
NACL_TOOL_MAC_GCC_ARM_HASH=cf127a3705d5c6081c60ab1233b51657853b910a
NACL_TOOL_WIN_BINUTILS_ARM_HASH=ffcf84369576aa3af13d17e8b2f9806254edeb27
NACL_TOOL_WIN_GCC_ARM_HASH=7a3d33c07dd1d3e2c162080caa85dd43b30c20c9
NACL_TOOL_LINUX_ARM-TRUSTED_HASH=dbea575fc43c5c20d61f706d165888f2509fdbe8
NACL_TOOL_LINUX_ARM_BIONIC_HASH=3be5576ee6d2897cd767c299bb07f1417ec257c1
NACL_TOOL_LINUX_X86_HASH=dde61c04276f61b9ed5198a9f153186f71648de3
NACL_TOOL_LINUX_X86_NEWLIB_HASH=2cc54f1a182155da8f6d410e83a1eeb827e01e98
NACL_TOOL_MAC_X86_HASH=7a5f640d6c835d421240d30f5c0c857dfde3b614
NACL_TOOL_MAC_X86_NEWLIB_HASH=fda8fd1faa38e598b936db6e92ba5608cb8d05ab
NACL_TOOL_PNACL_LINUX_X86_HASH=717082e1815ffa63b83bf6d3beecd363bffd32a9
NACL_TOOL_PNACL_MAC_X86_HASH=c8fa30c581341d725a1e1485f22f90373c4cd1ea
NACL_TOOL_PNACL_TRANSLATOR_HASH=e3828757ebce11e25b76044d7cdee4d35d9fd941
NACL_TOOL_PNACL_WIN_X86_HASH=71b1cf535ff2da9f91effbe301b52aff05346a8b
NACL_TOOL_WIN_X86_HASH=07adf68c8d66a2f63e4ed509e5e5344dfa9b2c77
NACL_TOOL_WIN_X86_NEWLIB_HASH=84c4eda80752398cb1bc51d4eea8c171851b1d4c
