Confirmed users
4,971
edits
No edit summary |
|||
Line 219: | Line 219: | ||
=== Multilocale builds === | === Multilocale builds === | ||
* Create a directory, clone mozharness, copy the config file for easy editing/usage: | |||
<pre> | |||
< | mkdir multilocale | ||
cd multilocale | |||
hg clone http://hg.mozilla.org/build/mozharness | |||
cp mozharness/configs/multi_locale/standalone_mozilla-central.py myconfig.py | |||
</pre> | </pre> | ||
* Edit myconfig.py | |||
** currently will check out m-c into a directory named 'mozilla-central' in this directory | |||
** currently assumes your mozconfig is in this directory and named 'mozconfig' | |||
** currently assumes your mozconfig sets your objdir name to 'objdir-droid' | |||
* pull mozilla-central | |||
mozharness/scripts/multil10n.py --cfg myconfig.py --pull-build-source | |||
# Alternately, you can hg clone http://hg.mozilla.org/mozilla-central | |||
* Run the script, which will create a multilocale apk | |||
mozharness/scripts/multil10n.py --cfg myconfig.py | |||
And you're done. | |||
* If you want to recompile or re-run the script, restore your objdir to en-US first! | |||
mozharness/scripts/multil10n.py --cfg myconfig.py --restore-objdir | |||
Also see [http://escapewindow.dreamwidth.org/234671.html this blog post] for more information. | |||
== Testing == | == Testing == |