Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: masters/master.client.v8.branches/master.cfg

Issue 952653003: Change asan_coverage(deprecated) flag to sanitizer_coverage. Enable edge-level code coverage by def… (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # ex: set syntax=python: 2 # ex: set syntax=python:
3 3
4 # Copyright 2013 The Chromium Authors. All rights reserved. 4 # Copyright 2013 The Chromium Authors. All rights reserved.
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 from buildbot.changes.filter import ChangeFilter 8 from buildbot.changes.filter import ChangeFilter
9 from buildbot.scheduler import Nightly 9 from buildbot.scheduler import Nightly
10 from buildbot.scheduler import Scheduler 10 from buildbot.scheduler import Scheduler
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 }) 134 })
135 135
136 # The identifier of the factory is the build configuration. If two factories 136 # The identifier of the factory is the build configuration. If two factories
137 # are using the same build configuration, they should have the same identifier. 137 # are using the same build configuration, they should have the same identifier.
138 138
139 linux_default_opts = ['--build-tool=make', '--src-dir=v8', 139 linux_default_opts = ['--build-tool=make', '--src-dir=v8',
140 # TODO(thakis): Remove this once v8 r18257 has reached 140 # TODO(thakis): Remove this once v8 r18257 has reached
141 # the stable branch. 141 # the stable branch.
142 '--', 'builddir_name=.'] 142 '--', 'builddir_name=.']
143 143
144 asan_rel_sym_gyp = ('asan=1 use_allocator=none v8_enable_verify_heap=1 ' 144 asan_rel_sym_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 '
earthdok 2015/02/24 16:46:14 The following options are redundant: use_allocato
145 'use_allocator=none v8_enable_verify_heap=1 '
145 'release_extra_cflags="-gline-tables-only ' 146 'release_extra_cflags="-gline-tables-only '
146 '-O2 -fno-inline-functions -fno-inline" ' 147 '-O2 -fno-inline-functions -fno-inline" ')
147 'lsan=1 asan_coverage=1')
148 148
149 f_linux_asan_rel_sym = linux().ChromiumFactory( 149 f_linux_asan_rel_sym = linux().ChromiumFactory(
150 clobber=True, 150 clobber=True,
151 options=['--compiler=goma-clang', 'chromium_builder_asan'], 151 options=['--compiler=goma-clang', 'chromium_builder_asan'],
152 factory_properties={ 152 factory_properties={
153 'primary_repo': 'v8_', 153 'primary_repo': 'v8_',
154 'cf_archive_build': ActiveMaster.is_production_host, 154 'cf_archive_build': ActiveMaster.is_production_host,
155 'cf_archive_name': 'asan-symbolized', 155 'cf_archive_name': 'asan-symbolized',
156 'gs_bucket': 'gs://v8-asan', 156 'gs_bucket': 'gs://v8-asan',
157 'gs_acl': 'public-read', 157 'gs_acl': 'public-read',
158 'gclient_env': { 158 'gclient_env': {
159 'GYP_DEFINES': asan_rel_sym_gyp, 159 'GYP_DEFINES': asan_rel_sym_gyp,
160 }, 160 },
161 'no_gclient_revision': True, 161 'no_gclient_revision': True,
162 'revision_dir': 'v8', 162 'revision_dir': 'v8',
163 'safesync_url': 'http://chromium-status.appspot.com/lkgr', 163 'safesync_url': 'http://chromium-status.appspot.com/lkgr',
164 }) 164 })
165 165
166 f_linux_asan_dbg = linux().ChromiumFactory( 166 f_linux_asan_dbg = linux().ChromiumFactory(
167 target='Debug', 167 target='Debug',
168 clobber=True, 168 clobber=True,
169 options=['--compiler=goma-clang', 'chromium_builder_asan'], 169 options=['--compiler=goma-clang', 'chromium_builder_asan'],
170 factory_properties={ 170 factory_properties={
171 'primary_repo': 'v8_', 171 'primary_repo': 'v8_',
172 'cf_archive_build': ActiveMaster.is_production_host, 172 'cf_archive_build': ActiveMaster.is_production_host,
173 'cf_archive_name': 'asan', 173 'cf_archive_name': 'asan',
174 'gs_bucket': 'gs://v8-asan', 174 'gs_bucket': 'gs://v8-asan',
175 'gs_acl': 'public-read', 175 'gs_acl': 'public-read',
176 'gclient_env': { 176 'gclient_env': {
177 'GYP_DEFINES': ('asan=1 lsan=1 asan_coverage=1 ' 177 'GYP_DEFINES': ('asan=1 lsan=1 sanitizer_coverage=3 '
178 'use_allocator=none v8_optimized_debug=1'), 178 'use_allocator=none v8_optimized_debug=1'),
179 }, 179 },
180 'no_gclient_revision': True, 180 'no_gclient_revision': True,
181 'revision_dir': 'v8', 181 'revision_dir': 'v8',
182 'safesync_url': 'http://chromium-status.appspot.com/lkgr', 182 'safesync_url': 'http://chromium-status.appspot.com/lkgr',
183 }) 183 })
184 184
185 asan_x64_v8_arm64 = ('asan=1 asan_coverage=1 use_allocator=none disable_nacl=1 ' 185 asan_x64_v8_arm64 = ('asan=1 lsan=1 sanitizer_coverage=3 '
earthdok 2015/02/24 16:46:14 Same as above. Also, why disable_nacl=1 here?
186 'use_allocator=none disable_nacl=1 '
186 'v8_target_arch=arm64 host_arch=x86_64 target_arch=x64 ' 187 'v8_target_arch=arm64 host_arch=x86_64 target_arch=x64 '
187 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1') 188 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1')
188 asan_x64_v8_arm64_rel_sym = ('%s release_extra_cflags="-gline-tables-only -O1 ' 189 asan_x64_v8_arm64_rel_sym = ('%s release_extra_cflags="-gline-tables-only -O1 '
189 '-fno-inline-functions -fno-inline"' % 190 '-fno-inline-functions -fno-inline"' %
190 asan_x64_v8_arm64) 191 asan_x64_v8_arm64)
191 192
192 f_linux_asan_arm64_rel_sym = linux().ChromiumFactory( 193 f_linux_asan_arm64_rel_sym = linux().ChromiumFactory(
193 clobber=True, 194 clobber=True,
194 options=['--compiler=goma-clang', 'chromium_builder_asan'], 195 options=['--compiler=goma-clang', 'chromium_builder_asan'],
195 factory_properties={ 196 factory_properties={
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 lookup=master_utils.FilterDomain()) 505 lookup=master_utils.FilterDomain())
505 c['status'].append(mn) 506 c['status'].append(mn)
506 507
507 # Adjust the buildCaches to be 3x the number of slaves per builder. 508 # Adjust the buildCaches to be 3x the number of slaves per builder.
508 c['autoBuildCacheRatio'] = 3 509 c['autoBuildCacheRatio'] = 3
509 510
510 ####### PROJECT IDENTITY 511 ####### PROJECT IDENTITY
511 512
512 c['projectName'] = ActiveMaster.project_name 513 c['projectName'] = ActiveMaster.project_name
513 c['projectURL'] = config.Master.project_url 514 c['projectURL'] = config.Master.project_url
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698