mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 19:59:59 +02:00
Refactor codesigning script and clean up PGO configuration in macOS mozconfig
This commit is contained in:
parent
2d3727670c
commit
a679bcc669
2 changed files with 1 additions and 9 deletions
|
@ -112,7 +112,7 @@ echo "-------------------------------------------------------------------------"
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# move Zen_Browser.provisionprofile to the Contents directory
|
# move Zen_Browser.provisionprofile to the Contents directory
|
||||||
#cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
|
cp Zen_Browser.provisionprofile "${BUNDLE}"/Contents/embedded.provisionprofile
|
||||||
|
|
||||||
# Clear extended attributes which cause codesign to fail
|
# Clear extended attributes which cause codesign to fail
|
||||||
xattr -cr "${BUNDLE}"
|
xattr -cr "${BUNDLE}"
|
||||||
|
|
|
@ -6,14 +6,6 @@ ac_add_options --enable-eme=widevine
|
||||||
export MOZ_MACBUNDLE_ID=${appId}
|
export MOZ_MACBUNDLE_ID=${appId}
|
||||||
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
|
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
|
||||||
|
|
||||||
if test "$ZEN_RELEASE"; then
|
|
||||||
if test "$ZEN_GA_DISABLE_PGO"; then
|
|
||||||
export ZEN_DUMMY=1
|
|
||||||
else
|
|
||||||
export MOZ_PGO=1
|
|
||||||
ac_add_options MOZ_PGO=1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$SURFER_COMPAT" = "x86_64"; then
|
if test "$SURFER_COMPAT" = "x86_64"; then
|
||||||
ac_add_options --target=x86_64-apple-darwin
|
ac_add_options --target=x86_64-apple-darwin
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue