mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
72fd664abd
This is both for future proofing (fetches could move any time although they likely won't), and to fix the path on the future Windows PGO cross builds, where the fetches path is not under $WORKSPACE. Differential Revision: https://phabricator.services.mozilla.com/D66358 --HG-- extra : moz-landing-system : lando
17 lines
669 B
Plaintext
17 lines
669 B
Plaintext
# 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 http://mozilla.org/MPL/2.0/.
|
|
|
|
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
|
|
export MAKECAB=$TOOLTOOL_DIR/makecab.exe
|
|
export DUMP_SYMS="${MOZ_FETCHES_DIR}/dump_syms/dump_syms"
|
|
|
|
if [ -z "$USE_ARTIFACT" ]; then
|
|
if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" ]; then
|
|
export MOZ_LTO=cross
|
|
ac_add_options --enable-profile-use=cross
|
|
ac_add_options --with-pgo-jarlog="${MOZ_FETCHES_DIR}/en-US.log"
|
|
ac_add_options --with-pgo-profile-path="${MOZ_FETCHES_DIR}/merged.profdata"
|
|
fi
|
|
fi
|