Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lazy Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pier Angelo Vendrame
Lazy Scripts
Commits
a2a506ae
Verified
Commit
a2a506ae
authored
4 months ago
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
Updated update-apk.sh for 128.
The monorepo migration simplified the procedure to build Firefox for Android.
parent
1b5e3da0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pierenvironment.fish
+3
-0
3 additions, 0 deletions
pierenvironment.fish
update-apk.sh
+19
-30
19 additions, 30 deletions
update-apk.sh
with
22 additions
and
30 deletions
pierenvironment.fish
+
3
−
0
View file @
a2a506ae
...
...
@@ -27,4 +27,7 @@ set -gx PATH "$GRADLE_HOME/bin" $PATH
# set -gx WASI_SYSROOT "/media/lssd/Tor/wasi-sysroot/"
set -gx TOR_BROWSER_BUILD ~/Tor/tor-browser-build
set -gx LOCAL_DEV_BUILD 1
set -gx MOZ_CHROME_MULTILOCALE "it"
This diff is collapsed.
Click to expand it.
update-apk.sh
+
19
−
30
View file @
a2a506ae
...
...
@@ -13,40 +13,29 @@ set -e
cd
"
$(
dirname
"
$0
"
)
/.."
if
[[
-z
"
$MOZ_BUILD_DATE
"
]]
;
then
export
MOZCONFIG
=
mozconfig-android-x86_64
if
[[
-z
"
$LOCAL_DEV_BUILD
"
]]
;
then
# The magic file is pierenvironment.fish.
echo
"Have you sourced your magic file?"
exit
1
fi
pushd
tor-browser
if
[[
"
$1
"
=
"--clobber"
]]
;
then
MOZCONFIG
=
mozconfig-android-x86_64 ./mach clobber
MOZCONFIG
=
mozconfig-android-x86_64 ./mach configure
\
--enable-update-channel
=
nightly
\
--with-base-browser-version
=
testbuild
MOZCONFIG
=
mozconfig-android-all ./mach clobber
MOZCONFIG
=
mozconfig-android-all ./mach configure
\
--enable-update-channel
=
nightly
\
--with-base-browser-version
=
testbuild
fi
cd
tor-browser
if
[[
"
$1
"
=
"--clobber"
]]
;
then
./mach clobber
./mach configure
\
--enable-update-channel
=
nightly
\
--with-base-browser-version
=
testbuild
fi
./mach build
./mach package-multi-locale
--locales
en-US
$MOZ_CHROME_MULTILOCALE
# Only emulator now :P
# MOZCONFIG=mozconfig-android-aarch64 ./mach build
MOZCONFIG
=
mozconfig-android-x86_64 ./mach build
pushd
tools/geckoview
# make fat-aar ARCHS="aarch64 x86_64"
make fataar
ARCHS
=
"x86_64"
popd
MOZCONFIG
=
mozconfig-android-all ./mach gradle
\
geckoview:publishWithGeckoBinariesDebugPublicationToMavenLocal
\
exoplayer2:publishDebugPublicationToMavenLocal
popd
cd
mobile/android/fenix
gradle
--no-daemon
-Dorg
.gradle.jvmargs
=
-Xmx20g
-PdisableOptimization
assembleNightly
tools/tba-sign-devbuilds.sh
# Assumption: only one emulator is running and no real Android device with
# debugging enabled is connected.
adb
install
-r
app/build/outputs/apk/fenix/nightly/app-fenix-x86_64-nightly-signed.apk
pushd
firefox-android/fenix
gradle
--no-daemon
-Dorg
.gradle.jvmargs
=
-Xmx20g
-PdisableOptimization
assembleNightly
tools/tba-sign-devbuilds.sh
# Assumption: only one emulator is running and no real Android device with
# debugging enabled is connected.
adb
install
-r
app/build/outputs/apk/fenix/nightly/app-fenix-x86_64-nightly-signed.apk
popd
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment