Bug 1203187 - Update b2g_branch_repos.py script and config to handle b2g 2.5 branching. r=jlund DONTBUILD

This commit is contained in:
Rail Aliiev 2015-09-30 06:30:17 -04:00
parent d22ffac72e
commit 5978e611c5
2 changed files with 38 additions and 9 deletions

View File

@ -13,10 +13,19 @@ config = {
],
"no_branch_repos": [
"gecko",
# device conflict
# device conflicts
"platform_external_qemu",
"codeaurora_kernel_msm",
"platform_system_core",
"platform_hardware_ril",
"android-sdk",
"platform_external_wpa_supplicant_8",
"platform_prebuilts_misc",
"hardware_qcom_display",
"device_generic_goldfish",
"platform_frameworks_av",
"platform_frameworks_base",
"device_lge_hammerhead-kernel",
"device-hammerhead",
"android-development",
],
"extra_branch_manifest_repos": [
"gecko",
@ -24,13 +33,30 @@ config = {
],
"branch_order": [
"master",
"b2g-4.3_r2.1", # prefer jellybean over kitkat for now, since
"b2g-jellybean", # most of our builds use jb
"ics_chocolate_rb4.2", # prefer wasabi's hardware_qcom_display over
# otoro's
"foxfone-one", # prefer flame's kernel_lm ove flame-kk's
],
# outdated/unsupported devices
"ignored_manifests": [
"dolphin.xml",
"otoro.xml",
"hamachi.xml",
"helix.xml",
"keon.xml",
"peak.xml",
"galaxy-nexus.xml",
"galaxy-s2.xml",
"sony-aosp-l.xml",
"nexus-s.xml",
"pandaboard.xml",
"wasabi.xml",
"nexus-4.xml",
"flo.xml",
"nexus-4-kk.xml",
"nexus-5.xml",
"flame.xml",
"flame-l.xml",
"nexus-s-4g.xml",
"rpi.xml",
],
"exes": {
"hg": [
"hg", "--config",

View File

@ -132,6 +132,9 @@ e.g. --branch-order v2.0,master"""
if os.path.islink(manifest):
self.info("Skipping %s (softlink)" % manifest)
continue
if os.path.basename(manifest) in self.config["ignored_manifests"]:
self.info("Skipping %s (ignored)" % manifest)
continue
manifests.append(manifest)
return manifests