chore: Remove unused set-global-vars.sh script and update MOZ_APP_UA_NAME in moz-build.patch

This commit is contained in:
Mauro Balades
2024-08-07 10:02:12 +02:00
parent 20b6203851
commit d810608a8c
3 changed files with 13 additions and 5 deletions

View File

@@ -1,7 +1,5 @@
set -ex
. ./.github/workflows/src/set-global-vars.sh
if command -v apt-get &> /dev/null
then
sudo apt-get update

View File

@@ -1,3 +0,0 @@
export MOZ_APP_UA_NAME="Firefox"
export MOZ_APP_VENDOR="Zen Browser"

View File

@@ -0,0 +1,13 @@
diff --git a/netwerk/protocol/http/moz.build b/netwerk/protocol/http/moz.build
index 49d78020bc3f193d6ba7cf7bd81756f8393039dd..94c48ce0f6d59d4906c33f44c4a6ae44e11261ba 100644
--- a/netwerk/protocol/http/moz.build
+++ b/netwerk/protocol/http/moz.build
@@ -206,7 +206,7 @@ LOCAL_INCLUDES += [
"/netwerk/url-classifier",
]
-DEFINES["MOZ_APP_UA_NAME"] = f'"{CONFIG["MOZ_APP_UA_NAME"]}"'
+DEFINES["MOZ_APP_UA_NAME"] = f'"Firefox"'
if CONFIG["MOZ_AUTH_EXTENSION"]:
LOCAL_INCLUDES += [