Skip to content

Commit

Permalink
other
Browse files Browse the repository at this point in the history
  • Loading branch information
K4sum1 committed Jul 14, 2024
1 parent 771900a commit 26cda67
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 85 deletions.
65 changes: 22 additions & 43 deletions mozconfigs/mail-win
Original file line number Diff line number Diff line change
Expand Up @@ -6,77 +6,64 @@
ac_add_options --enable-official-branding
ac_add_options --with-app-name=eMail
ac_add_options --with-app-basename=eMail
ac_add_options --with-distribution-id=com.eclipse
export MOZ_OFFICIAL_BRANDING=1
export MC_OFFICIAL=1

# 16 jobs for 16 cores
mk_add_options MOZ_MAKE_FLAGS="-j16"

# x86 build
ac_add_options --host=i686-pc-mingw32
ac_add_options --target=i686-pc-mingw32
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86
WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86

# x64 build
#ac_add_options --target=x86_64-pc-mingw32
#WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x64

# Build only Lun3r
# Build only eMail
ac_add_options --enable-project=mail
ac_add_options --disable-artifact-builds

# Updater stuffs
ac_add_options --disable-updater
# Enable if update server and signatures are figured out
#ac_add_options --enable-nss-mar

# Optimization settings
ac_add_options --enable-release
ac_add_options --enable-jemalloc
ac_add_options --disable-accessibility
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug-js-modules
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests
#ac_add_options --disable-mochitests
ac_add_options --disable-accessibility
#ac_add_options --enable-devtools
#ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-js-lto
ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
ac_add_options --enable-phoenix-extensions
ac_add_options --enable-release
ac_add_options --enable-shared-js
ac_add_options --enable-strip
ac_add_options --enable-install-strip
#ac_add_options --enable-clang-plugin
ac_add_options --enable-js-lto
ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2it -Oy- -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
#ac_add_options --enable-hardening
export CROSS_COMPILE=0
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZILLA_OFFICIAL=1
export MOZ_OPTIMIZE=1
export MOZILLA_OFFICIAL=1
export STRIP_FLAGS="--strip-debug --strip-unneeded"

# Media settings
ac_add_options --enable-av1
ac_add_options --enable-jxl
ac_add_options --enable-raw
ac_add_options --enable-webrtc
ac_add_options --enable-jxl
ac_add_options --enable-av1

# Enable if update server and signatures are figured out
#ac_add_options --enable-nss-mar

# Client settings
#ac_add_options --disable-backgroundtasks
#ac_add_options --disable-bits-download
ac_add_options --disable-crashreporter
#ac_add_options --disable-default-browser-agent
ac_add_options --disable-eme
ac_add_options --disable-maintenance-service
#ac_add_options --disable-notification-server
ac_add_options --disable-parental-controls
#ac_add_options --disable-update-agent
ac_add_options --disable-updater
#ac_add_options --without-wasm-sandboxed-libraries
export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=
export CROSS_COMPILE=0
export MOZ_CRASHREPORTER=0
export MOZ_DATA_REPORTING=0
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_REQUIRE_SIGNING=
export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason
export MOZ_TELEMETRY_REPORTING=

# Set -Copt-level=3
Expand All @@ -86,14 +73,6 @@ ac_add_options OPT_LEVEL="3"
# Enable LTO
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
#export MOZ_PGO=1
#ac_add_options MOZ_PGO=1

if test "$GEN_PGO"; then
ac_add_options --enable-profile-generate
elif test "$USE_PGO"; then
ac_add_options --enable-profile-use=cross
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O2"
Expand Down
65 changes: 25 additions & 40 deletions mozconfigs/navigator-win
Original file line number Diff line number Diff line change
Expand Up @@ -4,79 +4,72 @@

# Please do not redistribute this build with official branding if you are not part of Eclipse Community.
ac_add_options --enable-official-branding
ac_add_options --with-app-name="Lun3r Navigator"
ac_add_options --with-app-name=lun3r-navigator
ac_add_options --with-app-basename="Lun3r Navigator"
ac_add_options --with-distribution-id=com.eclipse
export MOZ_OFFICIAL_BRANDING=1
export MC_OFFICIAL=1

# 16 jobs for 16 cores
mk_add_options MOZ_MAKE_FLAGS="-j16"

# x86 build
ac_add_options --host=i686-pc-mingw32
ac_add_options --target=i686-pc-mingw32
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86
WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86

# x64 build
#ac_add_options --host=x86_64-pc-mingw32
#ac_add_options --target=x86_64-pc-mingw32
#WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x64
#WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r64

# Build only Lun3r
ac_add_options --enable-project=navigator
ac_add_options --disable-artifact-builds

# Updater stuffs
ac_add_options --disable-updater
# Enable if update server and signatures are figured out
#ac_add_options --enable-nss-mar

# Optimization settings
ac_add_options --enable-release
ac_add_options --enable-jemalloc
ac_add_options --disable-accessibility
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug-js-modules
ac_add_options --disable-debug-symbols
ac_add_options --disable-tests
#ac_add_options --disable-mochitests
ac_add_options --disable-accessibility
#ac_add_options --enable-devtools
ac_add_options --enable-devtools
#ac_add_options --enable-install-strip
ac_add_options --enable-jemalloc
ac_add_options --enable-js-lto
ac_add_options --enable-optimize="-O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
ac_add_options --enable-phoenix-extensions
ac_add_options --enable-release
ac_add_options --enable-shared-js
ac_add_options --enable-strip
ac_add_options --enable-install-strip
#ac_add_options --enable-clang-plugin
ac_add_options --enable-js-lto
ac_add_options --enable-optimize="-arch:IA32 -O2 -Ob2it -Oy- -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
#ac_add_options --enable-hardening
export CROSS_COMPILE=0
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZILLA_OFFICIAL=1
export MOZ_OPTIMIZE=1
export MOZILLA_OFFICIAL=1
export STRIP_FLAGS="--strip-debug --strip-unneeded"

# Media settings
ac_add_options --enable-av1
ac_add_options --enable-jxl
ac_add_options --enable-raw
ac_add_options --enable-webrtc
ac_add_options --enable-jxl
ac_add_options --enable-av1

# Enable if update server and signatures are figured out
#ac_add_options --enable-nss-mar

# Client settings
#ac_add_options --disable-backgroundtasks
#ac_add_options --disable-bits-download
ac_add_options --disable-crashreporter
#ac_add_options --disable-default-browser-agent
ac_add_options --disable-eme
ac_add_options --disable-maintenance-service
#ac_add_options --disable-notification-server
ac_add_options --disable-parental-controls
#ac_add_options --disable-update-agent
ac_add_options --disable-updater
#ac_add_options --without-wasm-sandboxed-libraries
export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=
export CROSS_COMPILE=0
export MOZ_CRASHREPORTER=0
export MOZ_DATA_REPORTING=0
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_REQUIRE_SIGNING=
export MOZ_SOURCE_CHANGESET=iloveneedingtobodgechangesetfornoreason
export MOZ_TELEMETRY_REPORTING=

# Set -Copt-level=3
Expand All @@ -86,14 +79,6 @@ ac_add_options OPT_LEVEL="3"
# Enable LTO
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
#export MOZ_PGO=1
#ac_add_options MOZ_PGO=1

if test "$GEN_PGO"; then
ac_add_options --enable-profile-generate
elif test "$USE_PGO"; then
ac_add_options --enable-profile-use=cross
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O2"
Expand Down
4 changes: 2 additions & 2 deletions navigator/branding/official/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# 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/.

MOZ_APP_NAME="Lun3r_Navigator"
MOZ_APP_NAME="lun3r-navigator"

MOZ_APP_BASENAME="Lun3r Navigator"

MOZ_APP_DISPLAYNAME="Lun3r Navigator"

MOZ_APP_UA_NAME=Lun3r_Navigator
MOZ_APP_UA_NAME=Lun3r-Navigator

MOZ_APP_VENDOR="Eclipse Community"

Expand Down

0 comments on commit 26cda67

Please sign in to comment.