Packaging Android host utilities: Difference between revisions

Jump to navigation Jump to search
Line 3: Line 3:
The host utilities are executable files that run on a *host* machine.  The utilities provide services to an Android *target* device, including a web server and certificate authority.  For historical reason, the host utilities include an essentially complete version of Firefox.  Here's how to package new versions of the host utilities.
The host utilities are executable files that run on a *host* machine.  The utilities provide services to an Android *target* device, including a web server and certificate authority.  For historical reason, the host utilities include an essentially complete version of Firefox.  Here's how to package new versions of the host utilities.


First, identify the target build.  Generally, prefer Aurora channel builds to Nightly channel builds. That usually means fetching target archives from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/
First, identify the target build.  Generally, prefer Beta channel builds to Nightly channel builds.


=== Linux ===
=== Linux ===
Line 17: Line 17:
mv bin/* firefox
mv bin/* firefox
mv firefox host-utils-37.0a2.en-US.linux-x86_64
mv firefox host-utils-37.0a2.en-US.linux-x86_64
</pre>
For the version 58 update, host utils was based on builds from https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=dab1c5badddbf3dafd34b52700c3e1129f76d632. For each of "Linux opt" and "Linux x64 opt", the build's target.tar.bz2 and target.common.tests.zip were downloaded, then:
<pre>
tar xvf target.tar.bz2
unzip target.common.tests.zip "bin/*"
rm firefox/firefox*
rm -r firefox/browser
mv bin/* firefox
mv firefox host-utils-58.0a1.en-US.linux-x86_64
</pre>
</pre>
If preparing a new archive for upload to tooltool:
If preparing a new archive for upload to tooltool:
Confirmed users
1,759

edits

Navigation menu