Loading browser/config/mozconfigs/base-browser 0 → 100644 +43 −0 Original line number Diff line number Diff line # Shared build settings and settings to enhance security and privacy. . $topsrcdir/browser/config/mozconfig if test -f "$topsrcdir/mozconfig-toolchain"; then . $topsrcdir/mozconfig-toolchain fi mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ ac_add_options --enable-official-branding export MOZILLA_OFFICIAL=1 ac_add_options --enable-optimize ac_add_options --enable-rust-simd ac_add_options --enable-bundled-fonts ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-crashreporter # Before removing, please notice that WebRTC does not work on mingw (Bug 1393901) ac_add_options --disable-webrtc ac_add_options --disable-parental-controls # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme ac_add_options --enable-proxy-bypass-protection # See bugs #30575 and #32418: system policies are harmful either because they # could allow proxy bypass, and override a number of other preferences we set ac_add_options --disable-system-policies # See bug #41131 ac_add_options --disable-backgroundtasks ac_add_options --enable-base-browser # Disable telemetry ac_add_options MOZ_TELEMETRY_REPORTING= if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi browser/config/mozconfigs/base-browser-android 0 → 100644 +49 −0 Original line number Diff line number Diff line export MOZILLA_OFFICIAL=1 ac_add_options --enable-optimize ac_add_options --enable-rust-simd ac_add_options --enable-official-branding ac_add_options --enable-application=mobile/android CC="clang" CXX="clang++" ac_add_options --with-java-bin-path=$JAVA_HOME/bin ac_add_options --with-android-sdk=$ANDROID_HOME ac_add_options --with-android-ndk=$ANDROID_NDK_HOME ac_add_options --with-android-min-sdk=21 ac_add_options --with-gradle=$GRADLE_HOME/bin/gradle # https://bugzilla.mozilla.org/show_bug.cgi?id=1758568 ac_add_options --enable-minify=properties ac_add_options --enable-strip ac_add_options --enable-install-strip ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-rust-debug ac_add_options --disable-updater ac_add_options --disable-crashreporter ac_add_options --disable-webrtc ac_add_options --disable-parental-controls ac_add_options --enable-proxy-bypass-protection ac_add_options --disable-system-policies ac_add_options --enable-base-browser # Disable telemetry ac_add_options MOZ_TELEMETRY_REPORTING= if test -n "$LOCAL_DEV_BUILD"; then # You must use the "default" bogus channel for dev builds ac_add_options --enable-update-channel=default else # We only use beta GeckoView for now, for official builds ac_add_options --enable-update-channel=beta fi if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi browser/confvars.sh +0 −20 Original line number Diff line number Diff line Loading @@ -5,26 +5,6 @@ MOZ_APP_VENDOR=Mozilla if test "$OS_ARCH" = "WINNT"; then if ! test "$HAVE_64BIT_BUILD"; then if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \ "$MOZ_UPDATE_CHANNEL" = "nightly-try" -o \ "$MOZ_UPDATE_CHANNEL" = "aurora" -o \ "$MOZ_UPDATE_CHANNEL" = "beta" -o \ "$MOZ_UPDATE_CHANNEL" = "release"; then if ! test "$MOZ_DEBUG"; then if ! test "$USE_STUB_INSTALLER"; then # Expect USE_STUB_INSTALLER from taskcluster for downstream task consistency echo "ERROR: STUB installer expected to be enabled but" echo "ERROR: USE_STUB_INSTALLER is not specified in the environment" exit 1 fi MOZ_STUB_INSTALLER=1 fi fi fi fi BROWSER_CHROME_URL=chrome://browser/content/browser.xhtml # MOZ_APP_DISPLAYNAME will be set by branding/configure.sh Loading moz.configure +8 −0 Original line number Diff line number Diff line Loading @@ -1016,6 +1016,14 @@ def zlib_in_mozglue(system_zlib, js_shared, linker, os): set_config("ZLIB_IN_MOZGLUE", zlib_in_mozglue) set_define("ZLIB_IN_MOZGLUE", zlib_in_mozglue) option( "--enable-base-browser", help="Enable Base Browser" ) set_config("BASE_BROWSER", True, when="--enable-base-browser") set_define("BASE_BROWSER", True, when="--enable-base-browser") # Please do not add configure checks from here on. Loading mozconfig-android-aarch64 0 → 100644 +4 −0 Original line number Diff line number Diff line . $topsrcdir/browser/config/mozconfigs/base-browser-android mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-aarch64-linux-android ac_add_options --target=aarch64-linux-android Loading
browser/config/mozconfigs/base-browser 0 → 100644 +43 −0 Original line number Diff line number Diff line # Shared build settings and settings to enhance security and privacy. . $topsrcdir/browser/config/mozconfig if test -f "$topsrcdir/mozconfig-toolchain"; then . $topsrcdir/mozconfig-toolchain fi mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ ac_add_options --enable-official-branding export MOZILLA_OFFICIAL=1 ac_add_options --enable-optimize ac_add_options --enable-rust-simd ac_add_options --enable-bundled-fonts ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-crashreporter # Before removing, please notice that WebRTC does not work on mingw (Bug 1393901) ac_add_options --disable-webrtc ac_add_options --disable-parental-controls # Let's make sure no preference is enabling either Adobe's or Google's CDM. ac_add_options --disable-eme ac_add_options --enable-proxy-bypass-protection # See bugs #30575 and #32418: system policies are harmful either because they # could allow proxy bypass, and override a number of other preferences we set ac_add_options --disable-system-policies # See bug #41131 ac_add_options --disable-backgroundtasks ac_add_options --enable-base-browser # Disable telemetry ac_add_options MOZ_TELEMETRY_REPORTING= if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi
browser/config/mozconfigs/base-browser-android 0 → 100644 +49 −0 Original line number Diff line number Diff line export MOZILLA_OFFICIAL=1 ac_add_options --enable-optimize ac_add_options --enable-rust-simd ac_add_options --enable-official-branding ac_add_options --enable-application=mobile/android CC="clang" CXX="clang++" ac_add_options --with-java-bin-path=$JAVA_HOME/bin ac_add_options --with-android-sdk=$ANDROID_HOME ac_add_options --with-android-ndk=$ANDROID_NDK_HOME ac_add_options --with-android-min-sdk=21 ac_add_options --with-gradle=$GRADLE_HOME/bin/gradle # https://bugzilla.mozilla.org/show_bug.cgi?id=1758568 ac_add_options --enable-minify=properties ac_add_options --enable-strip ac_add_options --enable-install-strip ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-rust-debug ac_add_options --disable-updater ac_add_options --disable-crashreporter ac_add_options --disable-webrtc ac_add_options --disable-parental-controls ac_add_options --enable-proxy-bypass-protection ac_add_options --disable-system-policies ac_add_options --enable-base-browser # Disable telemetry ac_add_options MOZ_TELEMETRY_REPORTING= if test -n "$LOCAL_DEV_BUILD"; then # You must use the "default" bogus channel for dev builds ac_add_options --enable-update-channel=default else # We only use beta GeckoView for now, for official builds ac_add_options --enable-update-channel=beta fi if test -z "$WASI_SYSROOT"; then ac_add_options --without-wasm-sandboxed-libraries fi
browser/confvars.sh +0 −20 Original line number Diff line number Diff line Loading @@ -5,26 +5,6 @@ MOZ_APP_VENDOR=Mozilla if test "$OS_ARCH" = "WINNT"; then if ! test "$HAVE_64BIT_BUILD"; then if test "$MOZ_UPDATE_CHANNEL" = "nightly" -o \ "$MOZ_UPDATE_CHANNEL" = "nightly-try" -o \ "$MOZ_UPDATE_CHANNEL" = "aurora" -o \ "$MOZ_UPDATE_CHANNEL" = "beta" -o \ "$MOZ_UPDATE_CHANNEL" = "release"; then if ! test "$MOZ_DEBUG"; then if ! test "$USE_STUB_INSTALLER"; then # Expect USE_STUB_INSTALLER from taskcluster for downstream task consistency echo "ERROR: STUB installer expected to be enabled but" echo "ERROR: USE_STUB_INSTALLER is not specified in the environment" exit 1 fi MOZ_STUB_INSTALLER=1 fi fi fi fi BROWSER_CHROME_URL=chrome://browser/content/browser.xhtml # MOZ_APP_DISPLAYNAME will be set by branding/configure.sh Loading
moz.configure +8 −0 Original line number Diff line number Diff line Loading @@ -1016,6 +1016,14 @@ def zlib_in_mozglue(system_zlib, js_shared, linker, os): set_config("ZLIB_IN_MOZGLUE", zlib_in_mozglue) set_define("ZLIB_IN_MOZGLUE", zlib_in_mozglue) option( "--enable-base-browser", help="Enable Base Browser" ) set_config("BASE_BROWSER", True, when="--enable-base-browser") set_define("BASE_BROWSER", True, when="--enable-base-browser") # Please do not add configure checks from here on. Loading
mozconfig-android-aarch64 0 → 100644 +4 −0 Original line number Diff line number Diff line . $topsrcdir/browser/config/mozconfigs/base-browser-android mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-aarch64-linux-android ac_add_options --target=aarch64-linux-android