merge default -> production production
authorAki Sasaki <asasaki@mozilla.com>
Thu, 17 Nov 2011 06:07:06 -0800
branchproduction
changeset 5071 181a2ce4e907522c0f28626a6c5f3aaa9b9ed00f
parent 5066 0d1cd303edc01e4438026453136ffd7f1f6ab8ff (current diff)
parent 5070 38b1c8f36d9d695f60b3c9b707074e6ea891dd32 (diff)
child 5078 ced77df1e2b0ca6a045e55241b711048df8b3511
push id4002
push userasasaki@mozilla.com
push dateThu, 17 Nov 2011 14:07:10 +0000
merge default -> production
mozilla-tests/config.py
mozilla/release-firefox-mozilla-release.py
--- a/mozilla-tests/BuildSlaves.py.template
+++ b/mozilla-tests/BuildSlaves.py.template
@@ -2,17 +2,18 @@ SlavePasswords = {
     "linux": "pass",
     "linux64": "pass",
     "fedora": "pass",
     "fedora64": "pass",
     "tiger": "pass",
     "leopard": "pass",
     "leopard-o": "pass",
     "snowleopard": "pass",
-    "snowleopard-r4": "pass",
     "lion": "pass",
     "xp": "pass",
     "win7": "pass",
     "w764": "pass",
     "vista": "pass",
     "tegra_android": "pass",
+    "tegra_android-xul": "pass",
+    "tegra_android-o": "pass",
 }
 
--- a/mozilla-tests/config.py
+++ b/mozilla-tests/config.py
@@ -57,32 +57,33 @@ BRANCHES = {
 # Talos
 PLATFORMS = {
     'macosx': {},
     'macosx64': {},
     'win32': {},
     'win64': {},
     'linux': {},
     'linux64' : {},
+    'android': {},
+    'android-xul': {},
     'linux-android': {},
 }
 
 # work around path length problem bug 599795
 # leopard-o == leopard-old
 PLATFORMS['macosx']['slave_platforms'] = ['leopard-o']
 PLATFORMS['macosx']['env_name'] = 'mac-perf'
 PLATFORMS['macosx']['leopard-o'] = {'name': "Rev3 MacOSX Leopard 10.5.8"}
 PLATFORMS['macosx']['stage_product'] = 'firefox'
 
 PLATFORMS['macosx64']['slave_platforms'] = ['leopard', 'snowleopard',
-                                            'snowleopard-r4', 'lion']
+                                            'lion']
 PLATFORMS['macosx64']['env_name'] = 'mac-perf'
 PLATFORMS['macosx64']['leopard'] = {'name': "Rev3 MacOSX Leopard 10.5.8"}
-PLATFORMS['macosx64']['snowleopard'] = {'name': "Rev3 MacOSX Snow Leopard 10.6.2"}
-PLATFORMS['macosx64']['snowleopard-r4'] = {'name': "Rev4 MacOSX Snow Leopard 10.6"}
+PLATFORMS['macosx64']['snowleopard'] = {'name': "Rev4 MacOSX Snow Leopard 10.6"}
 PLATFORMS['macosx64']['lion'] = {'name': "Rev4 MacOSX Lion 10.7"}
 PLATFORMS['macosx64']['stage_product'] = 'firefox'
 
 PLATFORMS['win32']['slave_platforms'] = ['xp', 'win7']
 PLATFORMS['win32']['env_name'] = 'win32-perf'
 PLATFORMS['win32']['xp'] = {'name': "Rev3 WINNT 5.1"}
 PLATFORMS['win32']['win7'] = {'name': "Rev3 WINNT 6.1"}
 PLATFORMS['win32']['stage_product'] = 'firefox'
@@ -99,54 +100,78 @@ PLATFORMS['linux']['env_name'] = 'linux-
 PLATFORMS['linux']['fedora'] = {'name': "Rev3 Fedora 12"}
 PLATFORMS['linux']['stage_product'] = 'firefox'
 
 PLATFORMS['linux64']['slave_platforms'] = ['fedora64']
 PLATFORMS['linux64']['env_name'] = 'linux-perf'
 PLATFORMS['linux64']['fedora64'] = {'name': "Rev3 Fedora 12x64"}
 PLATFORMS['linux64']['stage_product'] = 'firefox'
 
-PLATFORMS['linux-android']['slave_platforms'] = ['tegra_android']
+PLATFORMS['linux-android']['slave_platforms'] = ['tegra_android-o']
 PLATFORMS['linux-android']['env_name'] = 'android-perf'
 PLATFORMS['linux-android']['is_mobile'] = True
-PLATFORMS['linux-android']['tegra_android'] = {'name': "Android Tegra 250",
+PLATFORMS['linux-android']['tegra_android-o'] = {'name': "Android Tegra 250",
                                          'download_symbols': False,
                                         }
+PLATFORMS['linux-android']['stage_platform'] = 'android'
 PLATFORMS['linux-android']['stage_product'] = 'mobile'
-PLATFORMS['linux-android']['stage_platform'] = 'android'
 
+PLATFORMS['android']['slave_platforms'] = ['tegra_android']
+PLATFORMS['android']['env_name'] = 'android-perf'
+PLATFORMS['android']['is_mobile'] = True
+PLATFORMS['android']['tegra_android'] = {'name': "Android Tegra 250",
+                                         'download_symbols': False,
+                                        }
+PLATFORMS['android']['stage_product'] = 'mobile'
+
+PLATFORMS['android-xul']['slave_platforms'] = ['tegra_android-xul']
+PLATFORMS['android-xul']['env_name'] = 'android-perf'
+PLATFORMS['android-xul']['is_mobile'] = True
+PLATFORMS['android-xul']['tegra_android-xul'] = {'name': "Android XUL Tegra 250",
+                                         'download_symbols': False,
+                                        }
+PLATFORMS['android-xul']['stage_product'] = 'mobile'
 
 # Lets be explicit instead of magical.  leopard-o should be a second
 # entry in the SLAVE dict
 for platform, platform_config in PLATFORMS.items():
     for slave_platform in platform_config['slave_platforms']:
         platform_config[slave_platform]['slaves'] = sorted(SLAVES[slave_platform])
         if slave_platform in TRY_SLAVES:
             platform_config[slave_platform]['try_slaves'] = sorted(TRY_SLAVES[slave_platform])
         else:
             platform_config[slave_platform]['try_slaves'] = platform_config[slave_platform]['slaves']
 
-MOBILE_PLATFORMS = PLATFORMS['linux-android']['slave_platforms']
+MOBILE_PLATFORMS = PLATFORMS['android']['slave_platforms'] + \
+                   PLATFORMS['android-xul']['slave_platforms'] + \
+                   PLATFORMS['linux-android']['slave_platforms']
 
 ALL_PLATFORMS = PLATFORMS['linux']['slave_platforms'] + \
                 PLATFORMS['linux64']['slave_platforms'] + \
                 PLATFORMS['win32']['slave_platforms'] + \
                 PLATFORMS['macosx64']['slave_platforms']
 
 WIN7_ONLY = ['win7']
 
 NO_WIN = PLATFORMS['macosx64']['slave_platforms'] + PLATFORMS['linux']['slave_platforms'] + PLATFORMS['linux64']['slave_platforms']
 
 NO_MAC = PLATFORMS['linux']['slave_platforms'] + \
          PLATFORMS['linux64']['slave_platforms'] + \
          PLATFORMS['win32']['slave_platforms']
 
 MAC_ONLY = PLATFORMS['macosx64']['slave_platforms']
 
-ANDROID = PLATFORMS['linux-android']['slave_platforms']
+ANDROID = PLATFORMS['android']['slave_platforms'] + \
+          PLATFORMS['android-xul']['slave_platforms'] + \
+          PLATFORMS['linux-android']['slave_platforms']
+
+ANDROID_NATIVE = PLATFORMS['android']['slave_platforms']
+
+ANDROID_XUL = PLATFORMS['android-xul']['slave_platforms'] + \
+              PLATFORMS['linux-android']['slave_platforms']
 
 ADDON_TESTER_PLATFORMS = ['win7', 'fedora', 'snowleopard']
 
 SUITES = {
     'chrome': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tscroll:a11y:ts_paint:tpaint:tdhtml:tsspider', '--mozAfterPaint'],
         'options': ({}, NO_MAC),
@@ -159,17 +184,17 @@ SUITES = {
     },
     'nochrome': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tdhtml:tsspider', '--noChrome', '--mozAfterPaint'],
         'options': ({}, ALL_PLATFORMS),
     },
     'dirty': {
         'enable_by_default': True,
-        'suites': GRAPH_CONFIG + ['--activeTests', 'ts_places_generated_med:ts_places_generated_max'],
+        'suites': GRAPH_CONFIG + ['--activeTests', 'ts_places_generated_med:ts_places_generated_max', '--setPref', 'hangmonitor.timeout=0'],
         'options': (TALOS_DIRTY_OPTS, ALL_PLATFORMS),
     },
     'tp': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tp5', '--mozAfterPaint'],
         'options': (TALOS_TP_OPTS, ALL_PLATFORMS),
     },
     'tp4': {
@@ -230,37 +255,37 @@ SUITES = {
     'remote-tsspider': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tsspider', '--noChrome'],
         'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
     },
     'remote-tpan': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tpan', '--noChrome'],
-        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
+        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID_XUL),
     },
     'remote-tp4m': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tp4m'],
-        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
+        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID_XUL),
     },
     'remote-tp4m_nochrome': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tp4m', '--noChrome'],
         'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
     },
     'remote-twinopen': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'twinopen'],
         'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
     },
     'remote-tzoom': {
         'enable_by_default': True,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tzoom'],
-        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID),
+        'options': (TALOS_REMOTE_FENNEC_OPTS, ANDROID_XUL),
     },
     # These old suites are only for 1.9.2 and do not use --mozAfterPaint 
     # chrome VS old_chrome is:
     # 1) without --mozAfterPaint, 2) use ts instead tpaint and 3) use twinopen instead of tpaint
     'old_chrome': {
         'enable_by_default': False,
         'suites': GRAPH_CONFIG + ['--activeTests', 'tscroll:a11y:ts:tdhtml:twinopen:tsspider'],
         'options': ({}, NO_MAC),
@@ -300,16 +325,18 @@ BRANCH_UNITTEST_VARS = {
     # turn on platforms as we get them running
     'platforms': {
         'linux': {},
         'linux64': {},
         'macosx': {},
         'macosx64': {},
         'win32': {},
         'win64': {},
+        'android': {},
+        'android-xul': {},
         'linux-android': {},
     },
 }
 
 # Default set of unit tests
 UNITTEST_SUITES = {
     'opt_unittest_suites': [
         # Turn on chunks for mochitests
@@ -451,16 +478,133 @@ def loadCustomUnittestSuites(BRANCHES, b
     for suiteToAdd in branchConfig.get('add_test_suites', []):
         type = 'opt_unittest_suites' if suiteToAdd[2] == 'opt' else 'debug_unittest_suites'
         # 'debug_unittest_suites' or 'opt_unittest_suites' is a list of tuple
         # addSuite() modifies that list and returns a new one with the added suite
         BRANCHES[branch]['platforms'][suiteToAdd[0]][suiteToAdd[1]][type] = \
             addSuite( suiteGroupName=suiteToAdd[3], newSuiteName=suiteToAdd[4],
                       suiteList=BRANCHES[branch]['platforms'][suiteToAdd[0]][suiteToAdd[1]][type])
 
+ANDROID_UNITTEST_DICT = {
+    'opt_unittest_suites': [
+        ('mochitest-1', (
+            {'suite': 'mochitest-plain',
+             'testPaths': [
+                 'content/smil/test', 'content/xml/document/test',
+                 'content/xslt/tests/mochitest'
+             ]
+            },
+        )),
+        ('mochitest-2', (
+            {'suite': 'mochitest-plain',
+             'testPaths': [
+                 'dom/src/json/test', 'dom/src/jsurl/test',
+                 'dom/tests/mochitest/dom-level0', 'js'
+             ]
+            },
+        )),
+        ('mochitest-3', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['dom/tests/mochitest/dom-level1-core']
+            },
+        )),
+        ('mochitest-4', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['dom/tests/mochitest/dom-level2-core']
+            },
+        )),
+        ('mochitest-5', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['dom/tests/mochitest/ajax/mochikit',
+                           'dom/tests/mochitest/ajax/scriptaculous',
+                           'dom/tests/mochitest/ajax/jquery'],
+            },
+        )),
+        ('mochitest-6', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['dom/tests/mochitest/dom-level2-html'],
+            },
+        )),
+        ('mochitest-7', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['Harness_sanity',
+                           'editor/composer/test',
+                           'intl/uconv/tests',
+                           'dom/tests/mochitest/orientation',
+                           'dom/tests/mochitest/storageevent'],
+            },
+        )),
+        ('mochitest-8', (
+            {'suite': 'mochitest-plain',
+             'testPaths': ['layout/xul/test',
+                           'modules/libjar/test/mochitest',
+                           'layout/inspector/tests',
+                           'toolkit/xre/test',
+                           'toolkit/components/microformats/tests',
+                           'MochiKit-1.4.2/tests',
+                           'parser/htmlparser/tests/mochitest'],
+           },
+        )),
+        ('browser-chrome', (
+            {'suite': 'mochitest-browser-chrome',
+             'testPaths': ['mobile']
+            },
+        )),
+        ('reftest-1', (
+            {'suite': 'reftest',
+             'totalChunks': 3,
+             'thisChunk': 1,
+            },
+        )),
+        ('reftest-2', (
+            {'suite': 'reftest',
+             'totalChunks': 3,
+             'thisChunk': 2,
+            },
+        )),
+        ('reftest-3', (
+            {'suite': 'reftest',
+             'totalChunks': 3,
+             'thisChunk': 3,
+            },
+        )),
+        ('crashtest-1', (
+            {'suite': 'crashtest',
+             'totalChunks': 2,
+             'thisChunk': 1,
+            },
+        )),
+        ('crashtest-2', (
+            {'suite': 'crashtest',
+             'totalChunks': 2,
+             'thisChunk': 2,
+            },
+        )),
+        ('jsreftest-1', (
+            {'suite': 'jsreftest',
+             'totalChunks': 3,
+             'thisChunk': 1,
+            },
+        )),
+        ('jsreftest-2', (
+            {'suite': 'jsreftest',
+             'totalChunks': 3,
+             'thisChunk': 2,
+            },
+        )),
+        ('jsreftest-3', (
+            {'suite': 'jsreftest',
+             'totalChunks': 3,
+             'thisChunk': 3,
+            },
+        )),
+    ],
+    'debug_unittest_suites': [],
+}
+
 # You must define opt_unittest_suites when enable_opt_unittests is True for a 
 # platform. Likewise debug_unittest_suites for enable_debug_unittests
 PLATFORM_UNITTEST_VARS = {
         'linux': {
             'builds_before_reboot': 1,
             'unittest-env' : {'DISPLAY': ':0'},
             'enable_opt_unittests': True,
             'enable_debug_unittests': True,
@@ -527,141 +671,44 @@ PLATFORM_UNITTEST_VARS = {
             'leopard': {
                 'opt_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['opt_unittest_suites'][:]),
                 'debug_unittest_suites' : [],
             },
             'snowleopard': {
                 'opt_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['opt_unittest_suites'][:]),
                 'debug_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['debug_unittest_suites'][:]),
             },
-            'snowleopard-r4': {
-                'opt_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['opt_unittest_suites'][:]),
-                'debug_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['debug_unittest_suites'][:]),
-            },
             'lion': {
                 'opt_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['opt_unittest_suites'][:]),
                 'debug_unittest_suites' : removeSuite('mochitest-a11y', UNITTEST_SUITES['debug_unittest_suites'][:]),
             },
         },
+        'android': {
+            'is_remote': True,
+            'host_utils_url': 'http://bm-remote.build.mozilla.org/tegra/tegra-host-utils.zip',
+            'enable_opt_unittests': True,
+            'enable_debug_unittests': False,
+            'remote_extras': UNITTEST_REMOTE_EXTRAS,
+            'tegra_android': deepcopy(ANDROID_UNITTEST_DICT),
+        },
+        'android-xul': {
+            'is_remote': True,
+            'host_utils_url': 'http://bm-remote.build.mozilla.org/tegra/tegra-host-utils.zip',
+            'enable_opt_unittests': True,
+            'enable_debug_unittests': False,
+            'remote_extras': UNITTEST_REMOTE_EXTRAS,
+            'tegra_android-xul': deepcopy(ANDROID_UNITTEST_DICT),
+        },
         'linux-android': {
             'is_remote': True,
             'host_utils_url': 'http://bm-remote.build.mozilla.org/tegra/tegra-host-utils.zip',
             'enable_opt_unittests': True,
             'enable_debug_unittests': False,
             'remote_extras': UNITTEST_REMOTE_EXTRAS,
-            'tegra_android': {
-                'opt_unittest_suites': [
-                    ('mochitest-1', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': [
-                             'content/smil/test', 'content/xml/document/test',
-                             'content/xslt/tests/mochitest'
-                         ]
-                        },
-                    )),
-                    ('mochitest-2', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': [
-                             'dom/src/json/test', 'dom/src/jsurl/test',
-                             'dom/tests/mochitest/dom-level0', 'js'
-                         ]
-                        },
-                    )),
-                    ('mochitest-3', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['dom/tests/mochitest/dom-level1-core']
-                        },
-                    )),
-                    ('mochitest-4', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['dom/tests/mochitest/dom-level2-core']
-                        },
-                    )),
-                    ('mochitest-5', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['dom/tests/mochitest/ajax/mochikit',
-                                       'dom/tests/mochitest/ajax/scriptaculous',
-                                       'dom/tests/mochitest/ajax/jquery'],
-                        },
-                    )),
-                    ('mochitest-6', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['dom/tests/mochitest/dom-level2-html'],
-                        },
-                    )),
-                    ('mochitest-7', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['Harness_sanity',
-                                       'editor/composer/test',
-                                       'intl/uconv/tests',
-                                       'dom/tests/mochitest/orientation',
-                                       'dom/tests/mochitest/storageevent'],
-                        },
-                    )),
-                    ('mochitest-8', (
-                        {'suite': 'mochitest-plain',
-                         'testPaths': ['layout/xul/test',
-                                       'modules/libjar/test/mochitest',
-                                       'layout/inspector/tests',
-                                       'toolkit/xre/test',
-                                       'toolkit/components/microformats/tests',
-                                       'MochiKit-1.4.2/tests',
-                                       'parser/htmlparser/tests/mochitest'],
-                       },
-                    )),
-                    ('browser-chrome', (
-                        {'suite': 'mochitest-browser-chrome',
-                         'testPaths': ['mobile']
-                        },
-                    )),
-                    ('reftest-1', (
-                        {'suite': 'reftest',
-                         'totalChunks': 2,
-                         'thisChunk': 1,
-                        },
-                    )),
-                    ('reftest-2', (
-                        {'suite': 'reftest',
-                         'totalChunks': 2,
-                         'thisChunk': 2,
-                        },
-                    )),
-                    ('crashtest-1', (
-                        {'suite': 'crashtest',
-                         'totalChunks': 2,
-                         'thisChunk': 1,
-                        },
-                    )),
-                    ('crashtest-2', (
-                        {'suite': 'crashtest',
-                         'totalChunks': 2,
-                         'thisChunk': 2,
-                        },
-                    )),
-                    ('jsreftest-1', (
-                        {'suite': 'jsreftest',
-                         'totalChunks': 3,
-                         'thisChunk': 1,
-                        },
-                    )),
-                    ('jsreftest-2', (
-                        {'suite': 'jsreftest',
-                         'totalChunks': 3,
-                         'thisChunk': 2,
-                        },
-                    )),
-                    ('jsreftest-3', (
-                        {'suite': 'jsreftest',
-                         'totalChunks': 3,
-                         'thisChunk': 3,
-                        },
-                    )),
-                ],
-                'debug_unittest_suites': [],
-            },
+            'tegra_android-o': deepcopy(ANDROID_UNITTEST_DICT),
         },
 }
 
 # Copy project branches into BRANCHES keys
 for branch in ACTIVE_PROJECT_BRANCHES:
     BRANCHES[branch] = deepcopy(PROJECT_BRANCHES[branch])
 
 # Copy unittest vars in first, then platform vars
@@ -800,17 +847,17 @@ for suite in SUITES.keys():
     if options[1] == NO_MAC:
         options = (options[0], NO_MAC + PLATFORMS['win64']['slave_platforms'])
     if not SUITES[suite]['enable_by_default']:
         # Suites that are turned off by default
         BRANCHES['mozilla-central'][suite + '_tests'] = (0, True) + options
     else:
         # Suites that are turned on by default
         BRANCHES['mozilla-central'][suite + '_tests'] = (1, True) + options
-BRANCHES['mozilla-central']['platforms']['linux-android']['enable_debug_unittests'] = True
+BRANCHES['mozilla-central']['platforms']['android']['enable_debug_unittests'] = True
 BRANCHES['mozilla-central']['xperf_tests'] = (1, True, {}, WIN7_ONLY)
 
 ######## mozilla-release
 BRANCHES['mozilla-release']['pgo_strategy'] = 'per-checkin'
 
 ######## mozilla-beta
 BRANCHES['mozilla-beta']['pgo_strategy'] = 'per-checkin'
 
@@ -862,23 +909,23 @@ BRANCHES['addonbaselinetester']['fetch_s
 for suite in SUITES.keys():
     BRANCHES['addonbaselinetester'][suite + '_tests'] = (0, True, {}, [])
 BRANCHES['addonbaselinetester']['addon-baseline_tests'] = (1, False, TALOS_BASELINE_ADDON_OPTS, OLD_BRANCH_ADDON_TESTER_PLATFORMS)
 BRANCHES['addonbaselinetester']['enable_unittests'] = False
 
 ######## try
 BRANCHES['try']['tp4_tests'] = (1, False, TALOS_TP4_OPTS, ALL_PLATFORMS)
 BRANCHES['try']['xperf_tests'] = (1, False, {}, WIN7_ONLY)
-BRANCHES['try']['platforms']['linux-android']['enable_debug_unittests'] = True
+BRANCHES['try']['platforms']['android']['enable_debug_unittests'] = True
 BRANCHES['try']['platforms']['win32']['win7']['opt_unittest_suites'] += [('reftest-no-accel', ['reftest-no-d2d-d3d'])]
 
 # Let's load jetpack for the following branches:
 for branch in ('mozilla-central', 'mozilla-aurora', 'try',  ):
     for pf in PLATFORMS:
-        if pf in ('linux-android', ):
+        if 'android' in pf:
             continue
         for slave_pf in PLATFORMS[pf]['slave_platforms']:
             # These two mac excpetions are because we have been adding debug jetpack to macosx/leopard-o
             # and opt jetpack to macosx64/leopard. This probably was not correct but that's how it came about
             # XXX clean this mess in the next refactoring patch 
             if pf == "macosx" and slave_pf == "leopard-o":
                 BRANCHES[branch]['platforms'][pf][slave_pf]['debug_unittest_suites'] += [('jetpack', ['jetpack'])]
                 continue
@@ -890,16 +937,35 @@ for branch in ('mozilla-central', 'mozil
 
 ######## generic branch variables for project branches
 for projectBranch in ACTIVE_PROJECT_BRANCHES:
     branchConfig = PROJECT_BRANCHES[projectBranch]
     loadDefaultValues(BRANCHES, projectBranch, branchConfig)
     loadCustomTalosSuites(BRANCHES, SUITES, projectBranch, branchConfig)
     loadCustomUnittestSuites(BRANCHES, projectBranch, branchConfig)
 
+#-------------------------------------------------------------------------
+# Remove a branch from this tuple when we merge Firefox 11.0 into it.
+#-------------------------------------------------------------------------
+LINUX_ANDROID_BRANCHES = ('mozilla-aurora', 'mozilla-beta', 'mozilla-release')
+#-------------------------------------------------------------------------
+# Delete the following when 11.0 is released.
+#-------------------------------------------------------------------------
+for branch in BRANCHES.keys():
+    if branch in LINUX_ANDROID_BRANCHES:
+        for p in ('android', 'android-xul'):
+            if p in BRANCHES[branch]['platforms']:
+                del BRANCHES[branch]['platforms'][p]
+    else:
+        if 'linux-android' in BRANCHES[branch]['platforms']:
+            del BRANCHES[branch]['platforms']['linux-android']
+#-------------------------------------------------------------------------
+# End 11.0 hacks.
+#-------------------------------------------------------------------------
+
 if __name__ == "__main__":
     import sys, pprint, re
 
     class BBPrettyPrinter(pprint.PrettyPrinter):
         def format(self, object, context, maxlevels, level):
             if isinstance(object, WithProperties):
                 return pprint.PrettyPrinter.format(self, object.fmtstring, context, maxlevels, level)
             return pprint.PrettyPrinter.format(self, object, context, maxlevels, level)
--- a/mozilla-tests/preproduction_config.py
+++ b/mozilla-tests/preproduction_config.py
@@ -1,22 +1,23 @@
 SLAVES = {
     'fedora': dict([("talos-r3-fed-%03i" % x, {}) for x in range(1,64)]),
     'fedora64' : dict([("talos-r3-fed64-%03i" % x, {}) for x in range (1,64)]),
     'xp': dict([("talos-r3-xp-%03i" % x, {}) for x in range(1,63)]),
     'win7': dict([("talos-r3-w7-%03i" % x, {}) for x in range(1,65)]),
     'w764': dict([("t-r3-w764-%03i" % x, {}) for x in range(1,6)]),
     'leopard': dict([("talos-r3-leopard-%03i" % x, {}) for x in range(1,60)]),
-    'snowleopard': dict([("talos-r3-snow-%03i" % x, {}) for x in range(1,60)]),
-    'snowleopard-r4': dict([("talos-r4-snow-%03i" % x, {}) for x in range(1,81)]),
+    'snowleopard': dict([("talos-r4-snow-%03i" % x, {}) for x in range(1,60)]),
     'lion': dict([("talos-r4-lion-%03i" % x, {}) for x in range(1,81)]),
-    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,154)]),
+    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,178)]),
 }
 
 SLAVES['leopard-o'] = SLAVES['leopard']
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
 
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs-stage.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'disable_tinderbox_mail': True,
--- a/mozilla-tests/production_addon_config.py
+++ b/mozilla-tests/production_addon_config.py
@@ -4,16 +4,19 @@ SLAVES = {
     'xp': dict([("addon-r3-xp-%03i" % x, {}) for x in range(1,4)]),
     'win7': dict([("addon-r3-w7-%03i" % x, {}) for x in range(1,4)]),
     'w764': dict([("addon-r3-w764-%03i" % x, {}) for x in range(1,4)]),
     'leopard': dict([("addon-r3-leopard-%03i" % x, {}) for x in range(1,4)]),
     'snowleopard': dict([("addon-r3-snow-%03i" % x, {}) for x in range(1,4)]),
     'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,4)]),
 }
 
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
+
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'build_tools_repo_path': 'build/tools',
     'stage_server': 'stage.mozilla.org',
--- a/mozilla-tests/production_config.py
+++ b/mozilla-tests/production_config.py
@@ -1,22 +1,23 @@
 SLAVES = {
     'fedora': dict([("talos-r3-fed-%03i" % x, {}) for x in range(3,10) + range(11,64)]),
     'fedora64' : dict([("talos-r3-fed64-%03i" % x, {}) for x in range (3,10) + range(11,60)]),
     'xp': dict([("talos-r3-xp-%03i" % x, {}) for x in range(4,10) + range(11,63)]),
     'win7': dict([("talos-r3-w7-%03i" % x, {}) for x in range(4,10) + range(11,65)]),
     'w764': dict([("t-r3-w764-%03i" % x, {}) for x in range(1,6)]),
     'leopard': dict([("talos-r3-leopard-%03i" % x, {}) for x in range(3,10) + range(11,60)]),
-    'snowleopard': dict([("talos-r3-snow-%03i" % x, {}) for x in range(3,10) + range(11,60)]),
-    'snowleopard-r4': dict([("talos-r4-snow-%03i" % x, {}) for x in range(3,10) + range(11,81)]),
+    'snowleopard': dict([("talos-r4-snow-%03i" % x, {}) for x in range(3,10) + range(11,60)]),
     'lion': dict([("talos-r4-lion-%03i" % x, {}) for x in range(3,10) + range(11,81)]),
-    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,154)]),
+    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(31,178)]),
 }
 
 SLAVES['leopard-o'] = SLAVES['leopard']
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
 
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'disable_tinderbox_mail': True,
--- a/mozilla-tests/production_tests_master_tm01_localconfig.py
+++ b/mozilla-tests/production_tests_master_tm01_localconfig.py
@@ -9,12 +9,14 @@ c['status'] = [
 c['buildbotURL'] = 'http://test-master01.build.mozilla.org:8012/'
 
 from buildbot import manhole
 c['manhole'] = manhole.PasswordManhole("tcp:1235:interface=127.0.0.1", "cltbld", "password")
 
 from config import BRANCHES, PROJECTS
 # Do everything!
 ACTIVE_BRANCHES = BRANCHES.keys()
-ACTIVE_PLATFORMS = {'linux-android': None}
+ACTIVE_PLATFORMS = {'linux-android': None,
+                    'android': None,
+                    'android-xul': None,}
 ACTIVE_PROJECTS = []
 
 QUEUEDIR = "/dev/shm/queue"
--- a/mozilla-tests/staging_addon_config.py
+++ b/mozilla-tests/staging_addon_config.py
@@ -4,16 +4,19 @@ SLAVES = {
     'xp': dict([("addon-r3-xp-%03i" % x, {}) for x in range(1,4)]),
     'win7': dict([("addon-r3-w7-%03i" % x, {}) for x in range(1,4)]),
     'w764': dict([("addon-r3-w764-%03i" % x, {}) for x in range(1,4)]),
     'leopard': dict([("addon-r3-leopard-%03i" % x, {}) for x in range(1,4)]),
     'snowleopard': dict([("addon-r3-snow-%03i" % x, {}) for x in range(1,4)]),
     'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,4)]),
 }
 
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
+
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs-stage.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'tinderbox_tree': 'MozillaTest',
     'mobile_tinderbox_tree': 'MobileTest',
--- a/mozilla-tests/staging_ateam_config.py
+++ b/mozilla-tests/staging_ateam_config.py
@@ -4,16 +4,19 @@ SLAVES = {
     'xp': dict([("tools-r3-xp-%03i" % x, {}) for x in range(1,4)]),
     'win7': dict([("tools-r3-w7-%03i" % x, {}) for x in range(1,4)]),
     'w764': dict([("tools-r3-w764-%03i" % x, {}) for x in range(1,4)]),
     'leopard': dict([("tools-r3-leopard-%03i" % x, {}) for x in range(1,4)]),
     'snowleopard': dict([("tools-r3-snow-%03i" % x, {}) for x in range(1,4)]),
     'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,4)]),
 }
 
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
+
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs-stage.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'tinderbox_tree': 'MozillaTest',
     'mobile_tinderbox_tree': 'MobileTest',
--- a/mozilla-tests/staging_config.py
+++ b/mozilla-tests/staging_config.py
@@ -1,22 +1,23 @@
 SLAVES = {
     'fedora': dict([("talos-r3-fed-%03i" % x, {}) for x in range(1,64)]),
     'fedora64' : dict([("talos-r3-fed64-%03i" % x, {}) for x in range (1,64)]),
     'xp': dict([("talos-r3-xp-%03i" % x, {}) for x in range(1,63)]),
     'win7': dict([("talos-r3-w7-%03i" % x, {}) for x in range(1,65)]),
     'w764': dict([("t-r3-w764-%03i" % x, {}) for x in range(1,6)]),
     'leopard': dict([("talos-r3-leopard-%03i" % x, {}) for x in range(1,60)]),
-    'snowleopard': dict([("talos-r3-snow-%03i" % x, {}) for x in range(1,60)]),
-    'snowleopard-r4': dict([("talos-r4-snow-%03i" % x, {}) for x in range(1,81)]),
+    'snowleopard': dict([("talos-r4-snow-%03i" % x, {}) for x in range(1,60)]),
     'lion': dict([("talos-r4-lion-%03i" % x, {}) for x in range(1,81)]),
-    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,154)]),
+    'tegra_android': dict([('tegra-%03i' % x, {'http_port': '30%03i' % x, 'ssl_port': '31%03i' % x}) for x in range(1,178)]),
 }
 
 SLAVES['leopard-o'] = SLAVES['leopard']
+SLAVES['tegra_android-xul'] = SLAVES['tegra_android']
+SLAVES['tegra_android-o'] = SLAVES['tegra_android']
 
 TRY_SLAVES = {}
 
 GRAPH_CONFIG = ['--resultsServer', 'graphs-stage.mozilla.org',
     '--resultsLink', '/server/collect.cgi']
 
 GLOBAL_VARS = {
     'disable_tinderbox_mail': True,
--- a/mozilla/BuildSlaves.py.template
+++ b/mozilla/BuildSlaves.py.template
@@ -4,14 +4,16 @@ SlavePasswords = {
         'linux64': 'pass',
         'win32': 'pass',
         'win64': 'pass',
         'try-win32': 'pass',
         'macosx': 'pass',
         'macosx64': 'pass',
         'try-macosx': 'pass',
         'linux-android': 'pass',
+        'android': 'pass',
+        'android-xul': 'pass',
         'linux-mobile': 'pass',
         'macosx-mobile': 'pass',
         'win32-mobile': 'pass',
         }
 tuxedoUsername = 'user'
 tuxedoPassword = 'passwd'
--- a/mozilla/config.py
+++ b/mozilla/config.py
@@ -62,16 +62,19 @@ GLOBAL_VARS = {
         'win32': {},
         'win64': {},
         'macosx64': {},
         'linux-debug': {},
         'linux64-debug': {},
         'macosx-debug': {},
         'macosx64-debug': {},
         'win32-debug': {},
+        'android': {},
+        'android-debug': {},
+        'android-xul': {},
         'linux-android': {},
         'linux-android-debug': {},
         'linux-mobile': {},
         'win32-mobile': {},
         'macosx-mobile': {},
     },
     'pgo_strategy': None,
     'pgo_platforms': ('linux', 'linux64', 'win32'),
@@ -433,16 +436,17 @@ PLATFORM_VARS = {
                 'SYMBOL_SERVER_PATH': SYMBOL_SERVER_PATH,
                 'POST_SYMBOL_UPLOAD_CMD': SYMBOL_SERVER_POST_UPLOAD_CMD,
                 'SYMBOL_SERVER_SSH_KEY': "/c/Documents and Settings/cltbld/.ssh/ffxbld_dsa",
                 'TINDERBOX_OUTPUT': '1',
                 'MOZ_CRASHREPORTER_NO_REPORT': '1',
                 # Source server support, bug 506702
                 'PDBSTR_PATH': '/c/Program Files/Debugging Tools for Windows/srcsrv/pdbstr.exe',
                 'HG_SHARE_BASE_DIR': 'e:/builds/hg-shared',
+                'BINSCOPE': 'C:\Program Files\Microsoft\SDL BinScope\Binscope.exe',
             },
             'enable_opt_unittests': False,
             'enable_checktests': True,
             'talos_masters': GLOBAL_VARS['talos_masters'],
             'test_pretty_names': True,
             'l10n_check_test': True,
         },
         'win64': {
@@ -613,25 +617,166 @@ PLATFORM_VARS = {
             'stage_product': 'firefox',
             'stage_platform': 'win32-debug',
             'enable_shared_checkouts': True,
             'env': {
                 'MOZ_OBJDIR': OBJDIR,
                 'XPCOM_DEBUG_BREAK': 'stack-and-abort',
                 'MOZ_CRASHREPORTER_NO_REPORT': '1',
                 'HG_SHARE_BASE_DIR': 'e:/builds/hg-shared',
+                'BINSCOPE': 'C:\Program Files\Microsoft\SDL Binscope\Binscope.exe',
             },
             'enable_unittests': False,
             'enable_checktests': True,
             'talos_masters': GLOBAL_VARS['talos_masters'],
         },
+        'android': {
+            'base_name': 'Android %(branch)s',
+            'mozconfig': 'android/%(branch)s/nightly',
+            'src_mozconfig': 'mobile/android/config/mozconfigs/android/nightly',
+            'mobile_dir': 'mobile/android',
+            'enable_xulrunner': False,
+            'profiled_build': False,
+            'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
+            'build_space': 6,
+            'upload_symbols': True,
+            'download_symbols': False,
+            'packageTests': True,
+            'enable_codesighs': False,
+            'create_partial': False,
+            'slaves': SLAVES['linux'],
+            'platform_objdir': OBJDIR,
+            'update_platform': 'Android_arm-eabi-gcc3',
+            'enable_shared_checkouts': True,
+            'env': {
+                'DISPLAY': ':2',
+                'HG_SHARE_BASE_DIR': '/builds/hg-shared',
+                'MOZ_OBJDIR': OBJDIR,
+                'SYMBOL_SERVER_HOST': localconfig.SYMBOL_SERVER_HOST,
+                'SYMBOL_SERVER_USER': 'ffxbld',
+                'SYMBOL_SERVER_PATH': SYMBOL_SERVER_MOBILE_PATH,
+                'SYMBOL_SERVER_SSH_KEY': "/home/cltbld/.ssh/ffxbld_dsa",
+                'POST_SYMBOL_UPLOAD_CMD': SYMBOL_SERVER_POST_UPLOAD_CMD,
+                'TINDERBOX_OUTPUT': '1',
+                'MOZ_CRASHREPORTER_NO_REPORT': '1',
+                'CCACHE_DIR': '/builds/ccache',
+                'CCACHE_COMPRESS': '1',
+                'CCACHE_UMASK': '002',
+                'LC_ALL': 'C',
+                'JAVA_HOME': '/tools/jdk6',
+                'PATH': '/tools/jdk6/bin:/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/',
+            },
+            'enable_opt_unittests': False,
+            'talos_masters': GLOBAL_VARS['talos_masters'],
+            'unittest_masters': GLOBAL_VARS['unittest_masters'],
+            'stage_platform': "android",
+            'stage_product': 'mobile',
+            'android_signing': True,
+            'post_upload_include_platform': True,
+            'multi_locale': True,
+            'multi_locale_script': 'scripts/multil10n.py',
+        },
+        'android-xul': {
+            'base_name': 'Android XUL %(branch)s',
+            'mozconfig': 'android-xul/%(branch)s/nightly',
+            'src_mozconfig': 'mobile/xul/config/mozconfigs/android/nightly',
+            'mobile_dir': 'mobile/xul',
+            'enable_xulrunner': False,
+            'profiled_build': False,
+            'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
+            'build_space': 6,
+            'upload_symbols': True,
+            'download_symbols': False,
+            'packageTests': True,
+            'enable_codesighs': False,
+            'create_partial': False,
+            'slaves': SLAVES['linux'],
+            'platform_objdir': OBJDIR,
+            'update_platform': 'Android_arm-eabi-gcc3',
+            'enable_shared_checkouts': True,
+            'env': {
+                'DISPLAY': ':2',
+                'HG_SHARE_BASE_DIR': '/builds/hg-shared',
+                'MOZ_OBJDIR': OBJDIR,
+                'SYMBOL_SERVER_HOST': localconfig.SYMBOL_SERVER_HOST,
+                'SYMBOL_SERVER_USER': 'ffxbld',
+                'SYMBOL_SERVER_PATH': SYMBOL_SERVER_MOBILE_PATH,
+                'SYMBOL_SERVER_SSH_KEY': "/home/cltbld/.ssh/ffxbld_dsa",
+                'POST_SYMBOL_UPLOAD_CMD': SYMBOL_SERVER_POST_UPLOAD_CMD,
+                'TINDERBOX_OUTPUT': '1',
+                'MOZ_CRASHREPORTER_NO_REPORT': '1',
+                'CCACHE_DIR': '/builds/ccache',
+                'CCACHE_COMPRESS': '1',
+                'CCACHE_UMASK': '002',
+                'LC_ALL': 'C',
+                'JAVA_HOME': '/tools/jdk6',
+                'PATH': '/tools/jdk6/bin:/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/',
+            },
+            'enable_opt_unittests': False,
+            'talos_masters': GLOBAL_VARS['talos_masters'],
+            'unittest_masters': GLOBAL_VARS['unittest_masters'],
+            'stage_platform': "android-xul",
+            'stage_product': 'mobile',
+            'android_signing': True,
+            'post_upload_include_platform': True,
+            'multi_locale': True,
+            'multi_locale_script': 'scripts/multil10n.py',
+        },
+        'android-debug': {
+            'base_name': 'Android Debug %(branch)s',
+            'mozconfig': 'android-debug/%(branch)s/nightly',
+            'src_mozconfig': 'mobile/android/config/mozconfigs/android/debug',
+            'mobile_dir': 'mobile/android',
+            'enable_xulrunner': False,
+            'profiled_build': False,
+            'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
+            'build_space': 6,
+            'upload_symbols': True,
+            'download_symbols': False,
+            'packageTests': True,
+            'enable_codesighs': False,
+            'enable_leaktests': False,
+            'create_snippet': False,
+            'create_partial': False,
+            'slaves': SLAVES['linux'],
+            'platform_objdir': OBJDIR,
+            'update_platform': 'Android_arm-eabi-gcc3',
+            'enable_shared_checkouts': True,
+            'env': {
+                'DISPLAY': ':2',
+                'HG_SHARE_BASE_DIR': '/builds/hg-shared',
+                'MOZ_OBJDIR': OBJDIR,
+                'SYMBOL_SERVER_HOST': localconfig.SYMBOL_SERVER_HOST,
+                'SYMBOL_SERVER_USER': 'ffxbld',
+                'SYMBOL_SERVER_PATH': SYMBOL_SERVER_MOBILE_PATH,
+                'SYMBOL_SERVER_SSH_KEY': "/home/cltbld/.ssh/ffxbld_dsa",
+                'POST_SYMBOL_UPLOAD_CMD': SYMBOL_SERVER_POST_UPLOAD_CMD,
+                'TINDERBOX_OUTPUT': '1',
+                'MOZ_CRASHREPORTER_NO_REPORT': '1',
+                'CCACHE_DIR': '/builds/ccache',
+                'CCACHE_COMPRESS': '1',
+                'CCACHE_UMASK': '002',
+                'LC_ALL': 'C',
+                'JAVA_HOME': '/tools/jdk6',
+                'PATH': '/tools/jdk6/bin:/opt/local/bin:/tools/python/bin:/tools/buildbot/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/',
+            },
+            'enable_opt_unittests': False,
+            'talos_masters': GLOBAL_VARS['talos_masters'],
+            'unittest_masters': GLOBAL_VARS['unittest_masters'],
+            'stage_platform': "android-debug",
+            'stage_product': 'mobile',
+            'android_signing': True,
+            'post_upload_include_platform': True,
+        },
         'linux-android': {
             'base_name': 'Android %(branch)s',
             'mozconfig': 'linux-android/%(branch)s/nightly',
             'src_mozconfig': 'mobile/config/mozconfigs/android/nightly',
+            'enable_nightly': False,
+            'enable_dep': False,
             'enable_xulrunner': False,
             'profiled_build': False,
             'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
             'build_space': 6,
             'upload_symbols': True,
             'download_symbols': False,
             'packageTests': True,
             'enable_codesighs': False,
@@ -667,16 +812,18 @@ PLATFORM_VARS = {
             'post_upload_include_platform': True,
             'multi_locale': True,
             'multi_locale_script': 'scripts/multil10n.py',
         },
         'linux-android-debug': {
             'base_name': 'Android Debug %(branch)s',
             'mozconfig': 'linux-android-debug/%(branch)s/nightly',
             'src_mozconfig': 'mobile/config/mozconfigs/android/debug',
+            'enable_nightly': False,
+            'enable_dep': False,
             'enable_xulrunner': False,
             'profiled_build': False,
             'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
             'build_space': 6,
             'upload_symbols': True,
             'download_symbols': False,
             'packageTests': True,
             'enable_codesighs': False,
@@ -711,17 +858,18 @@ PLATFORM_VARS = {
             'stage_platform': "android-debug",
             'stage_product': 'mobile',
             'android_signing': True,
             'post_upload_include_platform': True,
         },
         'linux-mobile': {
             'base_name': 'Linux Mobile Desktop %(branch)s',
             'mozconfig': 'linux-mobile/%(branch)s/nightly',
-            'src_mozconfig': 'mobile/config/mozconfigs/linux-desktop/nightly',
+            'src_mozconfig': 'mobile/xul/config/mozconfigs/linux-desktop/nightly',
+            'mobile_dir': 'mobile/xul',
             'profiled_build': False,
             'enable_xulrunner': False,
             'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
             'build_space': 6,
             'packageTests': True,
             'upload_symbols': True,
             'update_platform': 'Linux_x86-gcc3',
             'create_partial': False,
@@ -756,17 +904,18 @@ PLATFORM_VARS = {
             'stage_platform': "linux",
             'stage_product': 'mobile',
             'post_upload_include_platform': True,
             'enable_dep': False,
         },
         'win32-mobile': {
             'base_name': 'WINNT 5.2 Mobile Desktop %(branch)s',
             'mozconfig': 'win32-mobile/%(branch)s/nightly',
-            'src_mozconfig': 'mobile/config/mozconfigs/win32-desktop/nightly',
+            'src_mozconfig': 'mobile/xul/config/mozconfigs/win32-desktop/nightly',
+            'mobile_dir': 'mobile/xul',
             'profiled_build': False,
             'enable_xulrunner': False,
             'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
             'build_space': 6,
             'packageTests': True,
             'upload_symbols': True,
             'update_platform': 'WINNT_x86-msvc',
             'slaves': SLAVES['win32'],
@@ -786,31 +935,33 @@ PLATFORM_VARS = {
                 'SYMBOL_SERVER_SSH_KEY': "/c/Documents and Settings/cltbld/.ssh/ffxbld_dsa",
                 'POST_SYMBOL_UPLOAD_CMD': SYMBOL_SERVER_POST_UPLOAD_CMD,
                 'TINDERBOX_OUTPUT': '1',
                 'MOZ_CRASHREPORTER_NO_REPORT': '1',
                 'CCACHE_DIR': '/builds/ccache',
                 'CCACHE_COMPRESS': '1',
                 'CCACHE_UMASK': '002',
                 'LC_ALL': 'C',
+                'BINSCOPE': 'C:\Program Files\Microsoft\SDL Binscope\Binscope.exe',
             },
             'is_mobile_l10n': True,
             'l10n_chunks': 5,
             'enable_opt_unittests': False,
             'enable_checktests': True,
             'talos_masters': [],#GLOBAL_VARS['talos_masters'],
             'stage_platform': "win32",
             'stage_product': 'mobile',
             'post_upload_include_platform': True,
             'enable_dep': False,
         },
         'macosx-mobile': {
             'base_name': 'OS X 10.5.2 Mobile Desktop %(branch)s',
             'mozconfig': 'macosx-mobile/%(branch)s/nightly',
-            'src_mozconfig': 'mobile/config/mozconfigs/macosx-desktop/nightly',
+            'src_mozconfig': 'mobile/xul/config/mozconfigs/macosx-desktop/nightly',
+            'mobile_dir': 'mobile/xul',
             'profiled_build': False,
             'enable_xulrunner': False,
             'builds_before_reboot': localconfig.BUILDS_BEFORE_REBOOT,
             'build_space': 6,
             'packageTests': True,
             'upload_symbols': True,
             'update_platform': 'Darwin_x86_64-gcc3',
             'platform_objdir': "%s/i386" % OBJDIR, #needed?
@@ -850,17 +1001,17 @@ PLATFORM_VARS = {
         },
 }
 
 PROJECTS = {
     'fuzzing': {
         'platforms': ['linux', 'linux64', 'macosx', 'macosx64', 'win32'],
     },
     'nanojit': {
-        'platforms': ['linux', 'linux64', 'macosx', 'macosx64', 'win32', 'arm'],
+        'platforms': ['linux', 'linux64', 'macosx', 'macosx64', 'win32'],
         'hgurl': 'http://hg.mozilla.org',
         'repo_path': 'projects/nanojit-central',
     },
     'spidermonkey_mozilla-inbound': {
         'platforms': {
             'linux':          ['warnaserr'],
             'linux-debug':    ['nomethodjit', 'notracejit', 'warnaserrdebug'],
             'linux64':        ['warnaserr'],
@@ -1063,17 +1214,17 @@ BRANCHES['mozilla-central']['l10n_tree']
 #make sure it has an ending slash
 BRANCHES['mozilla-central']['l10nUploadPath'] = \
     '/home/ftp/pub/mozilla.org/firefox/nightly/latest-mozilla-central-l10n/'
 BRANCHES['mozilla-central']['enUS_binaryURL'] = \
     GLOBAL_VARS['download_base_url'] + '/nightly/latest-mozilla-central'
 BRANCHES['mozilla-central']['allLocalesFile'] = 'browser/locales/all-locales'
 BRANCHES['mozilla-central']['localesURL'] = \
     '%s/build/buildbot-configs/raw-file/production/mozilla/l10n/all-locales.mozilla-central' % (GLOBAL_VARS['hgurl'])
-BRANCHES['mozilla-central']['enable_multi_locale'] = True
+BRANCHES['mozilla-central']['enable_multi_locale'] = False
 BRANCHES['mozilla-central']['upload_mobile_symbols'] = True
 # If True, a complete update snippet for this branch will be generated and
 # uploaded to. Any platforms with 'debug' in them will not have snippets
 # generated.
 BRANCHES['mozilla-central']['create_snippet'] = True
 BRANCHES['mozilla-central']['update_channel'] = 'nightly'
 BRANCHES['mozilla-central']['create_mobile_snippet'] = True
 BRANCHES['mozilla-central']['create_partial'] = True
@@ -1083,19 +1234,21 @@ BRANCHES['mozilla-central']['aus2_ssh_ke
 BRANCHES['mozilla-central']['aus2_base_upload_dir'] = '/opt/aus2/incoming/2/Firefox/mozilla-central'
 BRANCHES['mozilla-central']['aus2_base_upload_dir_l10n'] = '/opt/aus2/incoming/2/Firefox/mozilla-central'
 BRANCHES['mozilla-central']['aus2_mobile_base_upload_dir'] = '/opt/aus2/incoming/2/Fennec/mozilla-central'
 BRANCHES['mozilla-central']['aus2_mobile_base_upload_dir_l10n'] = '/opt/aus2/incoming/2/Fennec/mozilla-central'
 BRANCHES['mozilla-central']['enable_blocklist_update'] = True
 BRANCHES['mozilla-central']['blocklist_update_on_closed_tree'] = False
 BRANCHES['mozilla-central']['platforms']['linux-rpm']['enable_nightly'] = True
 BRANCHES['mozilla-central']['platforms']['linux64-rpm']['enable_nightly'] = True
-BRANCHES['mozilla-central']['platforms']['linux-android-debug']['enable_nightly'] = True
-BRANCHES['mozilla-central']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-central'
+BRANCHES['mozilla-central']['platforms']['android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-central'
+BRANCHES['mozilla-central']['platforms']['android-xul']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-central'
 BRANCHES['mozilla-central']['platforms']['macosx64-debug']['enable_leaktests'] = False
+del BRANCHES['mozilla-central']['platforms']['linux-android']
+del BRANCHES['mozilla-central']['platforms']['linux-android-debug']
 
 ######## shadow-central
 # custom settings for shadow-central repo
 BRANCHES['shadow-central']['hgurl'] = 'https://hgpvt.mozilla.org/'
 # have to use complete config repo path so it doesn't look to https://hgpvt.mozilla.org
 BRANCHES['shadow-central']['config_repo_path'] = 'http://hg.mozilla.org/build/buildbot-configs'
 # This is a path, relative to HGURL, where the repository is located
 # HGURL + repo_path should be a valid repository
@@ -1152,19 +1305,41 @@ BRANCHES['mozilla-release']['allLocalesF
 BRANCHES['mozilla-release']['localesURL'] = \
     '%s/build/buildbot-configs/raw-file/production/mozilla/l10n/all-locales.mozilla-release' % (GLOBAL_VARS['hgurl'])
 BRANCHES['mozilla-release']['enable_multi_locale'] = True
 BRANCHES['mozilla-release']['upload_mobile_symbols'] = True
 # temp disable nightlies (which includes turning off enable_l10n and l10nNightlyUpdate)
 BRANCHES['mozilla-release']['enable_nightly'] = False
 BRANCHES['mozilla-release']['enable_blocklist_update'] = False
 BRANCHES['mozilla-release']['blocklist_update_on_closed_tree'] = False
-BRANCHES['mozilla-release']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-release'
 del BRANCHES['mozilla-release']['platforms']['win64']
 BRANCHES['mozilla-release']['enable_valgrind'] = False
+#-------------------------------------------------------------------------
+# Delete the below lines when 11.0 merges into release
+#-------------------------------------------------------------------------
+del BRANCHES['mozilla-release']['platforms']['android']
+del BRANCHES['mozilla-release']['platforms']['android-debug']
+del BRANCHES['mozilla-release']['platforms']['android-xul']
+BRANCHES['mozilla-release']['platforms']['linux-android']['enable_dep'] = True
+BRANCHES['mozilla-release']['platforms']['linux-android-debug']['enable_dep'] = True
+BRANCHES['mozilla-release']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-release'
+BRANCHES['mozilla-release']['platforms']['linux-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/linux-desktop/nightly'
+BRANCHES['mozilla-release']['platforms']['linux-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-release']['platforms']['macosx-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/macosx-desktop/nightly'
+BRANCHES['mozilla-release']['platforms']['macosx-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-release']['platforms']['win32-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/win32-desktop/nightly'
+BRANCHES['mozilla-release']['platforms']['win32-mobile']['mobile_dir'] = 'mobile'
+#-------------------------------------------------------------------------
+# Uncomment the below lines when 11.0 merges into release
+#-------------------------------------------------------------------------
+#BRANCHES['mozilla-release']['platforms']['android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-release'
+#BRANCHES['mozilla-release']['platforms']['android-xul']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-release'
+#-------------------------------------------------------------------------
+# End 11.0
+#-------------------------------------------------------------------------
 
 ######## mozilla-beta
 BRANCHES['mozilla-beta']['repo_path'] = 'releases/mozilla-beta'
 BRANCHES['mozilla-beta']['l10n_repo_path'] = 'releases/l10n/mozilla-beta'
 BRANCHES['mozilla-beta']['enable_weekly_bundle'] = True
 BRANCHES['mozilla-beta']['update_channel'] = 'beta'
 BRANCHES['mozilla-beta']['start_hour'] = [3]
 BRANCHES['mozilla-beta']['start_minute'] = [2]
@@ -1200,19 +1375,41 @@ BRANCHES['mozilla-beta']['enable_multi_l
 BRANCHES['mozilla-beta']['upload_mobile_symbols'] = True
 # temp disable nightlies (which includes turning off enable_l10n and l10nNightlyUpdate)
 BRANCHES['mozilla-beta']['enable_nightly'] = False
 # If True, a complete update snippet for this branch will be generated and
 # uploaded to. Any platforms with 'debug' in them will not have snippets
 # generated.
 BRANCHES['mozilla-beta']['enable_blocklist_update'] = True
 BRANCHES['mozilla-beta']['blocklist_update_on_closed_tree'] = False
-BRANCHES['mozilla-beta']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-beta'
 del BRANCHES['mozilla-beta']['platforms']['win64']
 BRANCHES['mozilla-beta']['enable_valgrind'] = False
+#-------------------------------------------------------------------------
+# Delete the below lines when 11.0 merges into beta
+#-------------------------------------------------------------------------
+del BRANCHES['mozilla-beta']['platforms']['android']
+del BRANCHES['mozilla-beta']['platforms']['android-debug']
+del BRANCHES['mozilla-beta']['platforms']['android-xul']
+BRANCHES['mozilla-beta']['platforms']['linux-android']['enable_dep'] = True
+BRANCHES['mozilla-beta']['platforms']['linux-android-debug']['enable_dep'] = True
+BRANCHES['mozilla-beta']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-beta'
+BRANCHES['mozilla-beta']['platforms']['linux-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/linux-desktop/nightly'
+BRANCHES['mozilla-beta']['platforms']['linux-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-beta']['platforms']['macosx-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/macosx-desktop/nightly'
+BRANCHES['mozilla-beta']['platforms']['macosx-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-beta']['platforms']['win32-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/win32-desktop/nightly'
+BRANCHES['mozilla-beta']['platforms']['win32-mobile']['mobile_dir'] = 'mobile'
+#-------------------------------------------------------------------------
+# Uncomment the below lines when 11.0 merges into beta
+#-------------------------------------------------------------------------
+#BRANCHES['mozilla-beta']['platforms']['android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-beta'
+#BRANCHES['mozilla-beta']['platforms']['android-xul']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-beta'
+#-------------------------------------------------------------------------
+# End 11.0
+#-------------------------------------------------------------------------
 
 ######## mozilla-aurora
 BRANCHES['mozilla-aurora']['repo_path'] = 'releases/mozilla-aurora'
 BRANCHES['mozilla-aurora']['l10n_repo_path'] = 'releases/l10n/mozilla-aurora'
 BRANCHES['mozilla-aurora']['enable_weekly_bundle'] = True
 BRANCHES['mozilla-aurora']['start_hour'] = [4]
 BRANCHES['mozilla-aurora']['start_minute'] = [20]
 # Enable XULRunner / SDK builds
@@ -1255,21 +1452,45 @@ BRANCHES['mozilla-aurora']['create_parti
 BRANCHES['mozilla-aurora']['create_partial_l10n'] = True
 BRANCHES['mozilla-aurora']['aus2_user'] = 'ffxbld'
 BRANCHES['mozilla-aurora']['aus2_ssh_key'] = 'ffxbld_dsa'
 # use mozilla-aurora-test when disabling updates for merges
 BRANCHES['mozilla-aurora']['aus2_base_upload_dir'] = '/opt/aus2/incoming/2/Firefox/mozilla-aurora'
 BRANCHES['mozilla-aurora']['aus2_base_upload_dir_l10n'] = '/opt/aus2/incoming/2/Firefox/mozilla-aurora'
 BRANCHES['mozilla-aurora']['aus2_mobile_base_upload_dir'] = '/opt/aus2/incoming/2/Fennec/mozilla-aurora'
 BRANCHES['mozilla-aurora']['aus2_mobile_base_upload_dir_l10n'] = '/opt/aus2/incoming/2/Fennec/mozilla-aurora'
-BRANCHES['mozilla-aurora']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-aurora'
 BRANCHES['mozilla-aurora']['enable_blocklist_update'] = True
 BRANCHES['mozilla-aurora']['blocklist_update_on_closed_tree'] = False
 del BRANCHES['mozilla-aurora']['platforms']['win64']
 BRANCHES['mozilla-aurora']['enable_valgrind'] = False
+#-------------------------------------------------------------------------
+# Delete the below lines when 11.0 merges into aurora
+#-------------------------------------------------------------------------
+del BRANCHES['mozilla-aurora']['platforms']['android']
+del BRANCHES['mozilla-aurora']['platforms']['android-debug']
+del BRANCHES['mozilla-aurora']['platforms']['android-xul']
+BRANCHES['mozilla-aurora']['platforms']['linux-android']['enable_dep'] = True
+BRANCHES['mozilla-aurora']['platforms']['linux-android']['enable_nightly'] = True
+BRANCHES['mozilla-aurora']['platforms']['linux-android-debug']['enable_dep'] = True
+BRANCHES['mozilla-aurora']['platforms']['linux-android-debug']['enable_nightly'] = True
+BRANCHES['mozilla-aurora']['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-aurora'
+BRANCHES['mozilla-aurora']['platforms']['linux-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/linux-desktop/nightly'
+BRANCHES['mozilla-aurora']['platforms']['linux-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-aurora']['platforms']['macosx-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/macosx-desktop/nightly'
+BRANCHES['mozilla-aurora']['platforms']['macosx-mobile']['mobile_dir'] = 'mobile'
+BRANCHES['mozilla-aurora']['platforms']['win32-mobile']['src_mozconfig'] = 'mobile/config/mozconfigs/win32-desktop/nightly'
+BRANCHES['mozilla-aurora']['platforms']['win32-mobile']['mobile_dir'] = 'mobile'
+#-------------------------------------------------------------------------
+# Uncomment the below lines when 11.0 merges into beta
+#-------------------------------------------------------------------------
+#BRANCHES['mozilla-aurora']['platforms']['android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-aurora'
+#BRANCHES['mozilla-aurora']['platforms']['android-xul']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'mozilla-aurora'
+#-------------------------------------------------------------------------
+# End 11.0 deletion
+#-------------------------------------------------------------------------
 
 ######## mozilla-1.9.1
 # mozilla-1.9.1 can be removed once we're no longer refreshing MUs from 3.5.18,
 # or bug 662298 is fixed.
 BRANCHES['mozilla-1.9.1']['repo_path'] = 'releases/mozilla-1.9.1'
 BRANCHES['mozilla-1.9.1']['l10n_repo_path'] = 'releases/l10n-mozilla-1.9.1'
 BRANCHES['mozilla-1.9.1']['enable_weekly_bundle'] = True
 BRANCHES['mozilla-1.9.1']['brand_name'] = 'Shiretoko'
@@ -1468,27 +1689,29 @@ BRANCHES['try']['platforms']['linuxqt'][
 BRANCHES['try']['platforms']['win32']['slaves'] = TRY_SLAVES['win32']
 BRANCHES['try']['platforms']['win64']['slaves'] = TRY_SLAVES['win64']
 BRANCHES['try']['platforms']['macosx64']['slaves'] = TRY_SLAVES['macosx64']
 BRANCHES['try']['platforms']['linux-debug']['slaves'] = TRY_SLAVES['linux']
 BRANCHES['try']['platforms']['linux64-debug']['slaves'] = TRY_SLAVES['linux64']
 BRANCHES['try']['platforms']['win32-debug']['slaves'] = TRY_SLAVES['win32']
 BRANCHES['try']['platforms']['macosx-debug']['slaves'] = TRY_SLAVES['macosx']
 BRANCHES['try']['platforms']['macosx64-debug']['slaves'] = TRY_SLAVES['macosx64']
-BRANCHES['try']['platforms']['linux-android']['slaves'] = TRY_SLAVES['linux']
-BRANCHES['try']['platforms']['linux-android-debug']['slaves'] = TRY_SLAVES['linux']
+BRANCHES['try']['platforms']['android']['slaves'] = TRY_SLAVES['linux']
+BRANCHES['try']['platforms']['android-debug']['slaves'] = TRY_SLAVES['linux']
+BRANCHES['try']['platforms']['android-xul']['slaves'] = TRY_SLAVES['linux']
 BRANCHES['try']['platforms']['linux-mobile']['slaves'] = TRY_SLAVES['linux']
 BRANCHES['try']['platforms']['win32-mobile']['slaves'] = TRY_SLAVES['win32']
 BRANCHES['try']['platforms']['macosx-mobile']['slaves'] = TRY_SLAVES['macosx']
 BRANCHES['try']['platforms']['linux']['upload_symbols'] = False
 BRANCHES['try']['platforms']['linux64']['upload_symbols'] = False
 BRANCHES['try']['platforms']['linuxqt']['upload_symbols'] = False
 BRANCHES['try']['platforms']['macosx64']['upload_symbols'] = False
-BRANCHES['try']['platforms']['linux-android']['upload_symbols'] = False
-BRANCHES['try']['platforms']['linux-android-debug']['upload_symbols'] = False
+BRANCHES['try']['platforms']['android']['upload_symbols'] = False
+BRANCHES['try']['platforms']['android-xul']['upload_symbols'] = False
+BRANCHES['try']['platforms']['android-debug']['upload_symbols'] = False
 BRANCHES['try']['platforms']['linux-mobile']['upload_symbols'] = False
 BRANCHES['try']['platforms']['win32-mobile']['upload_symbols'] = False
 BRANCHES['try']['platforms']['macosx-mobile']['upload_symbols'] = False
 BRANCHES['try']['platforms']['win32']['upload_symbols'] = True
 BRANCHES['try']['platforms']['win32']['env']['SYMBOL_SERVER_USER'] = 'trybld'
 BRANCHES['try']['platforms']['win32']['env']['SYMBOL_SERVER_PATH'] = '/symbols/windows'
 BRANCHES['try']['platforms']['win32']['env']['SYMBOL_SERVER_SSH_KEY'] = '/c/Documents and Settings/cltbld/.ssh/trybld_dsa'
 BRANCHES['try']['platforms']['win64']['upload_symbols'] = False
@@ -1541,31 +1764,35 @@ for branch in ACTIVE_PROJECT_BRANCHES:
     #make sure it has an ending slash
     BRANCHES[branch]['l10nUploadPath'] = \
         '/home/ftp/pub/mozilla.org/firefox/nightly/latest-' + branch + '-l10n/' 
     BRANCHES[branch]['enUS_binaryURL'] = GLOBAL_VARS['download_base_url'] + branchConfig.get('enUS_binaryURL', '')
     if BRANCHES[branch]['platforms'].has_key('linux'):
         BRANCHES[branch]['platforms']['linux']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = branch
     if BRANCHES[branch]['platforms'].has_key('linux-mobile'):
         BRANCHES[branch]['platforms']['linux-mobile']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'linux-mobile-' + branch
+    if BRANCHES[branch]['platforms'].has_key('android'):
+        BRANCHES[branch]['platforms']['android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'android-' + branch
+    if BRANCHES[branch]['platforms'].has_key('android-xul'):
+        BRANCHES[branch]['platforms']['android-xul']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'android-xul-' + branch
     if BRANCHES[branch]['platforms'].has_key('linux-android'):
         BRANCHES[branch]['platforms']['linux-android']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'android-' + branch
     if BRANCHES[branch]['platforms'].has_key('linuxqt'):
         BRANCHES[branch]['platforms']['linuxqt']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'linuxqt-' + branch
     if BRANCHES[branch]['platforms'].has_key('linux64'):
         BRANCHES[branch]['platforms']['linux64']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'linux64-' + branch
     if BRANCHES[branch]['platforms'].has_key('win32'):
         BRANCHES[branch]['platforms']['win32']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = branch
     if BRANCHES[branch]['platforms'].has_key('win64'):
         BRANCHES[branch]['platforms']['win64']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'win64-' + branch
     if BRANCHES[branch]['platforms'].has_key('macosx64'):
         BRANCHES[branch]['platforms']['macosx64']['env']['MOZ_SYMBOLS_EXTRA_BUILDID'] = 'macosx64-' + branch
     # point to the mozconfigs, default is generic
     for platform in BRANCHES[branch]['platforms']:
-        if platform.endswith('debug') and 'linux-android' not in platform:
+        if platform.endswith('debug') and 'android' not in platform:
             BRANCHES[branch]['platforms'][platform]['mozconfig'] = platform.split('-')[0] + '/' + branchConfig.get('mozconfig_dir', 'generic') + '/debug'
         elif platform.endswith('qt'):
             BRANCHES[branch]['platforms'][platform]['mozconfig'] = 'linux/' + branchConfig.get('mozconfig_dir', 'generic') + '/qt'
         else:
             BRANCHES[branch]['platforms'][platform]['mozconfig'] = platform + '/' + branchConfig.get('mozconfig_dir', 'generic') + '/nightly'
     BRANCHES[branch]['enable_valgrind'] = False
 
 # Bug 578880, remove the following block after gcc-4.5 switch
--- a/mozilla/preproduction_config.py
+++ b/mozilla/preproduction_config.py
@@ -10,16 +10,18 @@ LINUX64_IXS    = ['linux64-ix-slave%02i'
 SLAVES = {
     'linux':            LINUX_VMS + LINUX_IXS,
     'linux64':          LINUX64_VMS + LINUX64_IXS,
     'win32':            WIN32_IXS,
     'win64':            WIN64_IXS,
     'macosx':           MAC_MINIS + XSERVES,
     'macosx64':         MAC_SNOW_MINIS,
     'linux-android':    LINUX_VMS + LINUX_IXS,
+    'android':          LINUX_VMS + LINUX_IXS,
+    'android-xul':      LINUX_VMS + LINUX_IXS,
     'linux-mobile':     LINUX_VMS + LINUX_IXS,
     'macosx-mobile':    MAC_MINIS + XSERVES,
     'win32-mobile':     WIN32_IXS,
 }
 
 TRY_LINUX      = ['try-linux-slave%02i' % x for x in range (1,31)]
 TRY_LINUX_IXS  = []
 TRY_LINUX64    = ['try-linux64-slave%02i' % x for x in range (1,11)]
--- a/mozilla/production_config.py
+++ b/mozilla/production_config.py
@@ -1,41 +1,47 @@
-MAC_SNOW_MINIS = ['moz2-darwin10-slave%02i' % x for x in range(5,10) + range(15,30) + range(40,57)]
-MAC_MINIS      = ['moz2-darwin9-slave%02i' % x for x in range(1,56) if x not in (3,4,5,8,10,20,27,28,40)]
-XSERVES        = ['bm-xserve%02i' % x for x in [6,7,9,11,12,15,16,17,18,19,21,22]]
-LINUX_VMS      = ['moz2-linux-slave%02i' % x for x in [1,2] + range(5,10) + range(11,17) + range(18,47)]
+MAC_SNOW_MINIS = ['moz2-darwin10-slave%02i' % x for x in range(5,10) + \
+                 range(15,30) + range(40,57) if x not in (52,)] # bug683792
+MAC_MINIS      = ['moz2-darwin9-slave%02i' % x for x in range(1,27) + range(38,55) \
+                 if x not in (3,4,5,8,10,20,40)] # bug629763
+XSERVES        = ['bm-xserve%02i' % x for x in [6,7,9,11,12,15,16,17,18,19,22]] # bug700705
+LINUX_VMS      = ['moz2-linux-slave%02i' % x for x in [1,2] + range(5,47) \
+                 if x not in (10,17)]
 LINUX_IXS      = ['mv-moz2-linux-ix-slave%02i' % x for x in range(2,22)] + \
-                 ['linux-ix-slave%02i' % x for x in range(12,43)] + \
-                 ['linux-ix-slave%02i' % x for x in (1,2,6)] # added for bug 638309
-LINUX64_VMS    = ['moz2-linux64-slave%02i' % x for x in range(1,7) + range(8,10) + range(11,13)]
+                 ['linux-ix-slave%02i' % x for x in [1,2,6] + range(12,43)]
+LINUX64_VMS    = ['moz2-linux64-slave%02i' % x for x in range(1,13) \
+                 if x not in (7,10)]
 LINUX64_IXS    = ['linux64-ix-slave%02i' % x for x in range(3,22)]
-WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20]] + ['w32-ix-slave%02i' % x for x in range(1,2) + range(24,43)]
+WIN32_IXS      = ['mw32-ix-slave%02i' % x for x in range(2,16) + [20]] + \
+                 ['w32-ix-slave%02i' % x for x in range(1,2) + range(24,43)]
 WIN64_IXS      = ['w64-ix-slave%02i' % x for x in [2] + range(6,25)]
 
 SLAVES = {
     'linux':            LINUX_VMS + LINUX_IXS,
     'linux64':          LINUX64_VMS + LINUX64_IXS,
     'win32':            WIN32_IXS,
     'win64':            WIN64_IXS,
     'macosx':           MAC_MINIS + XSERVES,
     'macosx64':         MAC_SNOW_MINIS,
     'linux-android':    LINUX_VMS + LINUX_IXS,
+    'android':          LINUX_VMS + LINUX_IXS,
+    'android-xul':      LINUX_VMS + LINUX_IXS,
     'linux-mobile':     LINUX_VMS + LINUX_IXS,
     'macosx-mobile':    MAC_MINIS + XSERVES,
     'win32-mobile':     WIN32_IXS,
 }
 
 TRY_LINUX      = ['try-linux-slave%02i' % x for x in range(1,5) + range(6,31)] + \
                  ['moz2-linux-slave%02i' % x for x in range(47,51)]
 TRY_LINUX_IXS  = ['mv-moz2-linux-ix-slave%02i' % x for x in range(22,24)] + \
                  ['linux-ix-slave%02i' % x for x in range(7,12)]
 TRY_LINUX64    = ['try-linux64-slave%02i' % x for x in range(1,11)]
 TRY_LINUX64_IXS= ['linux64-ix-slave%02i' % x for x in range(22,42)]
-TRY_MAC        = ['try-mac-slave%02i' % x for x in range(1,5) + range(6,48)]
-TRY_MAC.remove('try-mac-slave35') # Bug 650297
+TRY_MAC        = ['try-mac-slave%02i' % x for x in range(1,5) + range(6,48) \
+                 if x not in (11,35,) and x not in range(20,30)] # Bug 650297 & bug 700705
 TRY_XSERVES    = ['bm-xserve%02i' % x for x in [8,10,20,23,24]]
 TRY_MAC64      = ['try-mac64-slave%02i' % x for x in range(1,32)] + \
                  ['moz2-darwin10-slave%02i' % x for x in range(11,15)]
 TRY_WIN32_IXS  = ['mw32-ix-slave%02i' % x for x in range(16,19) + range(22,26)] + \
                  ['w32-ix-slave%02i' % x for x in range(2,24)]
 TRY_WIN64_IXS  = ['w64-ix-slave%02i' % x for x in range(25,43)]
 TRY_SLAVES = {
     'linux':       TRY_LINUX + TRY_LINUX_IXS,
--- a/mozilla/project_branches.py
+++ b/mozilla/project_branches.py
@@ -35,17 +35,17 @@ PROJECT_BRANCHES = {
                 'dont_build': True,
             },
             'macosx': {
                 'slave_platforms': [],
             },
             'macosx64': {
                 'slave_platforms': ['snowleopard'],
             },
-            'linux-android': {
+            'android': {
                 'enable_opt_unittests': False,
                 'enable_debug_unittests': False,
                 'tegra_android': {},
             },
         },
     },
     'electrolysis': {
         'mozconfig_dir': 'electrolysis',
@@ -175,26 +175,26 @@ PROJECT_BRANCHES = {
         'enable_nightly': True,
         'create_snippet': True,
         'create_partial': True,
         'enable_talos': False,
     },
     # customizations while booked for native mobile UI project
     'birch': {
         'enable_nightly': True,
-        'enable_multi_locale': True,
+        'enable_multi_locale': False,
         'enable_l10n': True,
         'enable_l10n_onchange': False,
         'l10n_repo_path': 'l10n-central',
         'create_snippet': True,
         'create_mobile_snippet': True,
         'create_partial': True,
         'lock_platforms': True,
         'platforms': {
-            'linux-android': {},
+            'android': {},
         },
         'l10n_platforms': [],
         'talos_suites': {
             'remote-tp4m': 0,
         },
     },
     'cedar': {},
     # customizations for windows update service changes (bug 481815)
--- a/mozilla/staging_config.py
+++ b/mozilla/staging_config.py
@@ -10,16 +10,18 @@ LINUX64_IXS    = ['linux64-ix-slave%02i'
 SLAVES = {
     'linux':            LINUX_VMS + LINUX_IXS,
     'linux64':          LINUX64_VMS + LINUX64_IXS,
     'win32':            WIN32_IXS,
     'win64':            WIN64_IXS,
     'macosx':           MAC_MINIS + XSERVES,
     'macosx64':         MAC_SNOW_MINIS,
     'linux-android':    LINUX_VMS + LINUX_IXS,
+    'android':          LINUX_VMS + LINUX_IXS,
+    'android-xul':      LINUX_VMS + LINUX_IXS,
     'linux-mobile':     LINUX_VMS + LINUX_IXS,
     'macosx-mobile':    MAC_MINIS + XSERVES,
     'win32-mobile':     WIN32_IXS,
 }
 
 TRY_LINUX      = ['try-linux-slave%02i' % x for x in range (1,31)]
 TRY_LINUX_IXS  = []
 TRY_LINUX64    = ['try-linux64-slave%02i' % x for x in range (1,11)]
copy from mozilla2/linux-android-debug/accessibility/nightly/mozconfig
copy to mozilla2/android-debug/accessibility/nightly/mozconfig
--- a/mozilla2/linux-android-debug/accessibility/nightly/mozconfig
+++ b/mozilla2/android-debug/accessibility/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/electrolysis/nightly/mozconfig
copy to mozilla2/android-debug/electrolysis/nightly/mozconfig
--- a/mozilla2/linux-android-debug/electrolysis/nightly/mozconfig
+++ b/mozilla2/android-debug/electrolysis/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/generic/nightly/mozconfig
copy to mozilla2/android-debug/generic/nightly/mozconfig
--- a/mozilla2/linux-android-debug/generic/nightly/mozconfig
+++ b/mozilla2/android-debug/generic/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/jaegermonkey/nightly/mozconfig
copy to mozilla2/android-debug/jaegermonkey/nightly/mozconfig
--- a/mozilla2/linux-android-debug/jaegermonkey/nightly/mozconfig
+++ b/mozilla2/android-debug/jaegermonkey/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/mozilla-aurora/nightly/mozconfig
copy to mozilla2/android-debug/mozilla-aurora/nightly/mozconfig
--- a/mozilla2/linux-android-debug/mozilla-aurora/nightly/mozconfig
+++ b/mozilla2/android-debug/mozilla-aurora/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/aurora
+ac_add_options --with-branding=mobile/android/branding/aurora
copy from mozilla2/linux-android-debug/mozilla-beta/nightly/mozconfig
copy to mozilla2/android-debug/mozilla-beta/nightly/mozconfig
--- a/mozilla2/linux-android-debug/mozilla-beta/nightly/mozconfig
+++ b/mozilla2/android-debug/mozilla-beta/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/beta
+ac_add_options --with-branding=mobile/android/branding/beta
copy from mozilla2/linux-android-debug/mozilla-central/nightly/mozconfig
copy to mozilla2/android-debug/mozilla-central/nightly/mozconfig
--- a/mozilla2/linux-android-debug/mozilla-central/nightly/mozconfig
+++ b/mozilla2/android-debug/mozilla-central/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/mozilla-release/nightly/mozconfig
copy to mozilla2/android-debug/mozilla-release/nightly/mozconfig
--- a/mozilla2/linux-android-debug/mozilla-release/nightly/mozconfig
+++ b/mozilla2/android-debug/mozilla-release/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-android-eabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk"
 ac_add_options --with-android-sdk="/tools/android-sdk/platforms/android-8"
 ac_add_options --with-android-tools="/tools/android-sdk/tools"
 ac_add_options --with-system-zlib
copy from mozilla2/linux-android-debug/shadow-central/nightly/mozconfig
copy to mozilla2/android-debug/shadow-central/nightly/mozconfig
--- a/mozilla2/linux-android-debug/shadow-central/nightly/mozconfig
+++ b/mozilla2/android-debug/shadow-central/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android-debug/try/nightly/mozconfig
copy to mozilla2/android-debug/try/nightly/mozconfig
--- a/mozilla2/linux-android-debug/try/nightly/mozconfig
+++ b/mozilla2/android-debug/try/nightly/mozconfig
@@ -1,30 +1,30 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
 
 if [ -f $topsrcdir/mozconfig-extra ] ; then
   . $topsrcdir/mozconfig-extra
 fi
-if [ -f $topsrcdir/mozconfig-extra-linux-android-debug ] ; then
-  . $topsrcdir/mozconfig-extra-linux-android-debug
+if [ -f $topsrcdir/mozconfig-extra-android-debug ] ; then
+  . $topsrcdir/mozconfig-extra-android-debug
 fi
copy from mozilla2/linux-android-debug/ux/nightly/mozconfig
copy to mozilla2/android-debug/ux/nightly/mozconfig
--- a/mozilla2/linux-android-debug/ux/nightly/mozconfig
+++ b/mozilla2/android-debug/ux/nightly/mozconfig
@@ -1,23 +1,23 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --enable-debug
 ac_add_options --disable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/accessibility/nightly/mozconfig
copy to mozilla2/android-xul/accessibility/nightly/mozconfig
--- a/mozilla2/linux-android/accessibility/nightly/mozconfig
+++ b/mozilla2/android-xul/accessibility/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly-accesibility
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/electrolysis/nightly/mozconfig
copy to mozilla2/android-xul/electrolysis/nightly/mozconfig
--- a/mozilla2/linux-android/electrolysis/nightly/mozconfig
+++ b/mozilla2/android-xul/electrolysis/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/generic/nightly/mozconfig
copy to mozilla2/android-xul/generic/nightly/mozconfig
--- a/mozilla2/linux-android/generic/nightly/mozconfig
+++ b/mozilla2/android-xul/generic/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/jaegermonkey/nightly/mozconfig
copy to mozilla2/android-xul/jaegermonkey/nightly/mozconfig
--- a/mozilla2/linux-android/jaegermonkey/nightly/mozconfig
+++ b/mozilla2/android-xul/jaegermonkey/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/mozilla-aurora/nightly/mozconfig
copy to mozilla2/android-xul/mozilla-aurora/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-aurora/nightly/mozconfig
+++ b/mozilla2/android-xul/mozilla-aurora/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=aurora
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/aurora
+ac_add_options --with-branding=mobile/xul/branding/aurora
copy from mozilla2/linux-android/mozilla-beta/nightly/mozconfig
copy to mozilla2/android-xul/mozilla-beta/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-beta/nightly/mozconfig
+++ b/mozilla2/android-xul/mozilla-beta/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/beta
+ac_add_options --with-branding=mobile/xul/branding/beta
copy from mozilla2/linux-android/mozilla-beta/release/mozconfig
copy to mozilla2/android-xul/mozilla-beta/release/mozconfig
--- a/mozilla2/linux-android/mozilla-beta/release/mozconfig
+++ b/mozilla2/android-xul/mozilla-beta/release/mozconfig
@@ -1,14 +1,14 @@
 # Global options
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=beta
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
 ac_add_options --enable-official-branding
-ac_add_options --with-branding=mobile/branding/beta
+ac_add_options --with-branding=mobile/xul/branding/beta
copy from mozilla2/linux-android/mozilla-central/nightly/mozconfig
copy to mozilla2/android-xul/mozilla-central/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-central/nightly/mozconfig
+++ b/mozilla2/android-xul/mozilla-central/nightly/mozconfig
@@ -2,17 +2,17 @@
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Mozilla-Central nightlies only since this has a cost in performance
 ac_add_options --enable-js-diagnostics
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -20,9 +20,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/mozilla-release/nightly/mozconfig
copy to mozilla2/android-xul/mozilla-release/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-release/nightly/mozconfig
+++ b/mozilla2/android-xul/mozilla-release/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk/platforms/android-8"
 ac_add_options --with-android-tools="/tools/android-sdk/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/official
+ac_add_options --with-branding=mobile/xul/branding/official
copy from mozilla2/linux-android/mozilla-release/release/mozconfig
copy to mozilla2/android-xul/mozilla-release/release/mozconfig
--- a/mozilla2/linux-android/mozilla-release/release/mozconfig
+++ b/mozilla2/android-xul/mozilla-release/release/mozconfig
@@ -1,14 +1,14 @@
 # Global options
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk/platforms/android-8"
 ac_add_options --with-android-tools="/tools/android-sdk/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=release
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
 ac_add_options --enable-official-branding
-ac_add_options --with-branding=mobile/branding/official
+ac_add_options --with-branding=mobile/xul/branding/official
copy from mozilla2/linux-android/shadow-central/nightly/mozconfig
copy to mozilla2/android-xul/shadow-central/nightly/mozconfig
--- a/mozilla2/linux-android/shadow-central/nightly/mozconfig
+++ b/mozilla2/android-xul/shadow-central/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/try/nightly/mozconfig
copy to mozilla2/android-xul/try/nightly/mozconfig
--- a/mozilla2/linux-android/try/nightly/mozconfig
+++ b/mozilla2/android-xul/try/nightly/mozconfig
@@ -1,31 +1,31 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
 
 if [ -f $topsrcdir/mozconfig-extra ] ; then
   . $topsrcdir/mozconfig-extra
 fi
-if [ -f $topsrcdir/mozconfig-extra-linux-android ] ; then
-  . $topsrcdir/mozconfig-extra-linux-android
+if [ -f $topsrcdir/mozconfig-extra-android-xul ] ; then
+  . $topsrcdir/mozconfig-extra-android-xul
 fi
copy from mozilla2/linux-android/ux/nightly/mozconfig
copy to mozilla2/android-xul/ux/nightly/mozconfig
--- a/mozilla2/linux-android/ux/nightly/mozconfig
+++ b/mozilla2/android-xul/ux/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/xul
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/xul/branding/nightly
copy from mozilla2/linux-android/accessibility/nightly/mozconfig
copy to mozilla2/android/accessibility/nightly/mozconfig
--- a/mozilla2/linux-android/accessibility/nightly/mozconfig
+++ b/mozilla2/android/accessibility/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly-accesibility
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/electrolysis/nightly/mozconfig
copy to mozilla2/android/electrolysis/nightly/mozconfig
--- a/mozilla2/linux-android/electrolysis/nightly/mozconfig
+++ b/mozilla2/android/electrolysis/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/generic/nightly/mozconfig
copy to mozilla2/android/generic/nightly/mozconfig
--- a/mozilla2/linux-android/generic/nightly/mozconfig
+++ b/mozilla2/android/generic/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/jaegermonkey/nightly/mozconfig
copy to mozilla2/android/jaegermonkey/nightly/mozconfig
--- a/mozilla2/linux-android/jaegermonkey/nightly/mozconfig
+++ b/mozilla2/android/jaegermonkey/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/mozilla-aurora/nightly/mozconfig
copy to mozilla2/android/mozilla-aurora/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-aurora/nightly/mozconfig
+++ b/mozilla2/android/mozilla-aurora/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=aurora
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/aurora
+ac_add_options --with-branding=mobile/android/branding/aurora
copy from mozilla2/linux-android/mozilla-beta/nightly/mozconfig
copy to mozilla2/android/mozilla-beta/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-beta/nightly/mozconfig
+++ b/mozilla2/android/mozilla-beta/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/beta
+ac_add_options --with-branding=mobile/android/branding/beta
copy from mozilla2/linux-android/mozilla-beta/release/mozconfig
copy to mozilla2/android/mozilla-beta/release/mozconfig
--- a/mozilla2/linux-android/mozilla-beta/release/mozconfig
+++ b/mozilla2/android/mozilla-beta/release/mozconfig
@@ -1,14 +1,14 @@
 # Global options
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=beta
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
 ac_add_options --enable-official-branding
-ac_add_options --with-branding=mobile/branding/beta
+ac_add_options --with-branding=mobile/android/branding/beta
copy from mozilla2/linux-android/mozilla-central/nightly/mozconfig
copy to mozilla2/android/mozilla-central/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-central/nightly/mozconfig
+++ b/mozilla2/android/mozilla-central/nightly/mozconfig
@@ -2,17 +2,17 @@
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Mozilla-Central nightlies only since this has a cost in performance
 ac_add_options --enable-js-diagnostics
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -20,9 +20,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/mozilla-release/nightly/mozconfig
copy to mozilla2/android/mozilla-release/nightly/mozconfig
--- a/mozilla2/linux-android/mozilla-release/nightly/mozconfig
+++ b/mozilla2/android/mozilla-release/nightly/mozconfig
@@ -1,15 +1,15 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk/platforms/android-8"
 ac_add_options --with-android-tools="/tools/android-sdk/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-android-platform=/
 ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=nightly
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/official
+ac_add_options --with-branding=mobile/android/branding/official
copy from mozilla2/linux-android/mozilla-release/release/mozconfig
copy to mozilla2/android/mozilla-release/release/mozconfig
--- a/mozilla2/linux-android/mozilla-release/release/mozconfig
+++ b/mozilla2/android/mozilla-release/release/mozconfig
@@ -1,14 +1,14 @@
 # Global options
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk/platforms/android-8"
 ac_add_options --with-android-tools="/tools/android-sdk/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
@@ -17,9 +17,9 @@ ac_add_options --with-system-zlib
 ac_add_options --enable-updater
 ac_add_options --enable-update-channel=release
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
 ac_add_options --enable-official-branding
-ac_add_options --with-branding=mobile/branding/official
+ac_add_options --with-branding=mobile/android/branding/official
copy from mozilla2/linux-android/shadow-central/nightly/mozconfig
copy to mozilla2/android/shadow-central/nightly/mozconfig
--- a/mozilla2/linux-android/shadow-central/nightly/mozconfig
+++ b/mozilla2/android/shadow-central/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
copy from mozilla2/linux-android/try/nightly/mozconfig
copy to mozilla2/android/try/nightly/mozconfig
--- a/mozilla2/linux-android/try/nightly/mozconfig
+++ b/mozilla2/android/try/nightly/mozconfig
@@ -1,31 +1,31 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
 
 if [ -f $topsrcdir/mozconfig-extra ] ; then
   . $topsrcdir/mozconfig-extra
 fi
-if [ -f $topsrcdir/mozconfig-extra-linux-android ] ; then
-  . $topsrcdir/mozconfig-extra-linux-android
+if [ -f $topsrcdir/mozconfig-extra-android ] ; then
+  . $topsrcdir/mozconfig-extra-android
 fi
copy from mozilla2/linux-android/ux/nightly/mozconfig
copy to mozilla2/android/ux/nightly/mozconfig
--- a/mozilla2/linux-android/ux/nightly/mozconfig
+++ b/mozilla2/android/ux/nightly/mozconfig
@@ -1,24 +1,24 @@
 # Global options
 mk_add_options MOZ_MAKE_FLAGS=-j4
 ac_add_options --disable-debug
 ac_add_options --enable-optimize
 
 # Build Fennec
-ac_add_options --enable-application=mobile
+ac_add_options --enable-application=mobile/android
 
 # Android
 ac_add_options --target=arm-linux-androideabi
 ac_add_options --with-endian=little
 ac_add_options --with-android-ndk="/tools/android-ndk-r5c"
 ac_add_options --with-android-sdk="/tools/android-sdk-r13/platforms/android-13"
 ac_add_options --with-android-tools="/tools/android-sdk-r13/tools"
 ac_add_options --with-android-toolchain=/tools/android-ndk-r5c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86
 ac_add_options --with-android-platform=/tools/android-ndk-r5c/platforms/android-5/arch-arm
 ac_add_options --with-system-zlib
 #ac_add_options --enable-updater
 ac_add_options --enable-debug-symbols="-gdwarf-2"
 
 export JAVA_HOME=/tools/jdk6
 export MOZILLA_OFFICIAL=1
 
-ac_add_options --with-branding=mobile/branding/nightly
+ac_add_options --with-branding=mobile/android/branding/nightly
--- a/thunderbird/config.py
+++ b/thunderbird/config.py
@@ -88,19 +88,19 @@ def makeSlaveList(platformName, isTest, 
             return ['momo-vm-linux64-%02i' % x for x in range(2,3+1) + range(5,10+1)]
     elif platformName == 'macosx':
         if isTest:
             return ['tb2-darwin9-slave%02i' % x for x in [55,56,57,58,65,67,70]]
         else:
             return ['tb2-darwin9-slave%02i' % x for x in [55,56,57,58,65,67,70]]
     elif platformName == 'macosx64':
         if isTest:
-            return [ 'tb2-darwin10-slave%02i'  % x for x in [60,61,62,63,66,69]]
+            return [ 'tb2-darwin10-slave%02i'  % x for x in [60,61,62,63,66,69]] + ['mini64-%02i' % x for x in [1]]
         else:
-            return ['momo-xserve-01'] + [ 'tb2-darwin10-slave%02i'  % x for x in [60,61,62,63,66,69]]
+            return ['momo-xserve-01'] + [ 'tb2-darwin10-slave%02i'  % x for x in [60,61,62,63,66,69]] + ['mini64-%02i' % x for x in [1]]
     elif platformName == 'win32':
         if isTest:
             return ['momo-vm-win2k3-%02i' % x for x in [1,2,4,5,6,7] + range(8,15+1) + range(17,19+1)]
         else:
             return ['momo-vm-win2k3-%02i' % x for x in [1,2,4,5,6,7] + range(8,15+1) + range(17,19+1)]
     else:
         raise Exception("Invalid platformName '%s'" % platformName)
 
--- a/thunderbird/l10n-thunderbird-changesets-beta
+++ b/thunderbird/l10n-thunderbird-changesets-beta
@@ -1,51 +1,51 @@
-ar af30edb96112
-be c62a43acbbeb
+ar 978cbc218c01
+be 447a755f50eb
 bg a720567042af
 bn-BD c4ae76a06caa
-br 56ceb0b41d55
-ca cd72399f675d
-cs a80b0e312a38
-da aa388a15dd8a
-de 3ce53855ad5c
-el 0667b3f480fe
+br 18405d67589c
+ca 7967c1997648
+cs d4f9eb0f0080
+da f859341c484d
+de 84fb8b878edf
+el 9e61695f10b7
 en-GB 4ff6a219c9f9
-es-AR cc640e41f17b
-es-ES 7a1a36ed15b5
-et 9a968cd9fa92
-eu 47529e96668c
-fi 0b45043111b4
-fr eba8078f1542
+es-AR 41e03a0531f7
+es-ES f6bd2fc3f3b8
+et 072115051fa5
+eu 33e5213d4d67
+fi bfa183a53d62
+fr bb9e69248f29
 fy-NL 74adb1f02d68
-ga-IE 8243c5e65154
-gd 9e09b1de5b33
-gl a92aeadf1a55
+ga-IE 973950b657dc
+gd 81420fc0eb53
+gl e576bd21588b
 he a9840055eb24
 hu d527730ba4b6
 id 777775e3e86b
-is f6f4426bc5fd
-it 7809551cf303
-ja 70d39424f6b7
-ja-JP-mac af8de2883a6d
+is bb21c13aa2c1
+it f32ff0cc7f9c
+ja 52eb4b5f4402
+ja-JP-mac 702855e8ffcc
 ko dda528d8e0a4
-lt 57a8a6fa4a68
-nb-NO b6d64bc72c1b
-nl 1f59fd397c1c
+lt 0a224ee83e4d
+nb-NO 66935ea58d30
+nl 7bd3a6f2c97b
 nn-NO 099cadf4d4c1
-pa-IN 7c31e55480de
-pl 2249a55dc4bb
-pt-BR 661f9fcbb6aa
-pt-PT c72435df380c
-rm 083ec6c919e8
+pa-IN 1579a219f210
+pl b26862edeb85
+pt-BR fbb1c04688e9
+pt-PT 27c02ede3d98
+rm 87afe7715e1f
 ro b4d11017e5da
-ru bec566b52f65
-si 99516e2e2ff6
-sk b5199edc1ca9
+ru d528f1a5f976
+si 2b54141c68c5
+sk 14f050e4ee69
 sl c103e2189928
-sq b9db31f068ee
-sv-SE e2b89241cb92
+sq 76968a9dce41
+sv-SE cf931df2d9c6
 ta-LK ac760aadd6ce
 tr d94e239bb2d4
-uk cc077bb7ebf8
+uk 015a9f7c9185
 vi b322bfce7d6c
-zh-CN 38928329e991
-zh-TW 85347b91295a
+zh-CN 844323267b3a
+zh-TW 7d621a95af90
new file mode 100644
--- /dev/null
+++ b/thunderbird/linux/comm-1.9.2/l10n/mozconfig
@@ -0,0 +1,8 @@
+ac_add_options --with-l10n-base=../../releases/l10n-mozilla-1.9.2
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.1.1/bin/gcc
+CXX=/tools/gcc-4.1.1/bin/g++
new file mode 100644
--- /dev/null
+++ b/thunderbird/linux/comm-beta/l10n/mozconfig
@@ -0,0 +1,8 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
new file mode 100644
--- /dev/null
+++ b/thunderbird/linux/comm-release/l10n/mozconfig
@@ -0,0 +1,8 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
new file mode 100644
--- /dev/null
+++ b/thunderbird/linux64/comm-beta/l10n/mozconfig
@@ -0,0 +1,8 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
new file mode 100644
--- /dev/null
+++ b/thunderbird/linux64/comm-release/l10n/mozconfig
@@ -0,0 +1,8 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
+
+CC=/tools/gcc-4.5/bin/gcc
+CXX=/tools/gcc-4.5/bin/g++
new file mode 100644
--- /dev/null
+++ b/thunderbird/macosx/comm-1.9.2/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n-mozilla-1.9.2
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/thunderbird/macosx64/comm-beta/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/thunderbird/macosx64/comm-release/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
--- a/thunderbird/release_master.py
+++ b/thunderbird/release_master.py
@@ -129,25 +129,25 @@ gloConfig = {
     },
     'beta': {
         'hgUsername'                 : 'tbirdbld',
         'hgSshKey'                   : '~cltbld/.ssh/tbirdbld_dsa',
         'relbranchPrefix'            : 'COMM',
         'sourceRepoName'             : 'comm-beta', # buildbot branch name
         'sourceRepoPath'             : 'releases/comm-beta',
         'oldRepoPath'                : 'releases/comm-beta',
-        'sourceRepoRevision'         : 'e8606afddbea',
+        'sourceRepoRevision'         : '808e346ecee8',
         # 'If' blank, automation will create its own branch based on COMM_<date>_RELBRANCH
-        'relbranchOverride'          : '',
+        'relbranchOverride'          : 'COMM90_20111114_RELBRANCH',
         'mozillaRepoPath'            : 'releases/mozilla-beta',
-        'mozillaRepoRevision'        : 'a1022c1524af',
+        'mozillaRepoRevision'        : '59962ec0942e',
         # 'If' blank, automation will create its own branch based on COMM_<date>_RELBRANCH
         # 'You' typically want to set this to the gecko relbranch if doing a release off
         # 'a' specific gecko version.
-        'mozillaRelbranchOverride'   : 'GECKO80_2011103118_RELBRANCH', # put Gecko relbranch here that we base upon
+        'mozillaRelbranchOverride'   : 'COMM90_20111114_RELBRANCH', # put Gecko relbranch here that we base upon
         'inspectorRepoPath'          : '', #'dom-inspector', # leave empty if inspector is not to be tagged
         'inspectorRepoRevision'      : '',
         'inspectorRelbranchOverride' : '',
         'buildToolsRepoPath'            : '', # leave empty if buildTools is not to be tagged
         'buildToolsRepoRevision'        : '',
         #buildToolsRepoRevision        : '479375734669'
         'buildToolsRelbranchOverride'   : '',
         'venkmanRepoPath'            : '', # leave empty if venkman is not to be tagged
@@ -168,27 +168,27 @@ gloConfig = {
         'brandName'                  : 'Thunderbird',
         'appName'                    : APP_NAME,
         'ftpName'                    : APP_NAME,
         # 'Sometimes' we need the application version to be different from what we "call"
         # 'the' build, eg public release candidates for a major release (3.1 RC1).
         # 'appVersion' and oldAppVersion are optional definitions used in places that
         # 'don''t care about what we call it. Eg, when version bumping we will bump to
         # 'appVersion', not version.
-        'version'                    : '8.0b5',
-        'oldVersion'                 : '8.0b4',
-        'appVersion'                 : '8.0', # no 'b1' suffix for betas
+        'version'                    : '9.0b1',
+        'oldVersion'                 : '8.0b5',
+        'appVersion'                 : '9.0', # no 'b1' suffix for betas
         'oldAppVersion'              : '8.0',
-        'buildNumber'                : 1,
-        'oldBuildNumber'             : 2,
-        'baseTag'                    : 'THUNDERBIRD_8_0b5',
-        'oldBaseTag'                 : 'THUNDERBIRD_8_0b4',
+        'buildNumber'                : 2,
+        'oldBuildNumber'             : 1,
+        'baseTag'                    : 'THUNDERBIRD_9_0b1',
+        'oldBaseTag'                 : 'THUNDERBIRD_8_0b5',
         #XXX: 'Not' entirely certain if/where this is used.
         # 'Derived' from mozillaRelbranchOverride. eg: COMM19211_20101004_RELBRANCH == 1.9.2.11
-        'milestone'                  : '8.0',
+        'milestone'                  : '9.0',
         # 'The' old version is the revision from which we should generate update snippets.
         'enable_weekly_bundle'       : True,
         'enUSPlatforms'              : ('linux', 'linux64', 'win32', 'macosx64'),
         #'l10nPlatforms'              : (),
         'xulrunnerPlatforms'         : (),
         'patcherConfig'              : 'mozBeta-thunderbird-branch-patcher2.cfg',
         'patcherToolsTag'            : 'UPDATE_PACKAGING_R15',
         'snippetSchema'              : 1,
@@ -690,16 +690,17 @@ for gloKey in gloConfig:
            'builddir': 'xulrunner_source_%s' % gloKey,
            'factory': xulrunner_source_factory
         })
     
     for platform in enUSPlatforms:
         # shorthand
         pf = nightly_config.BRANCHES[sourceRepoName]['platforms'][platform]
         mozconfig = '%s/%s/release' % (platform, sourceRepoName)
+        l10nmozconfig = '%s/%s/l10n' % (platform, sourceRepoName)
 
         if platform in unittestPlatforms:
             packageTests = True
             unittestMasters = branchConfig['unittest_masters']
             unittestBranch = 'release-%s-%s-opt-unittest_%s' % (sourceRepoName,
                                                                 platform, gloKey)
         else:
             packageTests = False
@@ -766,17 +767,17 @@ for gloKey in gloConfig:
                 stageUsername=branchConfig['stage_username'],
                 stageSshKey=branchConfig['stage_ssh_key'],
                 buildToolsRepoPath=branchConfig['build_tools_repo_path'],
                 compareLocalesRepoPath=nightly_config.COMPARE_LOCALES_REPO_PATH,
                 compareLocalesTag=nightly_config.COMPARE_LOCALES_TAG,
                 buildSpace=5,
                 configRepoPath=nightly_config.CONFIG_REPO_PATH,
                 configSubDir=nightly_config.CONFIG_SUBDIR,
-                mozconfig=mozconfig,
+                mozconfig=l10nmozconfig,
                 platform=platform,
                 buildRevision='%s_RELEASE' % baseTag,
                 version=version,
                 buildNumber=buildNumber,
                 clobberURL=branchConfig['base_clobber_url'],
                 mergeLocales=mergeLocales,
             )
 
new file mode 100644
--- /dev/null
+++ b/thunderbird/win32/comm-1.9.2/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n-mozilla-1.9.2
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/thunderbird/win32/comm-beta/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/thunderbird/win32/comm-release/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-release
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=release
+ac_add_options --enable-update-packaging
new file mode 100644
--- /dev/null
+++ b/thunderbird/win64/comm-beta/l10n/mozconfig
@@ -0,0 +1,5 @@
+ac_add_options --with-l10n-base=../../releases/l10n/mozilla-beta
+ac_add_options --enable-application=mail
+ac_add_options --enable-official-branding
+ac_add_options --enable-update-channel=beta
+ac_add_options --enable-update-packaging