Skip to content

Commit 6d6f375

Browse files
committed
Refactor PGO configuration in mozconfig and update MAC bundle identifier in old-configure.in
1 parent 62e165b commit 6d6f375

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

configs/macos/mozconfig

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@ ac_add_options --enable-eme=widevine
66
export MOZ_MACBUNDLE_ID=${appId}
77
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
88

9-
if test "$ZEN_RELEASE"; then
10-
if test "$ZEN_GA_DISABLE_PGO"; then
11-
export ZEN_DUMMY=1
12-
else
13-
export MOZ_PGO=1
14-
ac_add_options MOZ_PGO=1
15-
fi
16-
fi
9+
1710

1811
if test "$SURFER_COMPAT" = "x86_64"; then
1912
ac_add_options --target=x86_64-apple-darwin

src/old-configure-in.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/old-configure.in b/old-configure.in
2+
index 036734708f20d658248a8b5b3a6d8adc2530a878..4e1f0d96cd355cc1195b58548b29c1a5d6bedaa8 100644
3+
--- a/old-configure.in
4+
+++ b/old-configure.in
5+
@@ -89,7 +89,7 @@ dnl Mac bundle identifier (based on MOZ_APP_DISPLAYNAME)
6+
if test -z "$MOZ_MACBUNDLE_ID"; then
7+
MOZ_MACBUNDLE_ID=`echo $MOZ_APP_DISPLAYNAME | tr 'A-Z' 'a-z' | tr -dc 'a-z-'`
8+
fi
9+
-MOZ_MACBUNDLE_ID=${MOZ_DISTRIBUTION_ID}.${MOZ_MACBUNDLE_ID}
10+
+MOZ_MACBUNDLE_ID=app.zen-browser.zen
11+
if test "$MOZ_DEBUG"; then
12+
MOZ_MACBUNDLE_ID=${MOZ_MACBUNDLE_ID}debug
13+
fi

0 commit comments

Comments
 (0)