Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from master import gitiles_poller | 5 from master import gitiles_poller |
| 6 from master import master_config | 6 from master import master_config |
| 7 from master.factory import annotator_factory | 7 from master.factory import annotator_factory |
| 8 from master.factory import chromium_factory | |
|
Nico
2016/06/09 16:39:39
\o/
| |
| 9 | 8 |
| 10 import master_site_config | 9 import master_site_config |
| 11 | 10 |
| 12 ActiveMaster = master_site_config.ChromiumLKGR | 11 ActiveMaster = master_site_config.ChromiumLKGR |
| 13 | 12 |
| 14 defaults = {} | 13 defaults = {} |
| 15 | 14 |
| 16 helper = master_config.Helper(defaults) | 15 helper = master_config.Helper(defaults) |
| 17 B = helper.Builder | 16 B = helper.Builder |
| 18 F = helper.Factory | 17 F = helper.Factory |
| 19 S = helper.Scheduler | 18 S = helper.Scheduler |
| 20 | 19 |
| 21 def linux(): return chromium_factory.ChromiumFactory('src/build', 'linux2') | |
| 22 | |
| 23 m_annotator = annotator_factory.AnnotatorFactory() | 20 m_annotator = annotator_factory.AnnotatorFactory() |
| 24 | 21 |
| 25 defaults['category'] = '1lkgr' | 22 defaults['category'] = '1lkgr' |
| 26 | 23 |
| 27 # Global scheduler | 24 # Global scheduler |
| 28 S(name='chromium_lkgr', branch='lkgr') | 25 S(name='chromium_lkgr', branch='lkgr') |
| 29 | 26 |
| 30 ################################################################################ | 27 ################################################################################ |
| 31 ## Windows | 28 ## Windows |
| 32 ################################################################################ | 29 ################################################################################ |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 | 77 |
| 81 B('ASAN Release Media', 'linux_asan_rel_media', | 78 B('ASAN Release Media', 'linux_asan_rel_media', |
| 82 'compile', 'chromium_lkgr') | 79 'compile', 'chromium_lkgr') |
| 83 F('linux_asan_rel_media', m_annotator.BaseFactory(recipe='chromium', | 80 F('linux_asan_rel_media', m_annotator.BaseFactory(recipe='chromium', |
| 84 # We started seeing 29 minute links, bug 360158 | 81 # We started seeing 29 minute links, bug 360158 |
| 85 timeout=2400)) | 82 timeout=2400)) |
| 86 | 83 |
| 87 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') | 84 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') |
| 88 F('linux_asan_dbg', m_annotator.BaseFactory(recipe='chromium')) | 85 F('linux_asan_dbg', m_annotator.BaseFactory(recipe='chromium')) |
| 89 | 86 |
| 90 asan_chromiumos_rel_gyp = ('asan=1 lsan=1 sanitizer_coverage=edge ' | |
| 91 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 chromeos=1') | |
| 92 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', | 87 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', |
| 93 'chromium_lkgr') | 88 'chromium_lkgr') |
| 94 F('linux_chromiumos_asan_rel', linux().ChromiumASANFactory( | 89 F('linux_chromiumos_asan_rel', m_annotator.BaseFactory(recipe='chromium', |
| 95 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 | 90 # We started seeing 29 minute links, bug 360158 |
| 96 clobber=True, | 91 timeout=2400)) |
| 97 options=['--compiler=goma-clang', 'chromium_builder_asan'], | |
| 98 factory_properties={ | |
| 99 'cf_archive_build': ActiveMaster.is_production_host, | |
| 100 'cf_archive_name': 'asan', | |
| 101 'cf_archive_subdir_suffix': 'chromeos', | |
| 102 'gs_bucket': 'gs://chromium-browser-asan', | |
| 103 'gs_acl': 'public-read', | |
| 104 'gclient_env': {'GYP_DEFINES': asan_chromiumos_rel_gyp}, | |
| 105 'use_mb': True, | |
| 106 })) | |
| 107 | |
| 108 asan_ia32_v8_arm = ('asan=1 sanitizer_coverage=edge disable_nacl=1 ' | |
| 109 'v8_target_arch=arm host_arch=x86_64 target_arch=ia32 ' | |
| 110 'v8_enable_verify_heap=1 ') | |
| 111 | |
| 112 asan_ia32_v8_arm_rel = asan_ia32_v8_arm + 'enable_ipc_fuzzer=1 ' | |
| 113 | 92 |
| 114 # The build process is described at | 93 # The build process is described at |
| 115 # https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitize r#TOC-Building-with-v8_target_arch-arm | 94 # https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitize r#TOC-Building-with-v8_target_arch-arm |
| 116 B('ASan Debug (32-bit x86 with V8-ARM)', | 95 B('ASan Debug (32-bit x86 with V8-ARM)', |
| 117 'linux_asan_dbg_ia32_v8_arm', | 96 'linux_asan_dbg_ia32_v8_arm', |
| 118 'compile', 'chromium_lkgr') | 97 'compile', 'chromium_lkgr') |
| 119 F('linux_asan_dbg_ia32_v8_arm', linux().ChromiumASANFactory( | 98 F('linux_asan_dbg_ia32_v8_arm', m_annotator.BaseFactory(recipe='chromium')) |
| 120 clobber=True, | |
| 121 target='Debug', | |
| 122 options=['--compiler=goma-clang', 'chromium_builder_asan'], | |
| 123 factory_properties={ | |
| 124 'cf_archive_build': ActiveMaster.is_production_host, | |
| 125 'cf_archive_subdir_suffix': 'v8-arm', | |
| 126 'cf_archive_name': 'asan-v8-arm', | |
| 127 'gs_bucket': 'gs://chromium-browser-asan', | |
| 128 'gs_acl': 'public-read', | |
| 129 'gclient_env': {'GYP_DEFINES': asan_ia32_v8_arm}, | |
| 130 'use_mb': True, | |
| 131 })) | |
| 132 | 99 |
| 133 B('ASan Release (32-bit x86 with V8-ARM)', | 100 B('ASan Release (32-bit x86 with V8-ARM)', |
| 134 'linux_asan_rel_ia32_v8_arm', | 101 'linux_asan_rel_ia32_v8_arm', |
| 135 'compile', 'chromium_lkgr') | 102 'compile', 'chromium_lkgr') |
| 136 F('linux_asan_rel_ia32_v8_arm', linux().ChromiumASANFactory( | 103 F('linux_asan_rel_ia32_v8_arm', m_annotator.BaseFactory(recipe='chromium')) |
| 137 clobber=True, | |
| 138 options=['--compiler=goma-clang', 'chromium_builder_asan'], | |
| 139 factory_properties={ | |
| 140 'cf_archive_build': ActiveMaster.is_production_host, | |
| 141 'cf_archive_subdir_suffix': 'v8-arm', | |
| 142 'cf_archive_name': 'asan-v8-arm', | |
| 143 'gs_bucket': 'gs://chromium-browser-asan', | |
| 144 'gs_acl': 'public-read', | |
| 145 'gclient_env': {'GYP_DEFINES': asan_ia32_v8_arm_rel}, | |
| 146 'use_mb': True, | |
| 147 })) | |
| 148 | 104 |
| 149 linux_media_gyp = (' proprietary_codecs=1 ffmpeg_branding=ChromeOS') | |
| 150 B('ASan Release Media (32-bit x86 with V8-ARM)', | 105 B('ASan Release Media (32-bit x86 with V8-ARM)', |
| 151 'linux_asan_rel_media_ia32_v8_arm', | 106 'linux_asan_rel_media_ia32_v8_arm', |
| 152 'compile', 'chromium_lkgr') | 107 'compile', 'chromium_lkgr') |
| 153 F('linux_asan_rel_media_ia32_v8_arm', linux().ChromiumASANFactory( | 108 F('linux_asan_rel_media_ia32_v8_arm', |
| 154 clobber=True, | 109 m_annotator.BaseFactory(recipe='chromium')) |
| 155 options=['--compiler=goma-clang', 'chromium_builder_asan'], | |
| 156 factory_properties={ | |
| 157 'cf_archive_build': ActiveMaster.is_production_host, | |
| 158 'cf_archive_subdir_suffix': 'v8-arm', | |
| 159 'cf_archive_name': 'asan-v8-arm', | |
| 160 'gs_bucket': 'gs://chrome-test-builds/media', | |
| 161 'gclient_env': {'GYP_DEFINES': asan_ia32_v8_arm_rel + linux_media_gyp}, | |
| 162 'use_mb': True, | |
| 163 })) | |
| 164 | 110 |
| 165 # TSan bots. | 111 # TSan bots. |
| 166 B('TSAN Release', 'linux_tsan_rel', 'compile', 'chromium_lkgr') | 112 B('TSAN Release', 'linux_tsan_rel', 'compile', 'chromium_lkgr') |
| 167 F('linux_tsan_rel', m_annotator.BaseFactory(recipe='chromium')) | 113 F('linux_tsan_rel', m_annotator.BaseFactory(recipe='chromium')) |
| 168 | 114 |
| 169 B('TSAN Debug', 'linux_tsan_dbg', 'compile', 'chromium_lkgr') | 115 B('TSAN Debug', 'linux_tsan_dbg', 'compile', 'chromium_lkgr') |
| 170 F('linux_tsan_dbg', m_annotator.BaseFactory(recipe='chromium')) | 116 F('linux_tsan_dbg', m_annotator.BaseFactory(recipe='chromium')) |
| 171 | 117 |
| 172 # MSan bots. | 118 # MSan bots. |
| 173 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', | 119 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 190 | 136 |
| 191 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') | 137 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') |
| 192 F('linux_ubsan_vptr_rel', m_annotator.BaseFactory(recipe='chromium')) | 138 F('linux_ubsan_vptr_rel', m_annotator.BaseFactory(recipe='chromium')) |
| 193 | 139 |
| 194 def Update(_config, active_master, c): | 140 def Update(_config, active_master, c): |
| 195 lkgr_poller = gitiles_poller.GitilesPoller( | 141 lkgr_poller = gitiles_poller.GitilesPoller( |
| 196 'https://chromium.googlesource.com/chromium/src', | 142 'https://chromium.googlesource.com/chromium/src', |
| 197 branches=['lkgr']) | 143 branches=['lkgr']) |
| 198 c['change_source'].append(lkgr_poller) | 144 c['change_source'].append(lkgr_poller) |
| 199 return helper.Update(c) | 145 return helper.Update(c) |
| OLD | NEW |