Skip to content

Commit

Permalink
new file mozconfig for build actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchale committed Mar 18, 2024
1 parent 7960c4d commit 5864064
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/src/linux/shared/mozconfig_linux_base
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ac_add_options --with-app-name=midori
ac_add_options --with-app-basename=Midori
ac_add_options --with-branding=browser/branding/official
ac_add_options --disable-crashreporter
ac_add_options --enable-proxy-bypass-protection
ac_add_options --enable-unverified-updates
ac_add_options --enable-update-channel=release
ac_add_options --with-mozilla-api-keyfile="$PWD/floorp/apis/api-mozilla-key"
ac_add_options --with-google-location-service-api-keyfile="$PWD/floorp/apis/api-google-location-service-key"
ac_add_options --with-google-safebrowsing-api-keyfile="$PWD/floorp/apis/api-google-safe-browsing-key"
ac_add_options --enable-bootstrap
ac_add_options --with-l10n-base="$PWD/l10n-central/l10n-central"
ac_add_options --with-l10n-base="$PWD/floorp/browser/locales/l10n-central"
ac_add_options --enable-linker=lld
ac_add_options --enable-optimize="-O3"
ac_add_options --enable-lto
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/src/mac/shared/mozconfig_darwin_pgo_base
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ac_add_options --with-mozilla-api-keyfile="$PWD/floorp/apis/api-mozilla-key"
ac_add_options --with-google-location-service-api-keyfile="$PWD/floorp/apis/api-google-location-service-key"
ac_add_options --with-google-safebrowsing-api-keyfile="$PWD/floorp/apis/api-google-safe-browsing-key"

ac_add_options --with-l10n-base="$PWD/floorp/browser/locales/l10n-central"

ac_add_options --with-l10n-base="$PWD/l10n-central/l10n-central"
ac_add_options --disable-crashreporter
ac_add_options --enable-proxy-bypass-protection
ac_add_options --enable-unverified-updates
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ac_add_options --with-app-name=midori
ac_add_options --with-app-basename=Midori
ac_add_options --with-branding=browser/branding/official
ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --enable-proxy-bypass-protection
Expand All @@ -20,7 +21,6 @@ ac_add_options --without-wasm-sandboxed-libraries

ac_add_options --with-mozilla-api-keyfile="$PWD/floorp/apis/api-mozilla-key"
ac_add_options --with-google-location-service-api-keyfile="$PWD/floorp/apis/api-google-location-service-key"
ac_add_options --with-google-safebrowsing-api-keyfile="$PWD/floorp/apis/api-google-safe-browsing-key"

export WINSYSROOT="$(echo ~)/win-cross/vs2019"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/src/windows/x86/mozconfig_win_x86_pgo_base
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

ac_add_options --with-app-name=midori
ac_add_options --with-app-basename=Midori
ac_add_options --with-branding=browser/branding/official
ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --enable-proxy-bypass-protection
ac_add_options --enable-unverified-updates
ac_add_options --enable-update-channel=release
ac_add_options --enable-optimize="-O2 -Qvec -w -clang:-ftree-vectorize -clang:-msse3 -clang:-mssse3 -clang:-msse4.1 -clang:-mtune=haswell"
ac_add_options --enable-optimize="-O2"
ac_add_options --disable-tests
ac_add_options --enable-rust-simd
ac_add_options --enable-release
Expand All @@ -22,7 +23,6 @@ ac_add_options --without-wasm-sandboxed-libraries

ac_add_options --with-mozilla-api-keyfile="$PWD/floorp/apis/api-mozilla-key"
ac_add_options --with-google-location-service-api-keyfile="$PWD/floorp/apis/api-google-location-service-key"
ac_add_options --with-google-safebrowsing-api-keyfile="$PWD/floorp/apis/api-google-safe-browsing-key"

export WIN_UCRT_REDIST_DIR="$(echo ~)/win-cross/vs2019/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x86"
export WIN32_REDIST_DIR="$(echo ~)/win-cross/vs2019/VC/Redist/MSVC/14.29.30133/x86/Microsoft.VC142.CRT"
Expand All @@ -39,4 +39,4 @@ ac_add_options --target=i686-pc-windows-msvc

export MOZ_STUB_INSTALLER=1

export MOZ_LTO=cross
export MOZ_LTO=cross
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ac_add_options --with-app-name=midori
ac_add_options --with-app-basename=Midori
ac_add_options --with-branding=browser/branding/official
ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --enable-proxy-bypass-protection
Expand All @@ -20,7 +21,6 @@ ac_add_options --without-wasm-sandboxed-libraries

ac_add_options --with-mozilla-api-keyfile="$PWD/floorp/apis/api-mozilla-key"
ac_add_options --with-google-location-service-api-keyfile="$PWD/floorp/apis/api-google-location-service-key"
ac_add_options --with-google-safebrowsing-api-keyfile="$PWD/floorp/apis/api-google-safe-browsing-key"

export WIN_UCRT_REDIST_DIR="$(echo ~)/win-cross/vs2019/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x64"
export WIN32_REDIST_DIR="$(echo ~)/win-cross/vs2019/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT"
Expand Down

0 comments on commit 5864064

Please sign in to comment.