Packaging Android host utilities: Difference between revisions

(formatting fix)
Line 1: Line 1:
== Packaging Android host utilities ==
== Packaging Android host utilities ==


Host utilities are executable files that run on a *host* machine. These utilities provide services to an Android *target* device, such as running a web server or a certificate authority. Host utilities must be periodically updated with a good build from mozilla-central or mozilla-inbound due to addition of new tests targeted at Android and/or changing of component behavior.
Host utilities are executable files that run on a *host* machine. These utilities provide services to an Android *target* device, such as running a web server or a certificate authority. Host utilities must be periodically updated with a good build from mozilla-central or autoland due to addition of new tests targeted at Android and/or changing of component behavior.


This page will provide instruction on how to package new versions of the host utilities.
This page will provide instruction on how to package new versions of the host utilities.
Line 7: Line 7:
=== Generate new archive ===
=== Generate new archive ===


On Treeherder, identify a target build, preferably from mozilla-central or mozilla-inbound. Check the test output to ensure a reasonably good build (one without too many failures).
On Treeherder, identify a target build, preferably from mozilla-central or autoland. Check the test output to ensure a reasonably good build (one without too many failures).


example: for the version 66.0 update, [https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=c9fa642e9e3aecaa8852f5c647904eecddaa4450&selectedJob=216676591 this build] was selected. For more details, please see [https://bugzilla.mozilla.org/show_bug.cgi?id=1514075 bug 1514075].
example: for the version 66.0 update, [https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=c9fa642e9e3aecaa8852f5c647904eecddaa4450&selectedJob=216676591 this build] was selected. For more details, please see [https://bugzilla.mozilla.org/show_bug.cgi?id=1514075 bug 1514075].
Line 71: Line 71:
<pre>
<pre>
unzip target.zip
unzip target.zip
mkidr temp_common
mkdir temp_common
tar xvf target.common.tests.tar.gz -C 'temp_common'
tar xvf target.common.tests.tar.gz -C 'temp_common'
rm firefox/firefox*
rm firefox/firefox*
Confirmed users
1,759

edits