# 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.
NEWLIB_VERSION=12421
GLIBC_VERSION=12421
PNACL_VERSION=12494

# 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: 12481
LINUX_GCC_ARM=gcc_arm_8e43d0c27e60e3025782c77ce69d4d7484d30e54
LINUX_BINUTILS_ARM=binutils_arm_c5ed2018e2d76e97ddd9b226a03b478f2f9ff254
MAC_GCC_ARM=gcc_arm_bc6d2105c63a1151ae6aac4cb843d0b4b4dfdf29
MAC_BINUTILS_ARM=binutils_arm_dd769d4af3d7ad56456086aa2d329e341f5a16ff
WIN_GCC_ARM=gcc_arm_9c49f877be18b801c0d6364b3262c99186f3ffd1
WIN_BINUTILS_ARM=binutils_arm_62f6cc78c5fbeb7774de2e3b158c1ea5fb1290c4
ALL_NEWLIB_ARM=newlib_arm_36a4c81e7d903bfa6bf047012ea913b495e972f8
ALL_GCC_LIBS_ARM=gcc_libs_arm_09094f0c8874f3d94c54fa72fded1035a108304a

# Tool hashes
# In order to get the new hashes after changing the revs above
# run: build/download_toolchains.py --arm-untrusted --hash
NACL_TOOL_ALL_GCC_LIBS_ARM_HASH=5a1866cd2c31eca79c10366e14c21522483b622e
NACL_TOOL_ALL_NEWLIB_ARM_HASH=b79e3e3b9ae679a1140614ab966d81f0310907a2
NACL_TOOL_LINUX_BINUTILS_ARM_HASH=9be06bcc6d120081ff145d3475d97070e0fdb271
NACL_TOOL_LINUX_GCC_ARM_HASH=9f9644f6b98d90d32bd7af9972f68d6d85687a11
NACL_TOOL_MAC_BINUTILS_ARM_HASH=0237fc5edfba6ddaa3d740b20aa6d80c12d98ae2
NACL_TOOL_MAC_GCC_ARM_HASH=9645c7690ccc60c1cfe0e6fffa775af77d252deb
NACL_TOOL_WIN_BINUTILS_ARM_HASH=62d3eae94416bbe8369a7c173f190ad687079b3c
NACL_TOOL_WIN_GCC_ARM_HASH=69853d54c53fc3d7abd3cfb1238d960abfd20d4f
NACL_TOOL_LINUX_ARM-TRUSTED_HASH=dbea575fc43c5c20d61f706d165888f2509fdbe8
NACL_TOOL_LINUX_X86_HASH=a9c6beffc24ece6ec993a2a7d3df73fdef3450fc
NACL_TOOL_LINUX_X86_NEWLIB_HASH=7554c7cb8d03c81d10d8f79176e19b8f47b2d192
NACL_TOOL_MAC_X86_HASH=c8e8e593128342e0392f08765a7535cbc9cf6b9b
NACL_TOOL_MAC_X86_NEWLIB_HASH=9ea329aa0bb5e401b32206f47ed8283070ba420e
NACL_TOOL_PNACL_LINUX_X86_HASH=db5c894e417d57a6c1b393ca203f39cd591c8943
NACL_TOOL_PNACL_MAC_X86_HASH=65c239286d96a256e3fa21c35fa53f3d6c16e9f3
NACL_TOOL_PNACL_TRANSLATOR_HASH=5d8e7928b750b31d9b938ec43088aa1b235cc566
NACL_TOOL_PNACL_WIN_X86_HASH=6981bbe00ef81d26937ccdcd71c9c78e3336f22f
NACL_TOOL_WIN_X86_HASH=5edcb71c6dfce585bbe727010c8d6b535a6e9f42
NACL_TOOL_WIN_X86_NEWLIB_HASH=87d586cdd5275bf8917fde8c8e17500cd1fa8c6d
