[tbb-commits] [builders/tor-browser-build] 04/10: Bug 40501: Add base-browser makefile targets

gitolite role git at cupani.torproject.org
Fri Jul 15 09:04:37 UTC 2022


This is an automated email from the git hooks/post-receive script.

boklm pushed a commit to branch master
in repository builders/tor-browser-build.

commit 440faf032bb782d384f9aed7b2b7b1e1f63dca15
Author: Nicolas Vigier <boklm at torproject.org>
AuthorDate: Thu Jun 9 15:14:50 2022 +0200

    Bug 40501: Add base-browser makefile targets
---
 Makefile         | 182 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 README           |   4 ++
 doc/MAKEFILE.txt |   5 ++
 3 files changed, 191 insertions(+)

diff --git a/Makefile b/Makefile
index c5e607e..957234d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@ rbm=./rbm/rbm
 
 all: torbrowser-release
 
+#######################
+# Tor Browser Targets #
+#######################
+
 torbrowser-release: submodule-update
 	$(rbm) build release --target release --target browser-all --target torbrowser
 
@@ -264,6 +268,184 @@ cargo_vendor-lucetc: submodule-update
 cargo_vendor-uniffi-rs: submodule-update
 	$(rbm) build uniffi-rs --step cargo_vendor --target nightly --target torbrowser-linux-x86_64
 
+
+########################
+# Base Browser Targets #
+########################
+
+basebrowser-release: submodule-update
+	$(rbm) build release --target release --target browser-all --target basebrowser
+
+basebrowser-release-android: submodule-update
+	$(rbm) build release --target release --target browser-all-android --target basebrowser
+
+basebrowser-release-android-armv7: submodule-update
+	$(rbm) build release --target release --target browser-android-armv7 --target basebrowser
+
+basebrowser-release-android-x86: submodule-update
+	$(rbm) build release --target release --target browser-android-x86 --target basebrowser
+
+basebrowser-release-android-x86_64: submodule-update
+	$(rbm) build release --target release --target browser-android-x86_64 --target basebrowser
+
+basebrowser-release-android-aarch64: submodule-update
+	$(rbm) build release --target release --target browser-android-aarch64 --target basebrowser
+
+basebrowser-release-desktop: submodule-update
+	$(rbm) build release --target release --target browser-all-desktop --target basebrowser
+
+basebrowser-release-linux-x86_64: submodule-update
+	$(rbm) build release --target release --target browser-linux-x86_64 --target basebrowser
+
+basebrowser-release-linux-x86_64-asan: submodule-update
+	$(rbm) build release --target release --target browser-linux-x86_64-asan --target basebrowser
+
+basebrowser-release-linux-i686: submodule-update
+	$(rbm) build release --target release --target browser-linux-i686 --target basebrowser
+
+basebrowser-release-windows-i686: submodule-update
+	$(rbm) build release --target release --target browser-windows-i686 --target basebrowser
+
+basebrowser-release-windows-x86_64: submodule-update
+	$(rbm) build release --target release --target browser-windows-x86_64 --target basebrowser
+
+basebrowser-release-osx-x86_64: submodule-update
+	$(rbm) build release --target release --target browser-osx-x86_64 --target basebrowser
+
+basebrowser-release-src: submodule-update
+	$(rbm) build release --target release --target browser-src --target basebrowser
+
+basebrowser-alpha: submodule-update
+	$(rbm) build release --target alpha --target browser-all --target basebrowser
+
+basebrowser-alpha-android: submodule-update
+	$(rbm) build release --target alpha --target browser-all-android --target basebrowser
+
+basebrowser-alpha-android-armv7: submodule-update
+	$(rbm) build release --target alpha --target browser-android-armv7 --target basebrowser
+
+basebrowser-alpha-android-x86: submodule-update
+	$(rbm) build release --target alpha --target browser-android-x86 --target basebrowser
+
+basebrowser-alpha-android-x86_64: submodule-update
+	$(rbm) build release --target alpha --target browser-android-x86_64 --target basebrowser
+
+basebrowser-alpha-android-aarch64: submodule-update
+	$(rbm) build release --target alpha --target browser-android-aarch64 --target basebrowser
+
+basebrowser-alpha-desktop: submodule-update
+	$(rbm) build release --target alpha --target browser-all-desktop --target basebrowser
+
+basebrowser-alpha-linux-x86_64: submodule-update
+	$(rbm) build release --target alpha --target browser-linux-x86_64 --target basebrowser
+
+basebrowser-alpha-linux-x86_64-asan: submodule-update
+	$(rbm) build release --target alpha --target browser-linux-x86_64-asan --target basebrowser
+
+basebrowser-alpha-linux-i686: submodule-update
+	$(rbm) build release --target alpha --target browser-linux-i686 --target basebrowser
+
+basebrowser-alpha-windows-i686: submodule-update
+	$(rbm) build release --target alpha --target browser-windows-i686 --target basebrowser
+
+basebrowser-alpha-windows-x86_64: submodule-update
+	$(rbm) build release --target alpha --target browser-windows-x86_64 --target basebrowser
+
+basebrowser-alpha-osx-x86_64: submodule-update
+	$(rbm) build release --target alpha --target browser-osx-x86_64 --target basebrowser
+
+basebrowser-alpha-src: submodule-update
+	$(rbm) build release --target alpha --target browser-src --target basebrowser
+
+basebrowser-nightly: submodule-update
+	$(rbm) build release --target nightly --target browser-all --target basebrowser
+
+basebrowser-nightly-android: submodule-update
+	$(rbm) build release --target nightly --target browser-all-android --target basebrowser
+
+basebrowser-nightly-android-armv7: submodule-update
+	$(rbm) build release --target nightly --target browser-android-armv7 --target basebrowser
+
+basebrowser-nightly-android-x86: submodule-update
+	$(rbm) build release --target nightly --target browser-android-x86 --target basebrowser
+
+basebrowser-nightly-android-x86_64: submodule-update
+	$(rbm) build release --target nightly --target browser-android-x86_64 --target basebrowser
+
+basebrowser-nightly-android-aarch64: submodule-update
+	$(rbm) build release --target nightly --target browser-android-aarch64 --target basebrowser
+
+basebrowser-nightly-desktop: submodule-update
+	$(rbm) build release --target nightly --target browser-all-desktop --target basebrowser
+
+basebrowser-nightly-linux-x86_64: submodule-update
+	$(rbm) build release --target nightly --target browser-linux-x86_64 --target basebrowser
+
+basebrowser-nightly-linux-x86_64-asan: submodule-update
+	$(rbm) build release --target nightly --target browser-linux-x86_64-asan --target basebrowser
+
+basebrowser-nightly-linux-i686: submodule-update
+	$(rbm) build release --target nightly --target browser-linux-i686 --target basebrowser
+
+basebrowser-nightly-windows-i686: submodule-update
+	$(rbm) build release --target nightly --target browser-windows-i686 --target basebrowser
+
+basebrowser-nightly-windows-x86_64: submodule-update
+	$(rbm) build release --target nightly --target browser-windows-x86_64 --target basebrowser
+
+basebrowser-nightly-osx-x86_64: submodule-update
+	$(rbm) build release --target nightly --target browser-osx-x86_64 --target basebrowser
+
+basebrowser-nightly-src: submodule-update
+	$(rbm) build release --target nightly --target browser-src --target basebrowser
+
+basebrowser-testbuild: submodule-update
+	$(rbm) build release --target testbuild --target browser-all --target basebrowser
+
+basebrowser-testbuild-android: submodule-update
+	$(rbm) build release --target testbuild --target browser-all-android --target basebrowser
+
+basebrowser-testbuild-android-armv7: submodule-update
+	$(rbm) build release --target testbuild --target browser-android-armv7 --target basebrowser
+
+basebrowser-testbuild-android-x86: submodule-update
+	$(rbm) build release --target testbuild --target browser-android-x86 --target basebrowser
+
+basebrowser-testbuild-android-x86_64: submodule-update
+	$(rbm) build release --target testbuild --target browser-android-x86_64 --target basebrowser
+
+basebrowser-testbuild-android-aarch64: submodule-update
+	$(rbm) build release --target testbuild --target browser-android-aarch64 --target basebrowser
+
+basebrowser-testbuild-desktop: submodule-update
+	$(rbm) build release --target testbuild --target browser-all-desktop --target basebrowser
+
+basebrowser-testbuild-linux-x86_64: submodule-update
+	$(rbm) build release --target testbuild --target browser-linux-x86_64 --target basebrowser
+
+basebrowser-testbuild-linux-x86_64-asan: submodule-update
+	$(rbm) build release --target testbuild --target browser-linux-x86_64-asan --target basebrowser
+
+basebrowser-testbuild-linux-i686: submodule-update
+	$(rbm) build release --target testbuild --target browser-linux-i686 --target basebrowser
+
+basebrowser-testbuild-windows-x86_64: submodule-update
+	$(rbm) build release --target testbuild --target browser-windows-x86_64 --target basebrowser
+
+basebrowser-testbuild-windows-i686: submodule-update
+	$(rbm) build release --target testbuild --target browser-windows-i686 --target basebrowser
+
+basebrowser-testbuild-osx-x86_64: submodule-update
+	$(rbm) build release --target testbuild --target browser-osx-x86_64 --target basebrowser
+
+basebrowser-testbuild-src: submodule-update
+	$(rbm) build release --target testbuild --target browser-src-testbuild --target basebrowser
+
+
+##################
+# Common Targets #
+##################
+
 submodule-update:
 	git submodule update --init
 
diff --git a/README b/README
index d579362..3bc8177 100644
--- a/README
+++ b/README
@@ -95,6 +95,10 @@ mar file will be created. If you want to base your testbuild on the latest
 nightly code insted, rename rbm.local.conf.example to rbm.local.conf
 and adapt the torbrowser-testbuild option accordingly.
 
+Similar makefile targets exist for building Base Browser instead of
+Tor Browser. To build Base Browser, replace `torbrowser` by `basebrowser`
+in the target name.
+
 
 Updating git sources
 --------------------
diff --git a/doc/MAKEFILE.txt b/doc/MAKEFILE.txt
index 4316e67..fe24abf 100644
--- a/doc/MAKEFILE.txt
+++ b/doc/MAKEFILE.txt
@@ -57,6 +57,11 @@ torbrowser-{release,alpha,nightly,testbuild}-src
 ------------------------------------------------
 Create source tarballs for firefox, torbutton and tor-launcher.
 
+basebrowser-*
+-------------
+The same rules for building Tor Browser also exist for building
+Base Browser.
+
 fetch
 -----
 Fetch new commits from all components. This is useful when you want to

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tbb-commits mailing list