Index: mozharness/mozilla/l10n/multi_locale_build.py |
=================================================================== |
--- a/mozharness/mozilla/l10n/multi_locale_build.py |
+++ b/mozharness/mozilla/l10n/multi_locale_build.py |
@@ -15,16 +15,17 @@ import sys |
sys.path.insert(1, os.path.dirname(os.path.dirname(sys.path[0]))) |
from mozharness.base.errors import MakefileErrorList, SSHErrorList |
from mozharness.base.log import FATAL |
from mozharness.base.vcs.vcsbase import MercurialScript |
from mozharness.mozilla.l10n.locales import LocalesMixin |
from mozharness.abb.transform_locales import transform_locales as abb_transform_locales |
+from mozharness.abb.transform_locales import transform_search_engines_list as abb_transform_search_engines_list |
# MultiLocaleBuild {{{1 |
class MultiLocaleBuild(LocalesMixin, MercurialScript): |
""" This class targets Fennec multilocale builds. |
We were considering this for potential Firefox desktop multilocale. |
Now that we have a different approach for B2G multilocale, |
it's most likely misnamed. """ |
@@ -99,16 +100,17 @@ class MultiLocaleBuild(LocalesMixin, Mer |
MercurialScript.__init__(self, config_options=self.config_options, |
all_actions=['clobber', 'pull-build-source', |
'pull-locale-source', |
'build', 'package-en-US', |
'upload-en-US', |
'backup-objdir', |
'restore-objdir', |
'add-locales', |
+ 'abb-transform-search-engines-list', |
'abb-transform-locales', |
'package-multi', |
'upload-multi', 'summary'], |
require_config_file=require_config_file) |
def clobber(self): |
c = self.config |
if c['work_dir'] != '.': |
@@ -244,16 +246,21 @@ class MultiLocaleBuild(LocalesMixin, Mer |
def _process_command(self, **kwargs): |
"""Stub wrapper function that allows us to call scratchbox in |
MaemoMultiLocaleBuild. |
""" |
return self.run_command(**kwargs) |
+ def abb_transform_search_engines_list(self): |
+ dirs = self.query_abs_dirs() |
+ abb_transform_search_engines_list(dirs['abs_mozilla_dir'], |
+ dirs['abs_objdir'], self) |
+ |
def abb_transform_locales(self): |
dirs = self.query_abs_dirs() |
abb_transform_locales(dirs['abs_mozilla_dir'], |
dirs['abs_objdir'], self) |
# __main__ {{{1 |
if __name__ == '__main__': |
pass |