mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-29 20:01:52 +00:00
65 lines
1.8 KiB
Plaintext
65 lines
1.8 KiB
Plaintext
if test -d "$HOME/.mozbuild/clang/bin"; then
|
|
export CC="$HOME"/.mozbuild/clang/bin/clang
|
|
export CXX="$HOME"/.mozbuild/clang/bin/clang++
|
|
else
|
|
export CC=clang
|
|
export CXX=clang++
|
|
fi
|
|
|
|
# Browser branding
|
|
ac_add_options --enable-update-channel=release
|
|
ac_add_options --without-wasm-sandboxed-libraries
|
|
|
|
# ac_add_options --with-branding=beta
|
|
|
|
ac_add_options --with-app-name=${binName}
|
|
export MOZ_USER_DIR="${name}"
|
|
export MOZ_APP_VENDOR="${vendor}"
|
|
export MOZ_APP_BASENAME=Zen
|
|
export MOZ_APP_PROFILE=${binName}
|
|
export MOZ_APP_DISPLAYNAME="${name}"
|
|
export MOZ_BRANDING_DIRECTORY=${brandingDir}
|
|
export MOZ_OFFICIAL_BRANDING_DIRECTORY=${brandingDir}
|
|
export MOZ_MACBUNDLE_ID=${appId}
|
|
export MOZ_DISTRIBUTION_ID=${appId}
|
|
|
|
# Uncomment if builds are too resource hungry
|
|
# mk_add_options MOZ_MAKE_FLAGS="-j4"
|
|
#ac_add_options --enable-linker=gold
|
|
|
|
# Misc
|
|
export MOZ_STUB_INSTALLER=1
|
|
export MOZ_INCLUDE_SOURCE_INFO=1
|
|
export MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
|
|
export MOZ_SOURCE_CHANGESET=${changeset}
|
|
|
|
ac_add_options --enable-bootstrap
|
|
|
|
ac_add_options --enable-application=browser
|
|
ac_add_options --enable-hardening
|
|
ac_add_options --enable-rust-simd
|
|
ac_add_options --enable-release
|
|
ac_add_options --enable-optimize
|
|
ac_add_options --with-ccache=sccache
|
|
ac_add_options --disable-debug
|
|
|
|
ac_add_options --disable-crashreporter
|
|
ac_add_options --disable-dmd
|
|
ac_add_options --disable-geckodriver
|
|
ac_add_options --disable-parental-controls
|
|
ac_add_options --disable-profiling
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --enable-unverified-updates
|
|
ac_add_options --enable-updater
|
|
|
|
ac_add_options --without-wasm-sandboxed-libraries
|
|
|
|
export MOZ_REQUIRE_SIGNING=
|
|
export MOZ_TELEMETRY_REPORTING=
|
|
|
|
ac_add_options --target=x86_64-pc-linux-gnu
|
|
|
|
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
|
|
|