OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # ***** BEGIN LICENSE BLOCK ***** | 2 # ***** BEGIN LICENSE BLOCK ***** |
3 # This Source Code Form is subject to the terms of the Mozilla Public | 3 # This Source Code Form is subject to the terms of the Mozilla Public |
4 # License, v. 2.0. If a copy of the MPL was not distributed with this file, | 4 # License, v. 2.0. If a copy of the MPL was not distributed with this file, |
5 # You can obtain one at http://mozilla.org/MPL/2.0/. | 5 # You can obtain one at http://mozilla.org/MPL/2.0/. |
6 # ***** END LICENSE BLOCK ***** | 6 # ***** END LICENSE BLOCK ***** |
7 """multi_locale_build.py | 7 """multi_locale_build.py |
8 | 8 |
9 This should be a mostly generic multilocale build script. | 9 This should be a mostly generic multilocale build script. |
10 """ | 10 """ |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 def _process_command(self, **kwargs): | 245 def _process_command(self, **kwargs): |
246 """Stub wrapper function that allows us to call scratchbox in | 246 """Stub wrapper function that allows us to call scratchbox in |
247 MaemoMultiLocaleBuild. | 247 MaemoMultiLocaleBuild. |
248 | 248 |
249 """ | 249 """ |
250 return self.run_command(**kwargs) | 250 return self.run_command(**kwargs) |
251 | 251 |
252 def abb_transform_locales(self): | 252 def abb_transform_locales(self): |
253 dirs = self.query_abs_dirs() | 253 dirs = self.query_abs_dirs() |
254 abb_transform_locales(dirs['abs_objdir'], self) | 254 abb_transform_locales(dirs['abs_mozilla_dir'], dirs['abs_objdir'], self) |
255 | 255 |
256 # __main__ {{{1 | 256 # __main__ {{{1 |
257 if __name__ == '__main__': | 257 if __name__ == '__main__': |
258 pass | 258 pass |
OLD | NEW |