morgan pushed to branch tor-browser-128.5.0esr-14.5-1 at The Tor Project / 
Applications / Tor Browser


Commits:
d1eed871 by NoisyCoil at 2024-12-03T18:56:33+00:00
Bug 43340: Add mozconfig-linux-aarch64-dev

Copy mozconfig-linux-x86_64-dev, except that linux-aarch64 does not
support the {enable,disable}-eme options

- - - - -
85faa5f2 by NoisyCoil at 2024-12-03T18:56:33+00:00
Bug 43340: Fetch aarch64 alphas for linux aarch64 dev builds

- - - - -
c1951fdb by NoisyCoil at 2024-12-03T18:56:33+00:00
Bug 43340: Use the correct vendor in linux aarch64 dev builds

- - - - -


3 changed files:

- + mozconfig-linux-aarch64-dev
- tools/torbrowser/Makefile
- tools/torbrowser/fetch.sh


Changes:

=====================================
mozconfig-linux-aarch64-dev
=====================================
@@ -0,0 +1,20 @@
+. $topsrcdir/browser/config/mozconfigs/tor-browser
+
+# This mozconfig file is not used in official builds.
+# It is only intended to be used when doing incremental Linux builds
+# during development.
+
+# Moz switched to lld for all Linux targets in Bug 1839739.
+ac_add_options --enable-linker=lld
+
+export MOZILLA_OFFICIAL=
+export MOZ_APP_REMOTINGNAME="Tor Browser Dev"
+ac_add_options --with-branding=browser/branding/tb-nightly
+
+ac_add_options --enable-default-toolkit=cairo-gtk3
+
+ac_add_options --disable-strip
+ac_add_options --disable-install-strip
+
+ac_add_options --with-base-browser-version=dev-build
+ac_add_options --disable-base-browser-update


=====================================
tools/torbrowser/Makefile
=====================================
@@ -12,11 +12,17 @@ ifeq ($(ARCHITECTURE), "arm64")
   ARCHITECTURE = "aarch64"
 endif
 
+ifeq ($(ARCHITECTURE), "aarch64")
+  LINUX_VENDOR = "unknown"
+else
+  LINUX_VENDOR = "pc"
+endif
+
 # Define build output path based on the platform.
 ifeq ("$(shell uname)", "Darwin")
   BUILD_OUTPUT = "$(DEV_ROOT)/obj-$(ARCHITECTURE)-apple-darwin$(shell uname 
-r)"
 else
-  BUILD_OUTPUT = "$(DEV_ROOT)/obj-$(ARCHITECTURE)-pc-linux-gnu"
+  BUILD_OUTPUT = "$(DEV_ROOT)/obj-$(ARCHITECTURE)-$(LINUX_VENDOR)-linux-gnu"
 endif
 
 # Define the run command based on the platform.


=====================================
tools/torbrowser/fetch.sh
=====================================
@@ -10,7 +10,7 @@ TOR_BROWSER_VERSION=$(grep -Eo "\"version\":\"[0-9.a]+\"" 
downloads.json | grep
 if [ "$(uname)" = "Darwin" ]; then
     TOR_BROWSER_PACKAGE="tor-browser-macos-${TOR_BROWSER_VERSION}.dmg"
   else
-    
TOR_BROWSER_PACKAGE="tor-browser-linux-x86_64-${TOR_BROWSER_VERSION}.tar.xz"
+    TOR_BROWSER_PACKAGE="tor-browser-linux-$(uname 
-m)-${TOR_BROWSER_VERSION}.tar.xz"
 fi
 
TOR_BROWSER_PACKAGE_URL="https://dist.torproject.org/torbrowser/${TOR_BROWSER_VERSION}/${TOR_BROWSER_PACKAGE}";
 



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/efd91fc3a540df853f279b3fabdc3460371c7301...c1951fdbe23e4e111dc72e99ac4f488197b6fb5f

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/efd91fc3a540df853f279b3fabdc3460371c7301...c1951fdbe23e4e111dc72e99ac4f488197b6fb5f
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- tbb-commits@lists.torproject.org
To unsubscribe send an email to tbb-commits-le...@lists.torproject.org

Reply via email to