author Ted Mielczarek <>
Fri, 06 Jan 2017 05:57:10 -0500
changeset 328759 e31b6b05ba5b713a6fcac67dbde2eccd591a85dd
parent 236592 b40fd507c1756234ea455320cc2ab5535a719311
child 328606 a472aa6efe5ea5541d9d1dbc7d41db8ea0a76bcd
permissions -rw-r--r--
bug 1329320 - replace makecab with rust-makecab in symbolstore. r=gps It turns out that running makecab to compress PDB files takes a significant amount of time in the buildsymbols step. I wrote an implementation of makecab in Rust that implements only the subset of features we use and it's significantly faster: This patch adds a makecab check to moz.configure, adds a release build of the makecab binary to the Windows tooltool manifests, points the build at it from, and changes to use MAKECAB from substs instead of calling `makecab.exe` directly. MozReview-Commit-ID: 76FHLIZFCXS

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

if [ "x$IS_NIGHTLY" = "xyes" ]; then
  # Some nightlies (eg: Mulet) don't want these set.

# Some builds (eg: Mulet) don't want the installer, so only set this if it
# hasn't already been set.

export SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=c:/builds/crash-stats-api.token
export MAKECAB=$topsrcdir/makecab.exe