Skip to content
Snippets Groups Projects
Commit 6dc032c6 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern: Committed by Beatriz Rizental
Browse files

Tweaks to the build system

Bug 40857: Modified the fat .aar creation file

This is a workaround to build fat .aars with the compiling enviornment
disabled.
Mozilla does not use a similar configuration, but either runs a Firefox
build and discards its output, or uses artifacts build.

We might switch to artifact builds too, and drop this patch, or write a
better one to upstream. But until then we need this patch.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1763770.

Bug 41458: Prevent `mach package-multi-locale` from actually creating a package

macOS builds need some files to be moved around with
./mach package-multi-locale to create multi-locale packages.
The required command isn't exposed through any other mach command.
So, we patch package-multi-locale both to prevent it from failing when
doing official builds and to detect any future changes on it.
parent 8059c913
Branches
Tags
1 merge request!1527Bug 43808: Rebase 128.10.1 onto 128.11
......@@ -76,7 +76,8 @@ if CONFIG["CC_TYPE"] == "clang-cl":
if CONFIG["OS_ARCH"] == "WINNT":
RCINCLUDE = "splash.rc"
DIRS += [
"pbproxy",
# tor-browser#41798 don't build private_browsing.exe on Windows
# "pbproxy",
"winlauncher",
]
USE_LIBS += [
......
......
......@@ -130,10 +130,10 @@
@BINPATH@/firefox.VisualElementsManifest.xml
@BINPATH@/browser/VisualElements/VisualElements_150.png
@BINPATH@/browser/VisualElements/VisualElements_70.png
@BINPATH@/private_browsing.exe
@BINPATH@/private_browsing.VisualElementsManifest.xml
@BINPATH@/browser/VisualElements/PrivateBrowsing_150.png
@BINPATH@/browser/VisualElements/PrivateBrowsing_70.png
; @BINPATH@/private_browsing.exe
; @BINPATH@/private_browsing.VisualElementsManifest.xml
; @BINPATH@/browser/VisualElements/PrivateBrowsing_150.png
; @BINPATH@/browser/VisualElements/PrivateBrowsing_70.png
#else
#ifndef XP_MACOSX
@BINPATH@/@MOZ_APP_NAME@-bin
......
......
......@@ -16,7 +16,7 @@ def hasCompileArtifacts() {
}
ext.configureVariantWithGeckoBinaries = { variant ->
if (hasCompileArtifacts()) {
if (hasCompileArtifacts() || true) {
// Local (read, not 'official') builds want to reflect developer changes to
// the omnijar sources, and (when compiling) to reflect developer changes to
// the native binaries. To do this, the Gradle build calls out to the
......
......
......@@ -277,6 +277,7 @@ def prompt_telemetry_message_contributor():
def initialize_telemetry_setting(settings, topsrcdir: str, state_dir: str):
"""Enables telemetry for employees or prompts the user."""
return
# If the user doesn't care about telemetry for this invocation, then
# don't make requests to Bugzilla and/or prompt for whether the
# user wants to opt-in.
......
......
......@@ -3220,6 +3220,10 @@ def package_l10n(command_context, verbose=False, locales=[]):
target = ["package"]
if command_context.substs["MOZ_BUILD_APP"] == "mobile/android":
target.append("AB_CD=multi")
else:
# tor-browser#41458 and tor-browser-build#40687: do not actually
# create the package (at least on desktop)
return 0
command_context._run_make(
directory=command_context.topobjdir,
......
......
......@@ -96,7 +96,7 @@ vendored:third_party/python/wheel
vendored:third_party/python/zipp
# glean-sdk may not be installable if a wheel isn't available
# and it has to be built from source.
pypi-optional:glean-sdk==60.1.1:telemetry will not be collected
# pypi-optional:glean-sdk==60.1.1:telemetry will not be collected
# Mach gracefully handles the case where `psutil` is unavailable.
# We aren't (yet) able to pin packages in automation, so we have to
# support down to the oldest locally-installed version (5.4.2).
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment