summaryrefslogtreecommitdiffstats
path: root/build/mozconfig.win-common
diff options
context:
space:
mode:
Diffstat (limited to 'build/mozconfig.win-common')
-rw-r--r--build/mozconfig.win-common12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/mozconfig.win-common b/build/mozconfig.win-common
new file mode 100644
index 0000000000..9c592d1f37
--- /dev/null
+++ b/build/mozconfig.win-common
@@ -0,0 +1,12 @@
+# 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/.
+
+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