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

Side by Side Diff: scripts/slave/recipe_modules/chromium/api.py

Issue 941433004: Remove LSan options/suppressions from recipe configs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium/config.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 import re 5 import re
6 6
7 from slave import recipe_api 7 from slave import recipe_api
8 from slave import recipe_util 8 from slave import recipe_util
9 9
10 from . import builders 10 from . import builders
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 # local testing of recipes. Be very careful when passing this 321 # local testing of recipes. Be very careful when passing this
322 # argument. 322 # argument.
323 if master_class_name: 323 if master_class_name:
324 full_args.append('--master-class-name=%s' % master_class_name) 324 full_args.append('--master-class-name=%s' % master_class_name)
325 325
326 if (self.c.gyp_env.GYP_DEFINES.get('asan', 0) == 1 or 326 if (self.c.gyp_env.GYP_DEFINES.get('asan', 0) == 1 or
327 self.c.runtests.run_asan_test): 327 self.c.runtests.run_asan_test):
328 full_args.append('--enable-asan') 328 full_args.append('--enable-asan')
329 if self.c.runtests.enable_lsan: 329 if self.c.runtests.enable_lsan:
330 full_args.append('--enable-lsan') 330 full_args.append('--enable-lsan')
331 full_args.append('--lsan-suppressions-file=%s' %
332 self.c.runtests.lsan_suppressions_file)
333 if self.c.gyp_env.GYP_DEFINES.get('msan', 0) == 1: 331 if self.c.gyp_env.GYP_DEFINES.get('msan', 0) == 1:
334 full_args.append('--enable-msan') 332 full_args.append('--enable-msan')
335 if self.c.gyp_env.GYP_DEFINES.get('tsan', 0) == 1: 333 if self.c.gyp_env.GYP_DEFINES.get('tsan', 0) == 1:
336 full_args.append('--enable-tsan') 334 full_args.append('--enable-tsan')
337 if self.c.gyp_env.GYP_DEFINES.get('syzyasan', 0) == 1: 335 if self.c.gyp_env.GYP_DEFINES.get('syzyasan', 0) == 1:
338 full_args.append('--use-syzyasan-logger') 336 full_args.append('--use-syzyasan-logger')
339 if self.c.runtests.memory_tool: 337 if self.c.runtests.memory_tool:
340 full_args.extend([ 338 full_args.extend([
341 '--pass-build-dir', 339 '--pass-build-dir',
342 '--pass-target', 340 '--pass-target',
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 def get_compile_targets_for_scripts(self): 712 def get_compile_targets_for_scripts(self):
715 return self.m.python( 713 return self.m.python(
716 name='get compile targets for scripts', 714 name='get compile targets for scripts',
717 script=self.m.path['checkout'].join( 715 script=self.m.path['checkout'].join(
718 'testing', 'scripts', 'get_compile_targets.py'), 716 'testing', 'scripts', 'get_compile_targets.py'),
719 args=[ 717 args=[
720 '--output', self.m.json.output(), 718 '--output', self.m.json.output(),
721 '--', 719 '--',
722 ] + self.get_common_args_for_scripts(), 720 ] + self.get_common_args_for_scripts(),
723 step_test_data=lambda: self.m.json.test_api.output({})) 721 step_test_data=lambda: self.m.json.test_api.output({}))
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/chromium/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698