summaryrefslogtreecommitdiffstats
path: root/build/macosx/mozconfig.common
diff options
context:
space:
mode:
Diffstat (limited to 'build/macosx/mozconfig.common')
-rw-r--r--build/macosx/mozconfig.common15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/macosx/mozconfig.common b/build/macosx/mozconfig.common
new file mode 100644
index 0000000000..ad234d290f
--- /dev/null
+++ b/build/macosx/mozconfig.common
@@ -0,0 +1,15 @@
+if test `uname -s` = Linux; then
+ . $topsrcdir/build/macosx/cross-mozconfig.common
+else
+ . $topsrcdir/build/macosx/local-mozconfig.common
+fi
+
+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
+